On Fri, 16 Mar 2007, EduardoLuis wrote: > The problem is that, i made a backup of each users acconut by > forward the e-mail to a backup account; so, user foo as another > mailbox called foo-bkp.
There are pills for that. > I wanted spamassassin to be called only when external mail arrives. Identify what a Received: header on internally-originated mail looks like; it will probably say something like: Received: blah blah blah [internal.net.ip.addr] by your.mail.server Make a procmail rule for that and do something like: :0 < 256000 ! * ^Received: .*\[internal\.net\.ip\.\d+\].*by your\.mail\.server { :0 f ! /usr/bin/spamc -whatever -flags :0 * look for flagged spam headers $HOME/mail/SpamAssassin-INBOX } You might want to take a look at the procmail rule in http://www.impsec.org/~jhardin/antispam/ -- John Hardin KA7OHZ http://www.impsec.org/~jhardin/ [EMAIL PROTECTED] FALaholic #11174 pgpk -a [EMAIL PROTECTED] key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79 ----------------------------------------------------------------------- If someone has a gun and is trying to kill you, it would be reasonable to shoot back with your own gun. -- the Dalai Lama, May 15, 2001 ----------------------------------------------------------------------- 599 days until the Presidential Election