System: debian 2.6.8 testing
root@mail:~# /etc/init.d/saslauthd stop
Stopping SASL Authentication Daemon: (not running).
root@mail:~# /etc/init.d/saslauthd start
Starting SASL Authentication Daemon: root@mail:~#
root@mail:~# ps aux | grep sasl
root 3773 0.0 0.1 2064 752 pts/3 S+ 13:54 0:00 grep sasl
root@mail:~#
####################
####################
root@mail:~# telnet mail.mueller-sohn.de 25
Trying 192.168.0.1...
Connected to mail.mueller-sohn.de.
Escape character is '^]'.
220 mail.mueller-sohn.de ESMTP Exchange Server 2003 (Microsoft Windows 2003)
ehlo root
250-mail.mueller-sohn.de
250-PIPELINING
250-SIZE 2048000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN DIGEST-MD5 CRAM-MD5
250-AUTH=LOGIN PLAIN DIGEST-MD5 CRAM-MD5
250 8BITMIME
################
################
hier die main.cf
root@mail:~# cat /etc/postfix/main.cf
smtpd_banner = $myhostname ESMTP Exchange Server 2003 (Microsoft Windows 2003)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
myhostname = mail.mueller-sohn.de
mydomain = mueller-sohn.de
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.mueller-sohn.de, mueller-sohn.de, localhost.mueller-sohn.de, localhost
relayhost =
mynetworks = 127.0.0.0/8, 192.168.0.0/24
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
message_size_limit = 2048000
# "smtpd_recipient_restrictions" ist nur testweise so eingestellt
smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
smtp_sasl_auth_enable = no
broken_sasl_auth_clients = yes
#############################
#############################
Weil postfix als chroot läuft habe ich laut diversen how-to' s /var/run/saslauthd in /var/spool/postfix/var/run/saslauthd verschoben und einen link in /var/run/saslauthd gesetzt. Das Gleiche habe ich mit der /etc/sasldb2 gemacht. Ebenso habe ich postfix in die Gruppe sasl aufgenommen.
die /etc/defaults/sasluthd:
START=yes
MECHANISMS="sasldb"
die /etc/postfix/sasl/smtpd.conf:
root@mail:~# cat /etc/postfix/sasl/smtpd.conf
saslauthd_path: /var/run/saslauthd
pwcheck_method: auxprop
mech_list: DIGEST-MD5 CRAM-MD5 GSSAPI PLAIN LOGIN
die /etc/init.d/saslauthd :
NAME=saslauthd
DAEMON="/usr/sbin/${NAME}"
DESC="SASL Authentication Daemon"
DEFAULTS=/etc/default/saslauthd
# PWDIR=/var/run/saslauthd
PWDIR=/var/spool/postfix/var/run/saslauthd
# PIDFILE="/var/run/${NAME}/saslauthd.pid"
PIDFILE="/var/spool/postfix/var/run/${NAME}/saslauthd.pid"
.
.
.
Warum startet saslauthd nicht, bzw. sehe ich keinen entsprechenden Prozesseintrag wenn ich ps aux eingebe???
root@mail:~# /etc/init.d/saslauthd stop
Stopping SASL Authentication Daemon: (not running).
root@mail:~# /etc/init.d/saslauthd start
Starting SASL Authentication Daemon: root@mail:~#
root@mail:~# ps aux | grep sasl
root 3773 0.0 0.1 2064 752 pts/3 S+ 13:54 0:00 grep sasl
root@mail:~#
####################
####################
root@mail:~# telnet mail.mueller-sohn.de 25
Trying 192.168.0.1...
Connected to mail.mueller-sohn.de.
Escape character is '^]'.
220 mail.mueller-sohn.de ESMTP Exchange Server 2003 (Microsoft Windows 2003)
ehlo root
250-mail.mueller-sohn.de
250-PIPELINING
250-SIZE 2048000
250-VRFY
250-ETRN
250-AUTH LOGIN PLAIN DIGEST-MD5 CRAM-MD5
250-AUTH=LOGIN PLAIN DIGEST-MD5 CRAM-MD5
250 8BITMIME
################
################
hier die main.cf
root@mail:~# cat /etc/postfix/main.cf
smtpd_banner = $myhostname ESMTP Exchange Server 2003 (Microsoft Windows 2003)
biff = no
# appending .domain is the MUA's job.
append_dot_mydomain = no
myhostname = mail.mueller-sohn.de
mydomain = mueller-sohn.de
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = mail.mueller-sohn.de, mueller-sohn.de, localhost.mueller-sohn.de, localhost
relayhost =
mynetworks = 127.0.0.0/8, 192.168.0.0/24
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
recipient_delimiter = +
inet_interfaces = all
message_size_limit = 2048000
# "smtpd_recipient_restrictions" ist nur testweise so eingestellt
smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_local_domain =
smtp_sasl_auth_enable = no
broken_sasl_auth_clients = yes
#############################
#############################
Weil postfix als chroot läuft habe ich laut diversen how-to' s /var/run/saslauthd in /var/spool/postfix/var/run/saslauthd verschoben und einen link in /var/run/saslauthd gesetzt. Das Gleiche habe ich mit der /etc/sasldb2 gemacht. Ebenso habe ich postfix in die Gruppe sasl aufgenommen.
die /etc/defaults/sasluthd:
START=yes
MECHANISMS="sasldb"
die /etc/postfix/sasl/smtpd.conf:
root@mail:~# cat /etc/postfix/sasl/smtpd.conf
saslauthd_path: /var/run/saslauthd
pwcheck_method: auxprop
mech_list: DIGEST-MD5 CRAM-MD5 GSSAPI PLAIN LOGIN
die /etc/init.d/saslauthd :
NAME=saslauthd
DAEMON="/usr/sbin/${NAME}"
DESC="SASL Authentication Daemon"
DEFAULTS=/etc/default/saslauthd
# PWDIR=/var/run/saslauthd
PWDIR=/var/spool/postfix/var/run/saslauthd
# PIDFILE="/var/run/${NAME}/saslauthd.pid"
PIDFILE="/var/spool/postfix/var/run/${NAME}/saslauthd.pid"
.
.
.
Warum startet saslauthd nicht, bzw. sehe ich keinen entsprechenden Prozesseintrag wenn ich ps aux eingebe???