postfix, cyrus, procmail - Please help

This is a discussion on postfix, cyrus, procmail - Please help within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Please, have a look to my configuration concerning the fine tuning between postfix, cyrus and procmail. The error, that should ...


Go Back   Usenet Forums > Mail Servers and Related > alt.comp.mail.postfix

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-29-2004
Paul-Wilhelm Hermsen
 
Posts: n/a
Default postfix, cyrus, procmail - Please help

Please, have a look to my configuration concerning the fine tuning
between postfix, cyrus and procmail.

The error, that should be fixed, is:

procmail: Executing " /bin/sed 1d | /usr/bin/spamassassin -d | $SPAMIT "
couldn't connect to lmtpd: Permission denied

as you find it in my following procmail.log:

procmail: [6696] Tue Jun 29 12:59:09 2004
procmail: Assigning "SENDER=ffhxpchdqtp@icq.com"
procmail: Assigning "SHIFT=1"
procmail: Assigning "DELIVERMAIL=/usr/lib/cyrus/bin/deliver"
procmail: Assigning "SPAMIT=/usr/lib/cyrus/bin/deliver -e -a nobody -m
user.Spam"
procmail: Executing "/usr/bin/spamassassin"
razor2 check skipped: No such file or directory Can't read conf file:
~/.razor/razor-agent.conf
procmail: [6696] Tue Jun 29 12:59:17 2004
procmail: Match on "^X-Spam-Status: Yes"
procmail: Executing " /bin/sed 1d | /usr/bin/spamassassin -d | $SPAMIT "
couldn't connect to lmtpd: Permission denied
procmail: [6696] Tue Jun 29 12:59:18 2004
procmail: Program failure (75) of " /bin/sed 1d | /usr/bin/spamassassin
-d | $SPAMIT "
procmail: Rescue of unfiltered data succeeded
procmail: [6696] Tue Jun 29 12:59:18 2004
procmail: Executing
"/usr/sbin/sendmail,-i,-f,ffhxpchdqtp@icq.com,--,pwhrmsn@localhost.linwin.hme"
procmail: [6696] Tue Jun 29 12:59:18 2004
procmail: Assigning "LASTFOLDER=/usr/sbin/sendmail -i -f
ffhxpchdqtp@icq.com -- "
Subject: all direct decisive trianon spruce
Folder: /usr/sbin/sendmail -i -f ffhxpchdqtp@icq.com -- 6514
procmail: [6715] Tue Jun 29 12:59:33 2004
procmail: Assigning "SENDER=helensimonds.unlock@myway.com"
procmail: Assigning "SHIFT=1"
procmail: Assigning "DELIVERMAIL=/usr/lib/cyrus/bin/deliver"
procmail: Assigning "SPAMIT=/usr/lib/cyrus/bin/deliver -e -a nobody -m
user.Spam"
procmail: Executing "/usr/bin/spamassassin"
razor2 check skipped: No such file or directory Can't read conf file:
~/.razor/razor-agent.conf
procmail: [6715] Tue Jun 29 12:59:40 2004
procmail: Match on "^X-Spam-Status: Yes"
procmail: Executing " /bin/sed 1d | /usr/bin/spamassassin -d | $SPAMIT "
couldn't connect to lmtpd: Permission denied
procmail: [6715] Tue Jun 29 12:59:42 2004
procmail: Program failure (75) of " /bin/sed 1d | /usr/bin/spamassassin
-d | $SPAMIT "
procmail: Rescue of unfiltered data succeeded
procmail: [6715] Tue Jun 29 12:59:42 2004
procmail: Executing
"/usr/sbin/sendmail,-i,-f,helensimonds.unlock@myway.com,--,pwhrmsn@localhost.linwin.hme"
procmail: [6715] Tue Jun 29 12:59:42 2004
procmail: Assigning "LASTFOLDER=/usr/sbin/sendmail -i -f
helensimonds.unlock@myway.com -- "
Subject: Welcome!
Folder: /usr/sbin/sendmail -i -f helensimonds.unlock@myway.com --
5266

What kind of permission must be set, to whom should the permission be
given and where must it be set?

I hope, you enjoy my question and that it is not off topic.

My /etc/procmailrc is:

LOGFILE="/var/log/procmail.log"
VERBOSE=yes

SENDER=$1
SHIFT=1

DELIVERMAIL="/usr/lib/cyrus/bin/deliver"
SPAMIT="$DELIVERMAIL -e -a $LOGNAME -m user.Spam"

# Until now, mail is untagged, you may add rules for
# mail that must not be tagged

:0 hbwf
| /usr/bin/spamassassin

# Now mail is tagged by spamassassin
# You may insert other rules here

:0wf
* ^X-Spam-Status: Yes
| /bin/sed 1d | /usr/bin/spamassassin -d | $SPAMIT

#INCLUDERC=/home/$USER/.procmailrc

:0w
| /usr/sbin/sendmail -i -f "$SENDER" -- "$@"

$LOGNAME is the user nobody, who has writing permission for the imap
folder user.Spam and is lmtp_admin in the imapd.conf file.

Thanks
Paul-Wilhelm


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:24 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0