postfix socket problem
Stefan Pump
lug at jspweb.net
Thu Jan 27 13:37:46 CET 2005
hallo liebe liste
nach einem update von suse 8.1 auf suse 9.2 habe ich leichte probleme
mit dem postfix -socket.
Also, der POstfix schafft esnur an den cyrus zu liefern, wenn ich in
der main.cf
mailbox_transport = cyrus
stehen habe.
Aufgrund der einfacheren Konfiguration möchte ich allerdings nicht auf
die Konfiguration durch YAST verzichten.
Yast läßt aber beim Konfigutrieren procmail, lokal und cyrus als
Möglichkeiten zu.
Wnen ich dort alleridngs den cyrus auswähle, wandelt YAST das
automatisch in den
mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp
um, was allerdings nicht funktioniert, da dieser socket anscheind
nicht vom postfix beschrieben werden darf.
postfix/lmtp[7189]: 12C6670DBE: to=<lug at jspweb.net>,
orig_to=<lug at jspweb.net>,
\ relay=none, delay=46742, status=deferred
\ (connect to /var/lib/imap/socket/lmtp[/var/lib/imap/socket/lmtp]:
No such file or directory)
was ich nicht verstehe, da:
elvis:/etc/postfix # ll /var/lib/imap/socket/lmtp*
...
srwxrwxrwx 1 root root 0 Jan 27 12:42 /var/lib/imap/socket/lmtp
-rw------- 1 cyrus mail 0 Jan 22 22:54
/var/lib/imap/socket/lmtpunix-0.lock
-rw------- 1 cyrus mail 0 Dec 30 2003
/var/lib/imap/socket/lmtpunix.lock
elvis:/etc/postfix # ll /var/lib/imap/
drwxr-xr-x 2 cyrus mail 288 Jan 27 12:42 socket
elvis:/etc/postfix # ll /var/lib/
...
drwxr-xr-x 13 cyrus mail 464 Jan 27 13:12 imap
Er prinzipiell ja auch für den Postfix erreichbar sein sollte.
Any hints?
Merci,
Stefan
PS:
postconf -n:
elvis:/etc/postfix # postconf -n
elvis:/etc/postfix # 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_interfaces = all
mail_owner = postfix
mail_spool_directory = /var/mail
mailbox_command =
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 = jspweb.net
masquerade_exceptions = root
message_size_limit = 10240000
mydestination = MEINEDOMAINS
myhostname = MEINHOSTNAME
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/share/doc/packages/postfix/README_FILES
relay_clientcerts = hash:/etc/postfix/relay_ccerts
relayhost = [auth.mail.onlinehome.de]
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 = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
smtp_tls_CAfile = /etc/ssl/ca_cert.pem
smtp_tls_cert_file = /etc/ssl/certs/www-cert.pem
smtp_tls_key_file = /etc/ssl/private/www-key-unsecure.pem
smtp_use_tls = no
smtpd_client_restrictions = permit_sasl_authenticated,
smtpd_helo_required = no
smtpd_helo_restrictions =
smtpd_recipient_restrictions = permit_tls_clientcerts,
permit_sasl_authenticated,
\ permit_mynetworks,reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sender_restrictions = hash:/etc/postfix/access
smtpd_tls_CAfile = /etc/ssl/ca_cert.pem
smtpd_tls_ask_ccert = yes
smtpd_tls_cert_file = /etc/ssl/certs/www-cert.pem
smtpd_tls_key_file = /etc/ssl/private/www-key-unsecure.pem
smtpd_tls_received_header = yes
smtpd_use_tls = yes
strict_rfc821_envelopes = no
tls_daemon_random_source = dev:/dev/urandom
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
cat /etc/cyrus.conf
elvis:/etc/postfix # cat /etc/cyrus.conf
# standard standalone server implementation
START {
# do not delete this entry!
recover cmd="ctl_cyrusdb -r"
# this is only necessary if using idled for IMAP IDLE
idled cmd="idled"
}
# UNIX sockets start with a slash and are put into
/var/lib/imap/socket
SERVICES {
# add or remove based on preferences
imap cmd="imapd" listen="imap" prefork=0
imaps cmd="imapd -s" listen="imaps" prefork=0
# pop3 cmd="pop3d" listen="pop3" prefork=0
# pop3s cmd="pop3d -s" listen="pop3s" prefork=0
sieve cmd="timsieved" listen="sieve" prefork=0
# at least one LMTP is required for delivery
# lmtp cmd="lmtpd" listen="lmtp" prefork=0
# lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp"
prefork=0
lmtpunix cmd="lmtpd" listen="/var/lib/imap/socket/lmtp"
prefork=0
# lmtpunix cmd="lmtpd" listen="/var/spool/postfix/public/lmtp"
prefork=1
# this is only necessary if using notifications
# notify cmd="notifyd" listen="/var/lib/imap/socket/notify"
proto="udp" prefork=1
}
EVENTS {
# this is required
checkpoint cmd="ctl_cyrusdb -c" period=30
# this is only necessary if using duplicate delivery suppression
delprune cmd="cyr_expire -E 3" at=0400
# this is only necessary if caching TLS sessions
tlsprune cmd="tls_prune" at=0400
# Uncomment the next entry, if you want to automatically remove
# old messages of EVERY user.
# This example calls ipurge every 60 minutes and ipurge will delete
# ALL messages older then 30 days.
# enter 'man 8 ipurge' for more details
# cleanup cmd="ipurge -d 30 -f" period=60
}
More information about the Linux
mailing list