CboyGeek
22.08.02, 13:14
Hallo!
Ich bin gerade am Einrichten eines Mailservers mit IMAP. Leider habe ich noch Probleme beim Einsortieren der Mails mit procmail.
Hier mal meine ~/.procmail.rc:
PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:.
MAILDIR=$HOME/Mail # You'd better make sure it exists
DEFAULT=$MAILDIR/mbox
LOGFILE=$MAILDIR/procmail.log
LOCKFILE=$HOME/.lockmail
:0 * ^TO.*tobias.frischholz@web.de |/usr/sbin/cyrdeliver -a -m tobi
# Anything that has not been delivered by now will go to $DEFAULT
# using LOCKFILE=$DEFAULT$LOCKEXT
Procmail sortiert mir die Mails einfach nicht in meine Cyrus-Mailbox "tobi".
Hier meine /etc/fetchmailrc:
# Daemon configuration
# These two are set in /etc/default/fetchmail
#set daemon 300 # Pool every 5 minutes
#set syslog # log through syslog facility
set no bouncemail # avoid loss on 4xx errors
# on the other hand, 5xx errors get
# more dangerous...
################################################## ########################
# Hosts to pool
################################################## ########################
# Defaults ================================================== =============
# Set antispam to -1, since it is far safer to use that together with
# no bouncemail
defaults:
antispam -1
batchlimit 100
#poll foo.bar.org with protocol pop3
# user baka there is localbaka here;
poll pop.web.de protocol pop3 user ich password geheim mda "/usr/sbin/procmail ~/.procmailrc"
Die Mails werden zwar mit fetchmail geholt und in /var/spool/mail/fetchmail gespeichert, aber danach nicht in die cyrus-Mailbox geschaufelt.
Komischerweisse legt procmail auch kein Logfile an.
Hier ein Auszug noch aus meiner /var/log/syslog:
Aug 22 13:13:48 srv1204 fetchmail[516]: 1 message for tobias.frischholz at pop.web.de (758 octets).
Aug 22 13:13:48 srv1204 fetchmail[516]: reading message tobias.frischholz@pop.web.de:1 of 1 (758 octets)
Aug 22 13:13:49 srv1204 fetchmail[516]: MDA returned nonzero status 32512
Aug 22 13:13:49 srv1204 fetchmail[516]: not flushed
Aug 22 13:13:50 srv1204 postfix[528]: fatal: bad string length (0 < 1): setgid_group =
Aug 22 13:13:51 srv1204 postfix/sendmail[532]: fatal: bad string length (0 < 1): setgid_group =
Was bei postfix noch nicht stimmt, kann ich auch nicht ganz erkennen.
Weiss hier jemand weiter?
Ich bin gerade am Einrichten eines Mailservers mit IMAP. Leider habe ich noch Probleme beim Einsortieren der Mails mit procmail.
Hier mal meine ~/.procmail.rc:
PATH=$HOME/bin:/usr/bin:/bin:/usr/local/bin:.
MAILDIR=$HOME/Mail # You'd better make sure it exists
DEFAULT=$MAILDIR/mbox
LOGFILE=$MAILDIR/procmail.log
LOCKFILE=$HOME/.lockmail
:0 * ^TO.*tobias.frischholz@web.de |/usr/sbin/cyrdeliver -a -m tobi
# Anything that has not been delivered by now will go to $DEFAULT
# using LOCKFILE=$DEFAULT$LOCKEXT
Procmail sortiert mir die Mails einfach nicht in meine Cyrus-Mailbox "tobi".
Hier meine /etc/fetchmailrc:
# Daemon configuration
# These two are set in /etc/default/fetchmail
#set daemon 300 # Pool every 5 minutes
#set syslog # log through syslog facility
set no bouncemail # avoid loss on 4xx errors
# on the other hand, 5xx errors get
# more dangerous...
################################################## ########################
# Hosts to pool
################################################## ########################
# Defaults ================================================== =============
# Set antispam to -1, since it is far safer to use that together with
# no bouncemail
defaults:
antispam -1
batchlimit 100
#poll foo.bar.org with protocol pop3
# user baka there is localbaka here;
poll pop.web.de protocol pop3 user ich password geheim mda "/usr/sbin/procmail ~/.procmailrc"
Die Mails werden zwar mit fetchmail geholt und in /var/spool/mail/fetchmail gespeichert, aber danach nicht in die cyrus-Mailbox geschaufelt.
Komischerweisse legt procmail auch kein Logfile an.
Hier ein Auszug noch aus meiner /var/log/syslog:
Aug 22 13:13:48 srv1204 fetchmail[516]: 1 message for tobias.frischholz at pop.web.de (758 octets).
Aug 22 13:13:48 srv1204 fetchmail[516]: reading message tobias.frischholz@pop.web.de:1 of 1 (758 octets)
Aug 22 13:13:49 srv1204 fetchmail[516]: MDA returned nonzero status 32512
Aug 22 13:13:49 srv1204 fetchmail[516]: not flushed
Aug 22 13:13:50 srv1204 postfix[528]: fatal: bad string length (0 < 1): setgid_group =
Aug 22 13:13:51 srv1204 postfix/sendmail[532]: fatal: bad string length (0 < 1): setgid_group =
Was bei postfix noch nicht stimmt, kann ich auch nicht ganz erkennen.
Weiss hier jemand weiter?