HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   postfix: sender non-delivery notifications go to root, not the sender (http://www.howtoforge.com/forums/showthread.php?t=49839)

vmos 3rd November 2010 13:38

postfix: sender non-delivery notifications go to root, not the sender
 
Hi there, I'm porting a couple of our anti-virus servers from debian lenny to ubuntu 10.04.

On the old server, if you send a virus, it stuffs the mail in a black hole somewhere and then sends notification to the sender.

What I'd really like it to do is send a message to the intended recipient but right now the new server sends the notification to the root user.

I can't figure out why this is happening, I've got the same aliases, postfix, amavis, clamav and spamassassin configs.
I've run newaliases and rebooted about a billion times

any suggestions?

vmos 3rd November 2010 15:21

I seem to have figured it out, but I don't quite understand it.

In my amavis/conf.d/20_debian_defaults, on the debian server I have this line

$final_virus_destiny = D_DISCARD;

according to this page
http://www200.pair.com/mecham/spam/a...-settings.html

that means it should dump the mail and tell no-one, however it dumps the mail and tells the sender

On the ubuntu server, D_Discard behaves as it should (IE, telling no-one) so I've changed that to D_BOUNCE and now the sender is getting notifications.

Anyway, does anyone have an idea about how to send notifications to the reicipient?


All times are GMT +2. The time now is 11:31.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.