[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vps-mail] Aliased Emails Avoid Procmail/Spamassassin?
- Subject: [vps-mail] Aliased Emails Avoid Procmail/Spamassassin?
- From: "Ron Pero" <rpero@xxxxxxxxxxxx>
- Date: Wed, 24 Mar 2004 22:08:35 -0800
I'm running VPS1, with procmail and spamassassin
Is it true that if an email goes to an alias in sendmail, it does not get
checked by procmail or spamassassin?
For example, for testlist@xxxxxxxxxx, there is this entry in the etc/aliases
testlist:
:include:/usr/home/domainwhatever/etc/mail/lists/_testlist_list.txt
Does all email sent to testlist@xxxxxxxxxx get sent to the mail addresses in
_testlist_list.txt, without getting filtered by procmail or spamassassin?
If so, any ideas on how to get around this?
My understanding is when mail arrives at the server, first stop is
procmailrc, then virtmaps, then aliases. So procmail should be processing
it.
This is a problem for us because someone on the testlist list got infected
by a virus, and now the entire list is receiving emails with .pif and .src
attachments. We want to stop them with procmail. In procmailrc I have this
entry:
:0 B
*^Content-Type: (application|audio)
*^.*name=.*\.(vb[esx]|jse?|ws[hf]|c[ho]m|bat|cmd|shb|hta|exe|pif|scr|shs)
#/var/mail/virus
/dev/null
Does it not work on aliased emails?
Related: I do not find an entry in etc/procmailrc telling it to use
spamassassin.
I do have this, though, which was kindly suggested by Abigail a couple
months ago.
:0fw: spamassassin.lock
* < 250000
* ^TO_(domain1\.com|domain2\.com)
|/usr/local/bin/spamassassin
Thanks,
Ron
======================================================================
This is <vps-mail@xxxxxxxxxxxx> <http://www.perlcode.org/lists/>
Before posting a question, please search the archives (see above URL).
Main Index |
Thread Index