> Hi all, > > On my Debian box, I've got postfix, postfix-mysql and postfix-pcre > (2.3.8-2+b1) all installed from packages. I've also got > amavisd-new (2.4.2-5), and ClamAV (0.90.2-1). What I'm > trying to do is pretty > standard: filter all incoming mail through amavisd, then > deliver "good" emails to either local or virtual accounts. > > What I see is that if a mail comes in for "[EMAIL PROTECTED]", > where virtual.com is a domain on my system but where "foo" is > not a valid user, the email gets left in the postfix queue > with a message like: > > 45DAF28143 3568 Fri Apr 27 03:26:57 MAILER-DAEMON > (host 127.0.0.1[127.0.0.1] said: 450 4.1.1 Failed, > id=24239-09-6, from MTA([127.0.0.1]:10025): 450 4.1.1 > <[EMAIL PROTECTED]>: Recipient address rejected: User unknown > in virtual mailbox table (in reply to end of DATA command))
You have soft_bounce = yes, which generates a temporary failure code. This is fine for debugging and catching what would be permanent bounces while you work out the kinks. > > The messages pile up in the postfix queue and aren't ever > deleted or bounce back. I think it's because postfix is > trying to bounce them back to Amavis (?), but I'm not sure. > What I'm I doing wrong? Servers will continue to retry delivery of a 450 temp failure, by default, 5 days. > > Frankly, if it is possible to check for non-existing accounts > first, then send the message through Amavis, that would be preferable. Yes, and you should. Recipient validation should occur before accepting the message and passing to the content filter. After that, its too late - you've already accepted the message, so all you could do is bounce it (and for almost all spam, you become a backscatter source). > > Here is my postconf output, plus the relevant parts of my > master.cf file. Let me know if I should post any other info. > Thanks in advance! > Please send output of postconf -n, which provides only the non-default settings. There is too much to look through below. MrC > master.cf > > # > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
