Am Samstag, 23. April 2005 19:14 schrieb Marc Schumann:
dazu ist im /usr/share/doc/packages/postfix/README_FILES/LMTP_README
Da steht leider nur ein Verweis auf postfix.org, un der Link LMTP dort ist leer ! Gibts ne andere Quelle ?
Hmm, Wietse hat das noch nicht fertig, hab grad kein richtiges Suse-RPM installiert. Bei mir war's da, ging davon aus, dass es bei der Suse dabei ist.
Falls Du Hilfe dazu brauchst, schicke "postconf -n", /etc/postfix/master.cf (Ohne Kommentare) und die /etc/cyrus.conf
#################### Postconf -n: ########### proliant:~ # postconf -n alias_maps = hash:/etc/aliases biff = no canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = disable_dns_lookups = no html_directory = /usr/share/doc/packages/postfix/html inet_protocols = all mail_spool_directory = /var/mail mailbox_command = /usr/lib/cyrus/bin/deliver
Ok, mailbox_command aus der main.cf löschen, ist eh überflüssig, wenn Du mailbox_transport gesetzt hast.
mailbox_size_limit = 0 mailbox_transport = cyrus mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = masquerade_exceptions = root message_size_limit = 10240000 mydestination = $myhostname, localhost.$mydomain, $mydomain myhostname = proliant.firma.lahm newaliases_path = /usr/bin/newaliases readme_directory = /usr/share/doc/packages/postfix/README_FILES recipient_delimiter = + relocated_maps = hash:/etc/postfix/relocated sample_directory = /usr/share/doc/packages/postfix/samples sender_canonical_maps = hash:/etc/postfix/sender_canonical sendmail_path = /usr/sbin/sendmail setgid_group = maildrop smtp_sasl_auth_enable = no smtp_use_tls = no smtpd_client_restrictions = smtpd_helo_required = no smtpd_helo_restrictions = smtpd_recipient_restrictions = permit_mynetworks,reject_unauth_destination smtpd_sasl_auth_enable = no smtpd_sender_restrictions = hash:/etc/postfix/access smtpd_use_tls = no strict_rfc821_envelopes = no transport_maps = hash:/etc/postfix/transport unknown_local_recipient_reject_code = 550 proliant:~ #
############## master.cf ############################### #
smtp inet n - n - - smtpd smtpd_tls_wrappermode=yes
pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr
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 fallback_relay=
showq unix n - n - - showq error unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp
lmtp ist nicht im chroot(), dafür steht das "n".
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
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 procmail unix - n n - - pipe flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
################################ cyrus.conf ############################## START {
recover cmd="ctl_cyrusdb -r" idled cmd="idled" } imap cmd="imapd" listen="imap" prefork=0 pop3 cmd="pop3d" listen="pop3" prefork=0 sieve cmd="timsieved" listen="sieve" prefork=0 lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp" prefork=1
Dann kannst Du auch diesen Socket nehmen. Also mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp in der main.cf ergänzen und Postfix neu starten.
prefork=1 }
EVENTS {
checkpoint cmd="ctl_cyrusdb -c" period=30 delprune cmd="cyr_expire -E 3" at=0400 tlsprune cmd="tls_prune" at=0400 } ################################################################
Ich hoffe damit kannst du etwas anfangen. Danke erstmal Marc Schumann
-- Andreas