Peter wrote:

> Hi,

> I have a question. We have a mailgateway that runs amavisd-new with 
> sendmail-milter for a domain and a subdomain. What I was wondering is if 
> it is possible to split the spam-admin Mails into two groups

> spam to example.com evokes notification to [EMAIL PROTECTED]
> spam to sub,example.com evokes notification to [EMAIL PROTECTED]

> I have no idea how to go about this.

amavisd.conf-sample shows an example for virus_admin_maps,
spam_admin_maps would work the same:

[EMAIL PROTECTED] = (    # by-recipient maps
#  { '[EMAIL PROTECTED]' => '[EMAIL PROTECTED]',
#    '.sub1.example.com'  => '[EMAIL PROTECTED]',
#    '.sub2.example.com'  => '',               # don't send admin notifications
#    'a.sub3.example.com' => '[EMAIL PROTECTED]',
#    '.sub3.example.com'  => '[EMAIL PROTECTED]',
#    '.example.com'       => '[EMAIL PROTECTED]', # default for our virus 
senders
#  },
#  '[EMAIL PROTECTED]',  # catchall for the rest
#);

Creating and sending spam notifications is of limited use. In my
opinion the reports are just as annoying as spam itself, but on
occasion provide useful information for debugging.

> Off topic I would also be interested in using different logfiles for the 
> two domains, but I guess that i snot possible with just one instance of 
> sendmail running? Or is it.

My knee-jerk reaction is "I wouldn't think so either", I think you
would have to have two instances of amavisd-new running also.

> Any ideas would be appreciated,
> many thanks, it's a great product,
> Peter Huetmannsberger, RHCE

Gary V



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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