How to solve Gmail Bad Syntax address on webmin

My virtualmin server does not recieve mail. The messages bounces back to the sending server. A part of the message says:

<> (expanded from <>):      bad address syntax.  

I have checked my postfix configuration and tried to correct things but yet nothing seems to work.

This is the output from postconf -n

postconf: warning: /etc/postfix/ undefined parameter: mua_sender_restrictions postconf: warning: /etc/postfix/ undefined parameter: mua_client_restrictions postconf: warning: /etc/postfix/ undefined parameter: mua_helo_restrictions alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases allow_percent_hack = no append_dot_mydomain = yes biff = no broken_sasl_auth_clients = yes compatibility_level = 2 home_mailbox = Maildir/ inet_protocols = all mailbox_command = /usr/bin/procmail-wrapper -o -a $  DOMAIN -d $  LOGNAME mailbox_size_limit = 0 milter_default_action = accept milter_protocol = 2 mydestination = $  myhostname, localhost.$  mydomain, localhost, $  mydomain mydomain = myhostname = mynetworks = [::ffff:]/104 [::1]/128 mynetworks_style = subnet myorigin = /etc/mailname non_smtpd_milters = inet:localhost:8891 readme_directory = no recipient_delimiter = + sender_bcc_maps = hash:/etc/postfix/bcc smtp_tls_security_level = may smtp_tls_session_cache_database = btree:$  {data_directory}/smtp_scache smtpd_banner = $  myhostname ESMTP $  mail_name (Ubuntu) smtpd_error_sleep_time = 1s smtpd_hard_error_limit = 20 smtpd_milters = inet:localhost:8891 smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_policy_service, unix:private/policy-spf smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination smtpd_sasl_auth_enable = yes smtpd_sasl_security_options = noanonymous smtpd_soft_error_limit = 10 smtpd_tls_CAfile = /etc/postfix/ smtpd_tls_cert_file = /etc/postfix/postfix.cert.pem smtpd_tls_key_file = /etc/postfix/postfix.key.pem smtpd_tls_security_level = may smtpd_tls_session_cache_database = btree:$  {data_directory}/smtpd_scache smtpd_use_tls = yes virtual_alias_maps = hash:/etc/postfix/virtual 

How can i reset my Gmail password from inbuilt Google settings of android if 2FA is enabled? [on hold]

I’ve recently changed my gmail password and now i forgot password before this time i was able to reset it by OTP that Google sent to my number for verification but this time i enabled 2FA and Google asking some more steps to verify like when is my account was created.

I submitted all the things together with an email address to reach me but at the last it shows ‘Google couldn’t verify it’s you’.

Please, Is there any solution and steps where i can change this in my Google App for android ?

My account don’t have any recovery email, it includes only phone number for verification.

Gmail Spam/Phishy classification not recognized by

I am running into an undesired scenario where incoming mail on gmail web interface is properly categorized as spam/phishing, however if the user employs any mail client (ie, outlook) – the same message categorization is not applied.

In hopes of curbing this, I was hoping to have gmail add custom headers to junk categorized mail, such that I can act on those headers at mail client level.

I have tried configuring a default routing rule on Gmail to add ‘x-gm-spam’ and ‘x-gm-phishy’ headers for downstream mail servers. I still do not see these inserted.

Can someone please let me know if you know a workaround to protect users who dont use the http gmail client from spam?

In Gmail, how can I find the oldest message from a person?

I want to find the first message that a specific person sent me, but I don’t know when that was – except that it was ages ago. I know I can use the search operator from:janedoe but the result is listed in reverse chronological order and the page indicator says 1-20 of hundreds.

Do I have to click “next page” fifty times, or is there another way to find out?

Gmail autocomplete — how to clear contact suggestions when composing a new message?

When I compose a new message in Gmail on my Android phone I’m offered several suggestions for the recipient (i.e. for the email’s To: field) via an autocomplete function. These are often very old/unknown contacts which I’d like to no longer see as autocomplete suggestions, but I can’t yet work out how to clear this list.

The contacts suggested appear to have come from an old list of “Other” contacts, i.e. people that I’ve contacted infrequently and who were not actual contacts I’ve added to my contact list. These only show up when I compose a new message in Gmail on my phone, and the autocomplete works as expected when on a non-Android device (laptop).

My assumption is that the Gmail autocomplete function is reading these outdated contacts from a list stored somewhere in a file on my phone which is impervious to the contact sync process or somehow not being cleared as expected otherwise — I’ve tried all manner of syncing phone contacts, deleting old/other contacts outside of Android, etc. but no joy so far.

An idea I have is to somehow search Android’s filesystem for a file that contains the unwanted contacts and if found then wipe that file clean. Is this reasonable, and if so can anyone suggest guidance that’ll make this less of a wild goose chase?

My phone details:

Model: Nexus 5X Android version: 7.1.2 Baseband version: M8994F- Kernel version: 3.10.73-ge570678 Build version: N2G47F 

Thanks in advance for any help or insight.

Python send my e-email to gmail, but not send to outlook or work address

My python code send a e-mail from my work aaddress to my gmail address, but they not send to any outlook address or work address. When I send the email it appears in the sent box, regardless of whether it was delivered or not.

import smtplib import mimetypes import email import email.mime.application from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText from email.mime.image import MIMEImage  _from = '' _pass = 'pass'   _to = ['','']  msg = email.mime.multipart.MIMEMultipart() msg['Subject'] = 'Test' msg['From'] = '' msg['To'] = ", ".join(_to)  body = MIMEText('Hi, this is a test email.<br><img src="cid:image"> <br>Thanks!.', 'html') msg.attach(body)  fp = open('C:/Users/renan.p.costa/img.png', 'rb') image = MIMEImage( fp.close() image.add_header('Content-ID', '<image>') msg.attach(image)  file='C:/Users/renan.p.costa/file.xlsx' _filename='file.xlsx' fp=open(file,'rb') excelfile = email.mime.application.MIMEApplication(,_subtype="xlsx") fp.close() anexo.add_header('Content-Disposition','attachment',filename=_filename) msg.attach(excelfile)  s = smtplib.SMTP('', 587) s.ehlo() s.starttls() s.login(_from,_pass) s.sendmail(msg['From'],msg['To'], msg.as_string()) s.quit()