Answer the question
In order to leave comments, you need to log in
IRedMail (postfix) not sending mail?
Mail comes to the server, but it does not teach anywhere to write.
the server is on nat, port 25 tcp will be forwarded to it. There are mx records in dns.
When I try to send a letter (via the web interface) to gmail, the log says:
Apr 2 18:21:49 mail postfix/smtp[3093]: connect to gmail-smtp-in.l.google.com[173.194.71.26]:25: Connection timed out
Apr 2 18:21:49 mail postfix/smtp[3092]: connect to gmail-smtp-in.l.google.com[173.194.71.26]:25: Connection timed out
Apr 2 18:21:49 mail postfix/smtp[3094]: connect to gmail-smtp-in.l.google.com[173.194.71.26]:25: Connection timed out
Apr 2 18:22:10 mail postfix/smtp[3092]: connect to alt1.gmail-smtp-in.l.google.com[173.194.64.26]:25: Connection timed out
Apr 2 18:22:10 mail postfix/smtp[3093]: connect to alt1.gmail-smtp-in.l.google.com[173.194.64.26]:25: Connection timed out
Apr 2 18:22:10 mail postfix/smtp[3094]: connect to alt1.gmail-smtp-in.l.google.com[173.194.64.26]:25: Connection timed out
Apr 2 18:22:31 mail postfix/smtp[3092]: connect to alt2.gmail-smtp-in.l.google.com[74.125.133.26]:25: Connection timed out
Apr 2 18:22:31 mail postfix/smtp[3093]: connect to alt2.gmail-smtp-in.l.google.com[74.125.133.26]:25: Connection timed out
Apr 2 18:22:31 mail postfix/smtp[3094]: connect to alt2.gmail-smtp-in.l.google.com[74.125.133.26]:25: Connection timed out
Apr 2 18:22:52 mail postfix/smtp[3092]: connect to alt3.gmail-smtp-in.l.google.com[74.125.130.26]:25: Connection timed out
Apr 2 18:22:52 mail postfix/smtp[3093]: connect to alt3.gmail-smtp-in.l.google.com[74.125.130.26]:25: Connection timed out
Apr 2 18:22:52 mail postfix/smtp[3094]: connect to alt3.gmail-smtp-in.l.google.com[74.125.130.26]:25: Connection timed out
Apr 2 18:23:13 mail postfix/smtp[3092]: connect to alt4.gmail-smtp-in.l.google.com[173.194.76.26]:25: Connection timed out
Apr 2 18:23:13 mail postfix/smtp[3094]: connect to alt4.gmail-smtp-in.l.google.com[173.194.76.26]:25: Connection timed out
Apr 2 18:23:13 mail postfix/smtp[3093]: connect to alt4.gmail-smtp-in.l.google.com[173.194.76.26]:25: Connection timed out
Answer the question
In order to leave comments, you need to log in
Well, it is logical that port 25 is closed on the firewall either on the Debian itself, or on the router, or at the provider.
Just test telnet ip 25
Open the port and you will be happy.
see if you are blacklisted on the Internet, for example here mxtoolbox.com/blacklists.aspx
In general, the smtpl server can ignore you, this is due to different policies of the host company, for example, workload, antispam
Your mailer in this case should put the letter on resend at some interval to poll for availability and send if successful.
Try to connect from the server telnet 74.125.130.26 25 - if the letters are not visible, then there is a problem with the network / firewall - then you need to dig somewhere else.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question