hier läuft ein Standard SuSE 8.1 von 1&1 mit postfix. Folgendes Problem:
E-Mails werden in /var/spool/mail/nobody abgeleget und demzufolge nicht an die webxpx Postfächer ausgeliefert! Muß ich in der procmailrc sagen, das er das wieder in die jeweiligen E-Maildateien schreibt, oder ist es der spamd, der hier irgendwas falsch einsortiert.
So siehts jedenfalls konkret aus....
/var/log/messages:
Code: Select all
Dec 5 00:44:30 pxxxxxxxx postfix/smtpd[26364]: connect from moutng.kundenserver.de[212.227.126.185]
Dec 5 00:44:30 pxxxxxxxx postfix/smtpd[26364]: 6FB1A2F4001: client=moutng.kundenserver.de[212.227.126.185]
Dec 5 00:44:30 pxxxxxxxx postfix/cleanup[26365]: 6FB1A2F4001: message-id=<000101c3bac0$9aa026e0$0301a8c0@usnifaxp>
Dec 5 00:44:30 pxxxxxxxx postfix/qmgr[25934]: 6FB1A2F4001: from=<daniel@kerozene.de>, size=1870, nrcpt=1 (queue active)
Dec 5 00:44:30 pxxxxxxxx postfix/smtpd[26364]: disconnect from moutng.kundenserver.de[212.227.126.185]
Dec 5 00:44:30 pxxxxxxxx spamd[25075]: connection from localhost.localdomain [127.0.0.1] at port 43696
Dec 5 00:44:30 pxxxxxxxx spamd[26380]: info: setuid to nobody succeeded
Dec 5 00:44:30 pxxxxxxxx spamd[26380]: processing message <000101c3bac0$9aa026e0$0301a8c0@usnifaxp> for nobody:65534.
Dec 5 00:44:59 pxxxxxxxx spamd[26380]: clean message (0.0/5.0) for nobody:65534 in 28.5 seconds, 1858 bytes.
Dec 5 00:44:59 pxxxxxxxx postfix/pipe[26368]: 6FB1A2F4001: to=<web2p1@pxxxxxxxx.pureserver.info>, relay=procmail, delay=29, status=sent (pxxxxxxxx.pureserver.info)
Code: Select all
### Verbose on = ausführliches Log
VERBOSE=on
LOGFILE=/var/log/procmail.log
DROPPRIVS=yes
# The condition line ensures that only messages smaller than 250 kB
# (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam
# isn`t bigger than a few k and working with big messages can bring
# SpamAssassin to its knees.
:0fw
* < 256000
| /usr/bin/spamc
:0e
{
EXITCODE=$?
}
#Bitte auskommentieren,wenn man die Spam-Mails wirklich löschen will:
# :0:
# Wenn es Spam ist, Mail löschen
# * ^X-Spam-Status: Yes
# /dev/null
#EOF
Code: Select all
#mailbox_command = /some/where/procmail
mailbox_command = /usr/sbin/procmail
#mailbox_transport = lmtp:unix:/file/name
mailbox_transport = procmail
/etc/postfix/master.cf:
Code: Select all
#
# DO NOT SHARE THE POSTFIX QUEUE BETWEEN MULTIPLE POSTFIX INSTANCES.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (50)
# ==========================================================================
smtp inet n - n - - smtpd
smtps inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 nqmgr
#tlsmgr fifo - - n 300 1 tlsmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
flush unix n - n 1000? 0 flush
smtp unix - - n - - smtp
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
#localhost:10025 inet n - n - - smtpd -o content_filter=
#
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
# The Cyrus deliver program has changed incompatibly.
#
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -m ${extension} ${user}
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail unix - n n - - pipe
flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp unix - n n - - pipe
flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
vscan unix - n n - 10 pipe
user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail unix - n n - - pipe
flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}