LinuxPaule
16.05.07, 12:08
Hallo Zusammen,
ich habe ein Problem, ich weiß nicht genau, wo der fehler liegt. Ich bekomme immer beim senden von einem Client über smtp den Fehler "Relay Access denied"
hier einmal meine konfig per saslfinger -s
saslfinger - postfix Cyrus sasl configuration Wed May 16 13:02:24 CEST 2007
version: 1.0.1
mode: server-side SMTP AUTH
-- basics --
Postfix: 2.1.5
System: Debian GNU/Linux 3.1 \n \l
-- smtpd is linked to --
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7e4a000)
-- active SMTP AUTH and TLS parameters for smtpd --
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
-- listing of /usr/lib/sasl2 --
ls: /usr/lib/sasl2/Sendmail.conf: No such file or directory
total 860
drwxr-xr-x 2 root root 4096 May 16 08:14 .
drwxr-xr-x 50 root root 20480 May 16 08:25 ..
-rw-r--r-- 1 root root 13492 Aug 8 2006 libanonymous.a
-rw-r--r-- 1 root root 851 Aug 8 2006 libanonymous.la
-rw-r--r-- 1 root root 13824 Aug 8 2006 libanonymous.so
-rw-r--r-- 1 root root 13824 Aug 8 2006 libanonymous.so.2
-rw-r--r-- 1 root root 13824 Aug 8 2006 libanonymous.so.2.0.19
-rw-r--r-- 1 root root 16298 Aug 8 2006 libcrammd5.a
-rw-r--r-- 1 root root 837 Aug 8 2006 libcrammd5.la
-rw-r--r-- 1 root root 16180 Aug 8 2006 libcrammd5.so
-rw-r--r-- 1 root root 16180 Aug 8 2006 libcrammd5.so.2
-rw-r--r-- 1 root root 16180 Aug 8 2006 libcrammd5.so.2.0.19
-rw-r--r-- 1 root root 47520 Aug 8 2006 libdigestmd5.a
-rw-r--r-- 1 root root 860 Aug 8 2006 libdigestmd5.la
-rw-r--r-- 1 root root 43944 Aug 8 2006 libdigestmd5.so
-rw-r--r-- 1 root root 43944 Aug 8 2006 libdigestmd5.so.2
-rw-r--r-- 1 root root 43944 Aug 8 2006 libdigestmd5.so.2.0.19
-rw-r--r-- 1 root root 13726 Aug 8 2006 liblogin.a
-rw-r--r-- 1 root root 831 Aug 8 2006 liblogin.la
-rw-r--r-- 1 root root 14028 Aug 8 2006 liblogin.so
-rw-r--r-- 1 root root 14028 Aug 8 2006 liblogin.so.2
-rw-r--r-- 1 root root 14028 Aug 8 2006 liblogin.so.2.0.19
-rw-r--r-- 1 root root 31248 Aug 8 2006 libntlm.a
-rw-r--r-- 1 root root 825 Aug 8 2006 libntlm.la
-rw-r--r-- 1 root root 30692 Aug 8 2006 libntlm.so
-rw-r--r-- 1 root root 30692 Aug 8 2006 libntlm.so.2
-rw-r--r-- 1 root root 30692 Aug 8 2006 libntlm.so.2.0.19
-rw-r--r-- 1 root root 20142 Aug 8 2006 libotp.a
-rw-r--r-- 1 root root 825 Aug 8 2006 libotp.la
-rw-r--r-- 1 root root 43184 Aug 8 2006 libotp.so
-rw-r--r-- 1 root root 43184 Aug 8 2006 libotp.so.2
-rw-r--r-- 1 root root 43184 Aug 8 2006 libotp.so.2.0.19
-rw-r--r-- 1 root root 13886 Aug 8 2006 libplain.a
-rw-r--r-- 1 root root 831 Aug 8 2006 libplain.la
-rw-r--r-- 1 root root 14096 Aug 8 2006 libplain.so
-rw-r--r-- 1 root root 14096 Aug 8 2006 libplain.so.2
-rw-r--r-- 1 root root 14096 Aug 8 2006 libplain.so.2.0.19
-rw-r--r-- 1 root root 21810 Aug 8 2006 libsasldb.a
-rw-r--r-- 1 root root 852 Aug 8 2006 libsasldb.la
-rw-r--r-- 1 root root 18692 Aug 8 2006 libsasldb.so
-rw-r--r-- 1 root root 18692 Aug 8 2006 libsasldb.so.2
-rw-r--r-- 1 root root 18692 Aug 8 2006 libsasldb.so.2.0.19
-rw-r----- 1 root root 701 May 15 23:00 saslpasswd.conf
-- content of /etc/postfix/sasl/smtpd.conf --
log-level: 3
pwcheck_method: saslauthd
mechlist: CRAM-MD5 PLAIN LOGIN
-- active services in /etc/postfix/master.cf --
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
smtp inet n - n - - smtpd -v
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
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
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
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 -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=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}
-- mechanisms on localhost --
250-AUTH NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
-- end of saslfinger output --
und dann noch die Postfix config mittels postconf -n
alias_maps = mysql:/etc/postfix/mysql_alias_map.cf
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_size_limit = 0
mydestination = $myhostname $mydomain localhost.$mydomain localhost
mydomain = h1282675.server.net
myhostname = h1282675.server.net
mynetworks = 127.0.0.0/8
myorigin = $mydomain
relay_domains =
smtp_tls_cert_file = /etc/postfix/ssl/smtps.pem
smtp_tls_key_file = /etc/postfix/ssl/smtps.pem
smtp_tls_loglevel = 3
smtp_tls_session_cache_timeout = 3600s
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
tls_random_source = dev:/dev/urandom
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_maps.cf
virtual_gid_maps = static:100
virtual_mailbox_base = /
virtual_mailbox_domains = mysql:/etc/postfix/mysql_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailboxes.cf
virtual_transport = virtual
virtual_uid_maps = static:1000
findet ihr den fehler, was hab ich falsch gemacht? Die domains die auf dem server liegen werden in der /etc/postfix/mysql_domains.cf hergeholt
Vielen dank jetzt schonmal
Gruß
Björn
ich habe ein Problem, ich weiß nicht genau, wo der fehler liegt. Ich bekomme immer beim senden von einem Client über smtp den Fehler "Relay Access denied"
hier einmal meine konfig per saslfinger -s
saslfinger - postfix Cyrus sasl configuration Wed May 16 13:02:24 CEST 2007
version: 1.0.1
mode: server-side SMTP AUTH
-- basics --
Postfix: 2.1.5
System: Debian GNU/Linux 3.1 \n \l
-- smtpd is linked to --
libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7e4a000)
-- active SMTP AUTH and TLS parameters for smtpd --
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
-- listing of /usr/lib/sasl2 --
ls: /usr/lib/sasl2/Sendmail.conf: No such file or directory
total 860
drwxr-xr-x 2 root root 4096 May 16 08:14 .
drwxr-xr-x 50 root root 20480 May 16 08:25 ..
-rw-r--r-- 1 root root 13492 Aug 8 2006 libanonymous.a
-rw-r--r-- 1 root root 851 Aug 8 2006 libanonymous.la
-rw-r--r-- 1 root root 13824 Aug 8 2006 libanonymous.so
-rw-r--r-- 1 root root 13824 Aug 8 2006 libanonymous.so.2
-rw-r--r-- 1 root root 13824 Aug 8 2006 libanonymous.so.2.0.19
-rw-r--r-- 1 root root 16298 Aug 8 2006 libcrammd5.a
-rw-r--r-- 1 root root 837 Aug 8 2006 libcrammd5.la
-rw-r--r-- 1 root root 16180 Aug 8 2006 libcrammd5.so
-rw-r--r-- 1 root root 16180 Aug 8 2006 libcrammd5.so.2
-rw-r--r-- 1 root root 16180 Aug 8 2006 libcrammd5.so.2.0.19
-rw-r--r-- 1 root root 47520 Aug 8 2006 libdigestmd5.a
-rw-r--r-- 1 root root 860 Aug 8 2006 libdigestmd5.la
-rw-r--r-- 1 root root 43944 Aug 8 2006 libdigestmd5.so
-rw-r--r-- 1 root root 43944 Aug 8 2006 libdigestmd5.so.2
-rw-r--r-- 1 root root 43944 Aug 8 2006 libdigestmd5.so.2.0.19
-rw-r--r-- 1 root root 13726 Aug 8 2006 liblogin.a
-rw-r--r-- 1 root root 831 Aug 8 2006 liblogin.la
-rw-r--r-- 1 root root 14028 Aug 8 2006 liblogin.so
-rw-r--r-- 1 root root 14028 Aug 8 2006 liblogin.so.2
-rw-r--r-- 1 root root 14028 Aug 8 2006 liblogin.so.2.0.19
-rw-r--r-- 1 root root 31248 Aug 8 2006 libntlm.a
-rw-r--r-- 1 root root 825 Aug 8 2006 libntlm.la
-rw-r--r-- 1 root root 30692 Aug 8 2006 libntlm.so
-rw-r--r-- 1 root root 30692 Aug 8 2006 libntlm.so.2
-rw-r--r-- 1 root root 30692 Aug 8 2006 libntlm.so.2.0.19
-rw-r--r-- 1 root root 20142 Aug 8 2006 libotp.a
-rw-r--r-- 1 root root 825 Aug 8 2006 libotp.la
-rw-r--r-- 1 root root 43184 Aug 8 2006 libotp.so
-rw-r--r-- 1 root root 43184 Aug 8 2006 libotp.so.2
-rw-r--r-- 1 root root 43184 Aug 8 2006 libotp.so.2.0.19
-rw-r--r-- 1 root root 13886 Aug 8 2006 libplain.a
-rw-r--r-- 1 root root 831 Aug 8 2006 libplain.la
-rw-r--r-- 1 root root 14096 Aug 8 2006 libplain.so
-rw-r--r-- 1 root root 14096 Aug 8 2006 libplain.so.2
-rw-r--r-- 1 root root 14096 Aug 8 2006 libplain.so.2.0.19
-rw-r--r-- 1 root root 21810 Aug 8 2006 libsasldb.a
-rw-r--r-- 1 root root 852 Aug 8 2006 libsasldb.la
-rw-r--r-- 1 root root 18692 Aug 8 2006 libsasldb.so
-rw-r--r-- 1 root root 18692 Aug 8 2006 libsasldb.so.2
-rw-r--r-- 1 root root 18692 Aug 8 2006 libsasldb.so.2.0.19
-rw-r----- 1 root root 701 May 15 23:00 saslpasswd.conf
-- content of /etc/postfix/sasl/smtpd.conf --
log-level: 3
pwcheck_method: saslauthd
mechlist: CRAM-MD5 PLAIN LOGIN
-- active services in /etc/postfix/master.cf --
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
smtp inet n - n - - smtpd -v
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - - 300 1 qmgr
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
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
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 -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=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}
-- mechanisms on localhost --
250-AUTH NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
-- end of saslfinger output --
und dann noch die Postfix config mittels postconf -n
alias_maps = mysql:/etc/postfix/mysql_alias_map.cf
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
inet_interfaces = all
mailbox_size_limit = 0
mydestination = $myhostname $mydomain localhost.$mydomain localhost
mydomain = h1282675.server.net
myhostname = h1282675.server.net
mynetworks = 127.0.0.0/8
myorigin = $mydomain
relay_domains =
smtp_tls_cert_file = /etc/postfix/ssl/smtps.pem
smtp_tls_key_file = /etc/postfix/ssl/smtps.pem
smtp_tls_loglevel = 3
smtp_tls_session_cache_timeout = 3600s
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
tls_random_source = dev:/dev/urandom
virtual_alias_domains =
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_maps.cf
virtual_gid_maps = static:100
virtual_mailbox_base = /
virtual_mailbox_domains = mysql:/etc/postfix/mysql_domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailboxes.cf
virtual_transport = virtual
virtual_uid_maps = static:1000
findet ihr den fehler, was hab ich falsch gemacht? Die domains die auf dem server liegen werden in der /etc/postfix/mysql_domains.cf hergeholt
Vielen dank jetzt schonmal
Gruß
Björn