Question

Postfix error loop every two minutes

  • Posted on January 27, 2014
  • hopilandAsked by hopiland

Hi, I’ve been configuring postfix and have done some successful testing, but messed up somehow with a test email. Below are five lines from a looping entry in /var/log/mail.log that are repeating every two minutes. I have stopped postfix for an hour and restarted. I’ve used ‘ps aux’ to identify and kill every postfix process. I’ve emptied the queue with ‘postsuper -d ALL’. Whatever is happening here, I cannot find a way to kill it, and it has been going on for two days. Any ideas? Thanks in advance!

Jan 27 00:52:15 localhost postfix/smtpd[4450]: connect from mydomain.org[192.22.222.22]

Jan 27 00:52:15 localhost postfix/smtpd[4450]: NOQUEUE: reject_warning: RCPT from mydomain.org[192.22.222.22]: 504 5.5.2 <localhost>: Helo command rejected: need fully-qualified hostname; from=testing@gmail.com to=testing@gmail.com proto=SMTP helo=<localhost>

Jan 27 00:52:15 localhost postfix/smtpd[4450]: NOQUEUE: reject: RCPT from kampot.org[192.81.222.83]: 554 5.7.1 testing@gmail.com: Relay access denied; from=testing@gmail.com to=testing@gmail.com proto=SMTP helo=<localhost>

Jan 27 00:52:15 localhost postfix/smtpd[4450]: lost connection after RCPT from mydomain.org[192.22.222.22]

Jan 27 00:52:15 localhost postfix/smtpd[4450]: disconnect from mydomain.org[192.22.222.22]


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

This page looks good: <br>https://wiki.gentoo.org/wiki/Postfix <br> <br>But this hopeful tidbit of advice didn’t work: <br> <br>Soft bounce decreases the chances of endless bounce loops caused by an invalid email setup. <br> <br>To enable soft bouncing, add this to your main.cf: <br> <br>soft_bounce = yes <br> <br>

Some approaches I’ve tried: <br> <br># reconfigure postfix <br> dpkg-reconfigure postfix <br> <br># check postfix configuration <br> postconf -n <br> <br># verify DNS mail host setup <br> host mail.domain.org <br> <br># verify reverse DNS mail host setup <br> host 192.22.222.22 <br> <br># delete postfix queues <br> postsuper -d ALL <br> <br># postfix debuggin info <br> https://rtcamp.com/tutorials/mail/postfix-debugging/ <br> http://mxtoolbox.com <br> http://www.allaboutspam.com/email-server-test/ <br> <br># run postconf -n <br> <br>alias_database = hash:/etc/aliases <br>alias_maps = hash:/etc/aliases <br>append_dot_mydomain = no <br>biff = no <br>config_directory = /etc/postfix <br>home_mailbox = Maildir/ <br>inet_interfaces = all <br>inet_protocols = all <br>mailbox_size_limit = 0 <br>mydestination = $myhostname, localhost, localhost.localdomain, localhost <br>myhostname = domain.org <br>mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 <br>myorigin = /etc/mailname <br>queue_directory = /var/spool/postfix <br>readme_directory = no <br>recipient_delimiter = + <br>relayhost = <br>smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache <br>smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) <br>smtpd_delay_reject = yes <br>smtpd_helo_required = yes <br>smtpd_helo_restrictions = permit_mynetworks, warn_if_reject, reject_non_fqdn_hostname, reject_invalid_hostname, permit <br>smtpd_recipient_restrictions = reject_unauth_pipelining, reject_non_fqdn_recipient, reject_unknown_recipient_domain, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_rbl_client relays.ordb.org, reject_rbl_client sbl-xbl.spamhaus.org, permit <br>smtpd_sender_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_sender, reject_unknown_sender_domain, permit <br>smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem <br>smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key <br>smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache <br> <br>

Can anyone suggest where else I can get support / help with this issue? The error is repeating 720 times a day. Digital Ocean support does not respond only to send an automated email suggesting to post to this community, and there has been no support through the community pages. Are there other places to go to find customer support ? I have searched the Internet for two days trying to find a solution. Is there anyone who works with digitalocean who can at least acknowledge that they have read this request? Please?