[AMaViS-user] Customised original recipient

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


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2007
Jorgen Lundman
 
Posts: n/a
Default [AMaViS-user] Customised original recipient


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/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 02:11 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0