[AMaViS-user] Multiple notify_virus_recips_templ files

This is a discussion on [AMaViS-user] Multiple notify_virus_recips_templ files within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; The powers that be would like to send customised virus notification based on which OEM brand the customer belongs 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 03-31-2008
Jorgen Lundman
 
Posts: n/a
Default [AMaViS-user] Multiple notify_virus_recips_templ files


The powers that be would like to send customised virus notification
based on which OEM brand the customer belongs to. Naturally one solution
would be to run multiple amavisd processes on the servers, on different
ports, and hence different amavis.conf files.

But I do not mind fiddling with the sources to perhaps find a better
way. As we use LDAP for our backend, I was planning to include
additional attributes from which I can detect the customers' brand.
(lets say GroupID as an example).

Can anyone think of a way to then specify a different
notify_virus_recips_templ based on this?

I'm guessing that this is probably a little bit of a special case. One
idea would be to define a $group variable and allow it to be used with
notify_virus_recips_templ="notify_$group.txt", but I would then need to
delay loading of the template file until it was required.

Perhaps there are better solutions to gain the feature that they want?

Lund

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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216...et/marketplace
_______________________________________________
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 07:03 AM.


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