This is a discussion on [AMaViS-user] Customised original recipient within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; amavisd-new-2.4.3 We have a server with two names, "name1" and name2". (Used to ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
amavisd-new-2.4.3 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. When sending email to "user@name2", the email is sent to the Amavisd server, then back again. Everything works, and naturally we get headers mentioning "name1", but that is acceptable as it is just headers. What does not work, is that the notify recipient email on virus. For some reason, the To: is always written as "user@name1". Using: $notify_virus_recips_templ= read_text("$MYHOME/notify_virus_recipSJIS.txt", 'iso -2022-jp'); ------------------ To: [? %#T |undisclosed-recipients: ;|[<%T>|, ]] test %T . %R . %D ------------------ Results in: ---------------------------- To: user@name1 test user@name1 . user@name1 . ---------------------------- How can we get the real original TO? Why is it over-writing it. Amusingly, if I look in the quarantine email, it has "To: user@name2". -- Jorgen Lundman | <lundman@lundman.net> Unix Administrator | +81 (0)3 -5456-2687 ext 1017 (work) Shibuya-ku, Tokyo | +81 (0)90-5578-8500 (cell) Japan | +81 (0)3 -3375-1767 (home) ------------------------------------------------------------------------- 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?p...rge&CID=DEVDEV _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/...fo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|