Hello everybody! I have a multi-server setup, where is the Webserver are on the machine1 and the MTA is on the machine2. Roundcube is deployed on the machine1, it uses directly the machine2 as SMTP. But, when i send a mail from Roundcube or desktop clients over the machine2, gmail mark the e-mails as spam. I have the DKIM, spf configured on the domain, but it is still spam. I have no more idea, why make this mistake. Somebody else maybe? Thank You! Regards, Feri
1) Check the dns of the hostname and ensure that the hostname of the server is set also as hostname in postfix main.cf. 2) Check the reverse dns record of your IP, it must match the hostname. 3) Check that your server IP is not on any blacklists.
1) It is equal. 2) It is match. 3) It is a fresh IP, but i already checked it, and did not listed. So, the domain is fsociety.hu. The Webserver is vps2.exahost.eu, and the mail server is vps3.exahost.eu. I tested on more receiver mail servers (with assp proxy, Oiffce365), only gmail mark as spam of any sender from this domain. Thank You! Regards, Feri
What do the message headers look like on a message coming via roundcube -> mail server -> somewhere? Check if there is an "Authenticated sender: [email protected]" added in the Received headers, and if not, make sure roundcube is sending authenticated with: Code: $config['smtp_user'] = '%u'; $config['smtp_pass'] = '%p'; And that postfix is adding that to the Received header (smtpd_sasl_authenticated_header=yes)
You could try using the following email checker service - it will show you any issues it sees with your mails so might be worth a quick check to see what it says: https://www.mail-tester.com