Networking Forums

Networking Forums > Computer Networking > Linux Networking > alias and procmail

Reply
Thread Tools Display Modes

alias and procmail

 
 
bolero92@yahoo.com
Guest
Posts: n/a

 
      07-07-2006, 01:33 AM
In my e-mail server, every mailbox is saved to another mailbox as a
backup.
This is my /etc/aliases

user1: user1, user1_save
user2: user2, user2_save

I've implemented spamassassin.
By using procmail,
if the subject of every message contains the word {Spam?},
this message is forwarded to the mailbox "spam"

However, every spam message has two copies in the mailbox spam,
because user1 and user1_save are both processed by procmail

How can I make just user1 is processed by procmail,
while user1_save is NOT processed by procmail?

 
Reply With Quote
 
 
 
 
Davide Bianchi
Guest
Posts: n/a

 
      07-07-2006, 07:13 AM
On 2006-07-07, (E-Mail Removed) <(E-Mail Removed)> wrote:
> user1: user1, user1_save
> user2: user2, user2_save
>
> I've implemented spamassassin.
> How can I make just user1 is processed by procmail,
> while user1_save is NOT processed by procmail?


Remove the aliases, use procmail to file a carbon copy of the mail to the
_save mailbox and to run spamassassin at once. This will save you the assle
of creating an alias for every user and will make things easier for the
mail server that doesn't have to duplicate every mail.

Davide

--
Usenet should require licenses; licenses that can be revoked.
-- Abigail on alt.sysadmin.recovery
 
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
procmail suvo Linux Networking 1 01-18-2007 01:05 AM
Procmail Jenda Mudron Linux Networking 6 07-22-2005 04:28 PM
Help! Is there a new procmail or fetchmail bug? Jeff Linux Networking 0 07-30-2003 04:16 PM
procmail Thomas B Linux Networking 0 07-15-2003 11:08 AM
Re: procmail Kenneth A Kauffman Linux Networking 0 06-25-2003 12:06 PM



1 2 3 4 5 6 7 8 9 10 11