From: "motty.cruz" on 15 Jul 2010 17:42 Hello, I'm using two instances of postfix and lately I've been getting a lot of deferred email, any suggestions how to stop accepting email that can't be delivered. I do have local recipients table, server should not accept email that can't be deliver. Please help! host# perl check_outmail -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- CC858A1091 4664 Thu Jul 15 12:58:42 MAILER-DAEMON (connect to forum.ituin.org[69.43.160.175]:25: Connection refused) mavnkat(a)forum.ituin.org 49735A109F 4663 Thu Jul 15 13:16:52 MAILER-DAEMON (host offworldventures.com[216.97.232.215] said: 451 Temporary local problem - please try later (in reply to RCPT TO command)) adowens(a)offworldventures.com -- 10 Kbytes in 2 Requests. Host# postconf -n local_recipient_maps = hash:/usr/local/etc/postfix/userdb, hash:/usr/local/etc/postfix/uservirt mail_owner = postfix mailq_path = /usr/local/bin/mailq manpage_directory = /usr/local/man message_size_limit = 50000000 mydestination = example.com, example2.com, example3.com myhostname = host.example.com mynetworks = 127.0.0.0/8, myorigin = example.com newaliases_path = /usr/local/bin/newaliases queue_directory = /var/spool/postfix readme_directory = no relay_domains = hash:/usr/local/etc/postfix/relay_domains sample_directory = /usr/local/etc/postfix sendmail_path = /usr/local/sbin/sendmail setgid_group = maildrop smtpd_banner = host.example.com smtpd_error_sleep_time = 0 smtpd_helo_required = yes smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_invalid_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unknown_sender_domain, reject_unknown_recipient_domain, smtpd_sender_restrictions = hash:/usr/local/etc/postfix/access unknown_address_reject_code = 554 unknown_client_reject_code = 554 unknown_hostname_reject_code = 554 unknown_local_recipient_reject_code = 550 unverified_recipient_reject_code = 550 unverified_sender_reject_code = 550
From: Victor Duchovni on 15 Jul 2010 18:32 On Thu, Jul 15, 2010 at 02:42:17PM -0700, motty.cruz wrote: > Hello, > I'm using two instances of postfix and lately I've been getting a lot of > deferred email, any suggestions how to stop accepting email that can't be > delivered. I do have local recipients table, server should not accept email > that can't be deliver. Please help! > > host# perl check_outmail > -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- > CC858A1091 4664 Thu Jul 15 12:58:42 MAILER-DAEMON > (connect to forum.ituin.org[69.43.160.175]:25: Connection > refused) > mavnkat(a)forum.ituin.org > > 49735A109F 4663 Thu Jul 15 13:16:52 MAILER-DAEMON > (host offworldventures.com[216.97.232.215] said: 451 Temporary local problem > - please try later (in reply to RCPT TO command)) > adowens(a)offworldventures.com > > -- 10 Kbytes in 2 Requests. Two deferred bounces is "a lot"??? You need to read the bounce messages (use postcat -q) to see what undeliverable mail failed, how it got to you and where it was found undeliverable). > > local_recipient_maps = hash:/usr/local/etc/postfix/userdb, > hash:/usr/local/etc/postfix/uservirt This covers local(8) recipients for domains listed in $mydestination. > mydestination = example.com, example2.com, example3.com > relay_domains = hash:/usr/local/etc/postfix/relay_domains You also have "relay_domains", but no "relay_recipient_maps", so you are accepting bouncing invalid recipients in these domains. -- Viktor.
|
Pages: 1 Prev: TROUBLE in process_request: Error writing a SMTP response tothe socket Next: Best Practise |