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)
> [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.
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.