PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Postfix, Cyrus und Squirrelmail



cyclone
04.04.06, 21:23
Nabend,

ich wende mich an euch weil ich gedanklich in einer Sackgasse stecke. Ich hatte früher bereits auf ner Susi 9.0 glaub ich eine Kombination aus Postfix und Cyrus am rennen. Irgendwann den Server getötet zu Testzwecken.

Nun wollte ich mir mal wieder einen Linuxserver als Mailserver aufsetzen mit der gleichen Konstellation. Diesmal allerdings auf Basis Debian Sarge.

Situation im mom: Postfix läuft sauber. Abruf über Clients einwandfrei. Nun kommt Cyrus ins Spiel und bereitet mir Probleme. Wenn ich Cyrus als mailbox_transport einsetze verfolgt er diese Anweisung konsequent und er "verschiebt" das Mail nach Cyrus. Abruf über Pop findet keine Mails mehr. Nehme ich Cyrus wieder raus läuft alles sauber über den Verteiler local, aber denn gibts eben keinen Abruf mehr über Squirrelmail.

Ich hoffe, ich konnte im Ansatz deutlich machen was ich meine und ihr könnt mich in die richtige Richtung schubsen. In Postings konnte ich nichts finden, da alle sonst Probleme mit Cyrus haben, aber das funktioniert ja an sich sauber.

Ich möchte IMAP UND POP und nicht entweder oder :-/

main.cf



readme_directory = /usr/share/doc/packages/postfix/README_FILES
mail_spool_directory = /var/mail
canonical_maps = hash:/etc/postfix/canonical
virtual_maps = hash:/etc/postfix/virtual
relocated_maps = hash:/etc/postfix/relocated
transport_maps = hash:/etc/postfix/transport
sender_canonical_maps = hash:/etc/postfix/sender_canonical
masquerade_exceptions = root
masquerade_classes = envelope_sender, header_sender, header_recipient
myhostname = mail.martin-haupt.de
program_directory = /usr/lib/postfix
#inet_interfaces = 127.0.0.1 ::1
masquerade_domains =
mydestination = $myhostname, localhost.$mydomain, $mydomain
defer_transports =
disable_dns_lookups = no
relayhost =
content_filter =
mailbox_command =
mailbox_transport =
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_client_restrictions =
smtpd_helo_required = no
smtpd_helo_restrictions =
strict_rfc821_envelopes = no
smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination, hash:/etc/postfix/access_recipients
smtp_sasl_auth_enable = no
smtpd_sasl_auth_enable = no
smtpd_use_tls = no
smtp_use_tls = no
alias_maps = hash:/etc/aliases
mailbox_size_limit = 0
message_size_limit = 10240000


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 -o smtpd_etrn_restrictions=reject
#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
#tlsmgr fifo - - n 300 1 tlsmgr
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
flags=R user=cyrus argv=/usr/sbin/cyrdeliver -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}


Freue mich auf einen Hinweis von Euch. Nehmt mir das Brett vom Kopf............

tschloss
04.04.06, 22:27
Ohne die Konfigs angesehen zu haben:
Was heisst "Abruf über die Clients funktioniert einwandfrei"? Über POP oder was?

Läuft der Cyrus-Server? Laufen evtl. mehrere Server auf POP3? (Da Cyrus eine proprietäre Ablage hat, kannst du für POP3 auch nur Cyrus verwenden, d.h. POP3 UND IMAP/Squirrel über Cyrus).

Greetz
Thomas

cyclone
05.04.06, 22:03
Hallo Thomas,

du hast natürlich recht. Es lief noch der qpopper anstatt des cyrus21-pop3d. Ich schiebe das jetzt mal auf meinen dicken Kopf aufgrund einer Erkältung, sonst ist das peinlich für mich.

Danke dir für den offensichtlichen Hinweis ;-)