procmail
[Top] [All Lists]

Re: Procmail with Cyrus IMAP

2003-11-24 19:09:50

I've changed the logfile to be /usr/log/procmaillog

Added a USER definition.  And added the verbose log.

Unfortunatly mail is still going straight to mail dir nothing is being
logged in the procmail log file.

Craig



|---------+------------------------------------->
|         |           "Ruud H.G. van Tol"       |
|         |           <rvtol(_at_)isolution(_dot_)nl>      |
|         |           Sent by:                  |
|         |           procmail-bounces(_at_)lists(_dot_)RWT|
|         |           H-Aachen.DE               |
|         |                                     |
|         |                                     |
|         |           25/11/2003 12:22 PM       |
|         |                                     |
|---------+------------------------------------->
  
------------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                 |
  |       To:       "[procmail]" 
<procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE>                                
                                 |
  |       cc:       (bcc: Craig Clark/DTF/VICGOV/AU)                            
                                                 |
  |       Subject:  Re: Procmail with Cyrus IMAP                                
                                                 |
  
------------------------------------------------------------------------------------------------------------------------------|




Toen ik Craig Clark kietelde, kwam er dit uit:

LOGFILE="/var/log/mail/$USER.log"

Strange location for a logfile. Why not something like
$HOME/pm.log


IMAP   = "$DELIVERMAIL -e -a $USER -m user.$USER"
BACKUP = "$DELIVERMAIL -e -a $USER -m user.$USER.Backup"
SPAMIT = "$DELIVERMAIL -e -a $USER -m user.$USER.SPAM"

I think you need a USER = "$LOGNAME" in front of the first
use of $USER.


 :0 w
 {
 EXITCODE=$?

No closing bracket?

Put a VERBOSE=ON at the start, and inspect the resulting LOGFILE.

--
Affijn, Ruud

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail







_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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