Changes between Version 21 and Version 22 of Email2tracMta


Ignore:
Timestamp:
04/09/08 15:19:35 (16 years ago)
Author:
anonymous
Comment:

adding info about procmail filtering to avoid infinite loops

Legend:

Unmodified
Added
Removed
Modified
  • Email2tracMta

    v21 v22  
    108108you need to specify mta_user to fetchmail user when you configure email2trac previously.
    109109
     110=== Using procmail with fetchmail & email2trac ===
     111You may want to filter bounced messages from ever getting to email2trac, otherwise you can end up in an infite loop.
     112Simply change your mda in your .fetchmailrc to procmail and create a .procmailrc like this:
     113{{{
     114PATH=/bin:/usr/bin:/usr/bin
     115MAILDIR=$HOME/Mail      #you'd better make sure it exists
     116DEFAULT=$MAILDIR/mbox      #completely optional
     117LOGFILE=$MAILDIR/from      #recommended
     118
     119:0 h c
     120* !^FROM_DAEMON
     121* !^X-Loop: your.email2trac@emai.address
     122| /usr/local/bin/run_email2trac
     123}}}
     124
     125Now only messages that aren't from a daemon or bounced will make it to email2trac.
     126
    110127== Qmail Setup ==
    111128