hi,
ich habe schon ziemlich viel gesucht aber wurde nicht so richtig fündig.
ich habe einen debian-server mit postfix und cyrus.
das senden klappt, das abrufen von mails via imap auch.
das einzige problem ist, dass postfix mails, die eintreffen nicht in die imap-konten ausliefert. kann mir jemand n tipp geben, was ich da noch beachten muss?
ich bin mir nicht ganz sicher, aber ich meine, dass ein eintrag in der master.cf von postfix und ggf. einer in der cyrus.conf da schon ausreichen sollte...
momentan bekomme ich diese mails in die lokalen mailboxen ausgeliefert. (also auf der konsole "mail" eintippen und ich kann diese lesen...)
gruss, pseudo
Mit Postfix empfangene Mails an Cyrus-IMAP weiterleiten
Re: Mit Postfix empfangene Mails an Cyrus-IMAP weiterleiten
Was ist denn derzeit unter Postfix eingestellt für den Mailbox Transport?
poste mal die Ausgabe von postconf -n
poste mal die Ausgabe von postconf -n
Gruß Christian
BofH excuses: YOU HAVE AN I/O ERROR -> Incompetent Operator error
BofH excuses: YOU HAVE AN I/O ERROR -> Incompetent Operator error
Re: Mit Postfix empfangene Mails an Cyrus-IMAP weiterleiten
nicht die Master - nimm die main.cf. Je nachdem, ob und wie Du filterst, kannst Du die Mails per Procmail (und cyrdeliver) oder direkt per mailbox_transport im postfix machen lassen.pseudo wrote: ich bin mir nicht ganz sicher, aber ich meine, dass ein eintrag in der master.cf von postfix und ggf. einer in der cyrus.conf da schon ausreichen sollte...
Nevertheless wäre der postconf angebracht :-)
flo.
Re: Mit Postfix empfangene Mails an Cyrus-IMAP weiterleiten
einmal postconf -n
hier die master.cf:
gruss, pseudo
Code: Select all
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
inet_interfaces = all
mailbox_size_limit = 0
mailbox_transport = cyrus
mydestination = a-nummer.alturo-server.de, localhost, localhost.localdomain, localhost
myhostname = tweety.*domain*.de
mynetworks = *server_IP*/32, 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost =
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_security_options = noanonymous
Code: Select all
# ==========================================================================
smtp inet n - - - - smtpd -o pam
587 inet n - - - - smtpd -o pam
#submission inet n - - - - smtpd
# -o smtpd_etrn_restrictions=reject
#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 oqmgr
rewrite unix - - - - - trivial-rewrite
bounce unix - - - - 0 bounce
defer unix - - - - 0 bounce
trace unix - - - - 0 bounce
verify unix - - - - 1 verify
flush unix n - - 1000? 0 flush
proxymap unix - - n - - proxymap
smtp unix - - - - - smtp
relay unix - - - - - smtp
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - n - - lmtp
anvil unix - - n - 1 anvil
#
# 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}
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}
# only used by postfix-tls
#tlsmgr fifo - - n 300 1 tlsmgr
#smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#587 inet n - n - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
-
Roger Wilco
- Posts: 5923
- Joined: 2004-05-23 12:53
Re: Mit Postfix empfangene Mails an Cyrus-IMAP weiterleiten
Und Postfix startet mit der Konfiguration, ohne zu meckern? Du setzt mailbox_transport=cyrus, in der master.cf existiert aber keine entsprechende Definition dafür.
Du kannst entweder mailbox_command benutzen (mit cyrdeliver und entsprechenden Parametern) oder du lässt mailbox_transport und definierst den Transport 'cyrus' in deiner master.cf.
Du kannst entweder mailbox_command benutzen (mit cyrdeliver und entsprechenden Parametern) oder du lässt mailbox_transport und definierst den Transport 'cyrus' in deiner master.cf.
Re: Mit Postfix empfangene Mails an Cyrus-IMAP weiterleiten
kannst du mir da ma ne beispiel-option zeigen?
weil daran fehlt es mir :o)
danke schonmal im vorraus...
weil daran fehlt es mir :o)
danke schonmal im vorraus...
Re: Mit Postfix empfangene Mails an Cyrus-IMAP weiterleiten
http://www.rootforum.org/forum/viewtopic.php?p=158208
Da hatte ich damals ein "howto" gefertigt. Ist ist ungetestet aber die Konfig für Postfix, da kannst du ja mal spicken.
Da hatte ich damals ein "howto" gefertigt. Ist ist ungetestet aber die Konfig für Postfix, da kannst du ja mal spicken.
Gruß Christian
BofH excuses: YOU HAVE AN I/O ERROR -> Incompetent Operator error
BofH excuses: YOU HAVE AN I/O ERROR -> Incompetent Operator error