PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Finde Fehler einfach nicht Postfix + Cyrus



akkie
10.01.05, 09:11
Hallo

Mein Post bezieht sich auf diesen Thread http://www.linuxforen.de/forums/showthread.php?t=167598.

Ich habe jetzt mal einen neuen Thread im richtigen Forum angefangen. Hoffe das ist nicht schlimm.

Am besten ich poste mal meine config Files.

postfix/master.cf


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 oqmgr
rewrite unix - - n - - trivial-rewrite
bounce unix - - n - 0 bounce
defer unix - - n - 0 bounce
trace unix - - n - 0 bounce
verify unix - - n - 1 verify
flush unix n - n 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - n - - smtp
relay unix - - n - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - n - - showq
error unix - - n - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
#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.
#
# maildrop. See the Postfix MAILDROP_README file for details.
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus unix - n n - - pipe
user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -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}

postconf -n


command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
debug_peer_level = 2
mail_owner = postfix
mydomain = firmen.netz
myhostname = linux.firmen.netz
myorigin = $mydomain
queue_directory = /var/spool/postfix
relayhost = [smtp.strato.de]
setgid_group = maildrop
unknown_local_recipient_reject_code = 450

cyrus.conf

lmtpunix cmd="lmtpd" listen="/var/spool/postfix/public/lmtp" prefork=1


linux:~ # tail -f /var/log/mail
Jan 10 09:51:57 linux postfix/smtpd[5870]: D1FB0EC64: client=unknown[192.168.1.99]
Jan 10 09:51:57 linux postfix/cleanup[5873]: D1FB0EC64: message-id=<001b01c4f6f1$abd8a630$6301a8c0@prakt1>
Jan 10 09:51:57 linux postfix/smtpd[5870]: disconnect from unknown[192.168.1.99]
Jan 10 09:51:57 linux postfix/qmgr[5855]: D1FB0EC64: from=<christian@firmen.netz>, size=1350, nrcpt=1 (queue active)
Jan 10 09:52:03 linux postfix/smtp[5874]: D1FB0EC64: to=<christian@firmen.netz>, relay=smtp.strato.de[21.235.135.60], delay=6, status=bounced (host smtp.strato.de[21.235.135.60] said: 550 5.7.1 <christian@firmen.netz>... Relaying denied. IP name lookup failed [217.17.194.34] (in reply to RCPT TO command))
Jan 10 09:52:03 linux postfix/cleanup[5873]: 5628510C8B: message-id=<20050110085203.5628510C8B@linux.firmen.netz>
Jan 10 09:52:03 linux postfix/qmgr[5855]: 5628510C8B: from=<>, size=3293, nrcpt=1 (queue active)
Jan 10 09:52:03 linux postfix/qmgr[5855]: D1FB0EC64: removed
Jan 10 09:52:08 linux postfix/smtp[5874]: 5628510C8B: to=<christian@firmen.netz>, relay=smtp.strato.de[21.235.135.60], delay=5, status=bounced (host smtp.strato.de[21.235.135.60] said: 550 5.7.1 <christian@firmen.netz>... Relaying denied. IP name lookup failed [21.235.135.60] (in reply to RCPT TO command))
Jan 10 09:52:08 linux postfix/qmgr[5855]: 5628510C8B: removed

Wie gesagt alle Mails werden an strato.de gesendet.

Mfg Akkie

Stormbringer
10.01.05, 09:23
Und wo ist die zu
relayhost = [smtp.strato.de]
gehörende sasl_password_maps Zeile?
Oder ist die nicht eingerichtet?

Du willst doch, daß über den strato.de relay Host relay'd werden kann, oder?

Gruß

akkie
10.01.05, 09:35
Hi

Ja das will ich schon ist aber jetzt nicht das Problem. Es geht darum das die Mails nicht in die Postfächer sortiert werden wie gewollt, sondern an den Relayhost geschickt werden.

Mfg Akkie

Stormbringer
10.01.05, 09:41
Ohne:
mailbox_transport = cyrus
in der main.cf?

Gruß

PS: ich finde es bedenklich, wenn Moderatoren postings anderer Forumsteilnehmer verändern können!

Stormbringer
10.01.05, 09:47
Zusatz
Oder halt bspw.:
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
ebenfalls in der main.cf - aber irgendwie muß cyrus ja nun einmal die Weitergabe der Emails an cyrus mitgeteilt werden ...

Gruß

Tomek
10.01.05, 09:48
PS: ich finde es bedenklich, wenn Moderatoren postings anderer Forumsteilnehmer verändern können!
Ja? Warum bitte?

Stormbringer
10.01.05, 09:50
@Tomek
http://www.linuxforen.de/forums/showthread.php?t=168022

akkie
10.01.05, 10:18
Jup das wars. Vielen Dank!!!

Mfg Akkie

akkie
10.01.05, 12:11
Ich habe mal noch eine Frage.

Gibt es eine Möglichkeit Adressen nur dann umzuschreiben wenn die Mail nach außen gesendet werden soll. Wenn ich nämlich in sender_canonical z.B. @firmen.netz @joppnet.de eintrage werden wieder alle Mails nach außen geschickt.

Mfg Akkie