Mathias,

> is there a chance to use the %T in template-virus-recipient.txt?
>
> In my case (amavisd-new-20030616-06) it seems to be empty and so I get
> always an undisclosed-recipents entry in my To:-header.
>
> | To: [? %#T |undisclosed-recipients: ;|[<%T>, ]]

This was made available in 20030616-p9:

- nicety: in virus recipient notifications now supply the To: header field
  with the true recipient address instead of "undisclosed-recipients:;"
  in case of single-recipient mail; suggested by several people;

@@ -6107,2 +6147,4 @@
            $mybuiltins{'f'} = $hdrfrom_notify_admin;
+           $mybuiltins{'T'} = [quote_rfc2821_local($locals[0])]  # 'To:'
+               if @locals==1 && $locals[0] ne '';
            $notification->mail_text(string_to_mime_entity(

Mark


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
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/

Reply via email to