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)
[email protected]
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))
[email protected]
-- 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