procmail
[Top] [All Lists]

Re: procmail forwarding

2005-02-19 05:49:31
Toen wij luke(_at_)chipcity(_dot_)com(_dot_)au kietelden, kwam er dit uit:

I'm receiving the mail in my Inbox twice.
what could be causing that?

If a message is send To: dj and Cc: luke, than 
two messages will arrive, and given to procmail. 
(Maybe with an exception on some systems, if both 
dj and luke are alias-e-mail-addresses of the same 
user.)

You need to add logging to find out exactly what 
is going on. 

  NL      = '
'
  TAB     = '    '
  SPC     = ' '
  VERBOSE = 'on'

  LOGFILE = "$_.log"   # "$HOME/.procmail.log"

  LOG = "$$:${TAB}DEFAULT:${DEFAULT}${NL}"


Are you both dj and luke, and is Inbox your $DEFAULT? 

(see my remark: # the rest goes to $DEFAULT)
Then leave out anything concerning Luke and Inbox, 
because your $DEFAULT will take care of that.

Try and replace 'the whole thing' with just this:

   :0c
   * ^To:(_dot_)*dj(_at_)bla\(_dot_)bla
   ! eden(_at_)cane(_dot_)org

Also include a mail-loop-trap (think about what will happen 
if eden ever forwards to dj).

-- 
Grtz, Ruud

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>