Page 1 of 1

Cant send mail but recive is fine [AWS]

Posted: Tue Mar 13, 2018 4:28 pm
by zatorck
Hello,

I've been looking for my problem in Vesta Forum. I found some informations, but stil sending mail doesnt work.

1. My IP isnt on any black list
2. I turned Off ipv6, spamassasin and clamd in exim configuration like this:

Code: Select all

SPAMASSASSIN = no
SPAM_SCORE = 50
CLAMD =  no

disable_ipv6=true

Mail are not sending from:
1. PHP mail() and Wordpress
2. Roundcube

In roundcube I got following error, while sending to gmail:

Code: Select all

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

 ***@gmail.com
    host alt2.gmail-smtp-in.l.google.com [108.177.14.26]
    SMTP error from remote mail server after pipelined end of data:
    550-5.7.1 [52.210.16.21       7] Our system has detected that this message is
    550-5.7.1 likely unsolicited mail. To reduce the amount of spam sent to Gmail,
    550-5.7.1 this message has been blocked. Please visit
    550-5.7.1  https://support.google.com/mail/?p=UnsolicitedMessageError
    550 5.7.1  for more information. b10si20481ljd.189 - gsmtp
    
    Reporting-MTA: dns; bobcars.pl

Action: failed
Final-Recipient: rfc822;***@gmail.com
Status: 5.0.0
Remote-MTA: dns; alt2.gmail-smtp-in.l.google.com
Diagnostic-Code: smtp; 550-5.7.1 [52.210.16.21       7] Our system has detected that this message is
 550-5.7.1 likely unsolicited mail. To reduce the amount of spam sent to Gmail,
 550-5.7.1 this message has been blocked. Please visit
 550-5.7.1  https://support.google.com/mail/?p=UnsolicitedMessageError
 550 5.7.1  for more information. b10si20481ljd.189 - gsmtp
    
While im sending to another (polish o2.pl)

Code: Select all

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  [email protected]
    all hosts for 'o2.pl' have been failing for a long time (and retry time not reached)
Reporting-MTA: dns; bobcars.pl

Action: failed
Final-Recipient: rfc822;[email protected]
Status: 5.0.0
Can any1 help me pls?

Re: Cant send mail but recive is fine [AWS]

Posted: Thu Mar 15, 2018 3:00 am
by rebeltg
AWS restricts their IPs by default. You need to provision an Elastic IP for your server and then complete the form here:
https://aws.amazon.com/forms/ec2-email- ... hcode=true. After that they'll email you when they've made the changes and things should work. Good luck!

Re: Cant send mail but recive is fine [AWS]

Posted: Fri Mar 16, 2018 10:47 am
by zatorck
This works! Thank you very much :)