Thread View: de.comm.software.mailserver
1 messages
1 total messages
Started by Gerhard Engler
Tue, 06 Jan 2004 20:20
procmail geht nicht
Author: Gerhard Engler
Date: Tue, 06 Jan 2004 20:20
Date: Tue, 06 Jan 2004 20:20
110 lines
4579 bytes
4579 bytes
Halle Newsgroup,
ich k�mpfe nun schon den ganzen Feiertag mit dem gleichen Problem:
Meine Mails sollen folgenden Weg gehen Postfix -> procmail -> cyrus-imapd.
Leider kommen Sie nicht in den imap-Postf�chern an. Wenn ich procmail
herauslasse geht alles hervorragend (also mit mailbox_transport = cyrus
in der main.cf).
In der /var/log/procmail.log landet leider gar nichts.
Hat jemand eine Idee?
Vielen Dank!
Nach einer Anleitung (http://www.daniel-lewin.de) sehen meine
Konfigurationsdateien folgenderma�en aus:
/etc/postfix/main.conf ========================================
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
program_directory = /usr/lib/postfix
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
setgid_group = postdrop
biff = no
append_dot_mydomain = no
myhostname = gustav.duck
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = gustav.duck, gustav, localhost.duck, localhost
relayhost = mail.gmx.net
mynetworks = 127.0.0.0/8, 192.168.1.0/24, 192.168.2.0/24, 192.168.1.3.0/24
mailbox_transport = procmail
mailbox_size_limit = 0
recipient_delimiter =
mail_owner = postfix
default_transport = smtp
canonical_maps = hash:/etc/postfix/canonical
luser_relay = administrator@gustav.duck
/etc/postfix/master.cf ===========================================
smtp inet n - - - - smtpd
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
#qmgr fifo n - - 300 1 nqmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
flush unix n - - 1000? 0 flush
smtp unix - - - - - smtp
showq unix n - - - - showq
error unix - - - - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
cyrus unix - n n - - pipe
flags=R user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}
procmail unix - n n - - pipe
flags=R user=mail argv=/usr/bin/procmail -t -m USER=${user}
EXTENSION=${extension} /etc/procmail/procmailrc
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=bsmtp argv=/usr/lib/bsmtp/bsmtp -d -t$nexthop
-f$sender $recipient
scalemail-backend unix - n n - 2 pipe
flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store
${nexthop} ${user} ${extension}
/etc/procmail/procmailrc =============================================
LOGFILE="/var/log/procmail.log"
VERBOSE=on
DELIVERMAIL="/usr/sbin/cyrdeliver"
INBOX="$DELIVERMAIL -e -a $USER -q -m user.$USER"
SPAM="$INBOX.Spam"
# --- From-Zeile l�schen, ---
# --- sonst funktioniert cydeliver nicht !! ---
:0fw
| formail -f -I "From "
# --- in Ordner sortieren ---
:0w
* ^X-Spam-Check: Spam
| $SPAM
# --- wenn noch nichtzugestellt, an INBOX zustellen --
:0w
| $INBOX
# --- und Schluss ---
:0w
{
EXITCODE=$?
HOST
}
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads