procmail
[Top] [All Lists]

procmail and cyrus

2004-04-20 12:26:37
Hi,

I currently have my mailserver running with sendmail and cyrus imapd on IRIX 
6.5. But since some mailboxes receive a lot of spam I tried to setup procmail 
to filter the mail received by sendmail and deliver it to cyrus. I got the 
first part working. Mail received by sendmail for local delivery is sent to 
procmail. 
Next procmail filters the mail and tries to send it to cyrus. Except, cyrus 
does not receive the mail. It just seems the mail gets lost between procmail 
and cyrus. 
I have configured procmail to use a global procmailrc file. This since not all 
mailboxes have corresponding unix useraccounts.
Attached to this e-mail you will find my global procmailrc file. 

The output from the procmail.log file is as follows:
From mheuveling<AT>aebizz<DOT>com  Mon Apr 19 22:57:10 2004
 Subject: test
  Folder: /usr/freeware/cyrus/bin/deliver -a misja -q -m user.misja        1087
From mheuveling<AT>aebizz<DOT>com  Mon Apr 19 23:01:53 2004
 Subject: testmail
  Folder: /usr/freeware/cyrus/bin/deliver -a misja -q -m user.misja        1074

Output from the imapd.log file is as follows:

Apr 19 22:57:10 7W:helius lmtpd[568120]: accepted connection
Apr 19 22:57:10 7W:helius lmtpd[568120]: lmtp connection preauth'd as postman
Apr 19 22:57:10 7W:helius master[531649]: about to exec /usr/freeware/cyrus/bin/
lmtpd
Apr 19 22:57:10 7W:helius service-lmtpunix[531649]: executed
Apr 19 22:57:56 7W:helius master[333971]: process 568120 exited, status 0
Apr 19 22:58:36 7W:helius imapd[405509]: accepted connection
Apr 19 22:58:36 5W:helius imapd[405509]: login: abraxas.heuveling.net[192.168.2.
4] misja plaintext
Apr 19 22:58:36 7W:helius imapd[516955]: accepted connection
Apr 19 22:58:36 5W:helius imapd[516955]: login: abraxas.heuveling.net[192.168.2.
4] misja plaintext
Apr 19 22:58:36 7W:helius master[572750]: about to exec /usr/freeware/cyrus/bin/
imapd
Apr 19 22:58:36 7W:helius imapd[405509]: open: user misja opened INBOX
Apr 19 22:58:36 7W:helius service-imap[572750]: executed
Apr 19 22:58:36 7W:helius imapd[516955]: seen_db: user misja opened /var/cyrus/u
ser/m/misja.seen

The postman account in the logfile metioned does excist. 

I am not sure what goes wrong. Can anyone help me with this challange?

Regards,

Misja Heuveling

B.t.w, I am using Cyrus imap 2.0.13 and Procmail 3.22

Attachment: procmailrc
Description: Binary data

_______________________________________________
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>