Jorgen, > We have a server with two names, "name1" and name2". (Used to originally > be two hardware boxes, but they were merged). > So the box is named "named1", and has "named2" as alias. ... ... > What does not work, is that the notify recipient email on virus. > For some reason, the To: is always written as "[EMAIL PROTECTED]".
That is correct. Notifications are independent message, not a modified original mail. Notifications are always sent directly to a recipient, whose address is taken directly form the envelope recipient address and that address is also placed in a To header field as the only address (which is not necessarily the same as the contents of a To header field of the original message, which could be for example an address of a maling list, or long list of recipients, not necessarily including the recipient to which a notifications is being sent). > To: [? %#T |undisclosed-recipients: ;|[<%T>|, ]] > test %T . %R . %D > Results in: > To: [EMAIL PROTECTED] > test [EMAIL PROTECTED] . [EMAIL PROTECTED] . %R is also a list of original _envelope_ recipient addresses. > How can we get the real original TO? You can't, without hacking the code. > Why is it over-writing it. Generating it, not over-writing. > Amusingly, if I look in the quarantine email, it has "To: [EMAIL PROTECTED]". The quarantined mail contains original message, modified as little as possible (just a few header fields prepended). Mark ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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/
