Mal wieder probs mit postfix und smtp-auth

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
kruegerj
Posts: 18
Joined: 2003-01-20 22:30

Mal wieder probs mit postfix und smtp-auth

Post by kruegerj » 2004-02-12 23:19

hi,

ich habe mir nen postfix via apt-get installiert, auch mit postfix-tls...

Nun geht das versenden meiner mails aber immer noch nicht, ich bekomme nach wie vor nen relay access denied...

Hier einmal meine main.cf

Code: Select all


mydomain = mail.net
myhostname = mail.mail.net
mydestination = $myhostname, $mydomain
myorigin = $myhostname
mynetworks = 127.0.0.1
mail_owner = postfix
smtp_banner = $myhostname ESMTP

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/lib/postfix
alias_maps = hash:/etc/postfix/aliases
alias_database = hash:/etc/postfix/aliases
virtual_maps = hash:/etc/postfix/virtual

smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth
smtp_sasl_security_options = noanonymous
program_directory = /usr/lib/postfix
readme_directory = no
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
manpage_directory = /usr/local/man
newaliases_path = /usr/bin/newaliases
mailq_path = /usr/bin/mailq
unknown_local_recipient_reject_code = 450
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_auth_enable = yes
amtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, check_relay_domains


Und hier ein aus zug ausm syslog

Code: Select all

Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: mynetworks ~? debug_peer_list
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: mynetworks ~? fast_flush_domains
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: mynetworks ~? mynetworks
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: relay_domains ~? debug_peer_list
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: relay_domains ~? fast_flush_domains
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: relay_domains ~? mynetworks
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: relay_domains ~? permit_mx_backup_networks
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: relay_domains ~? qmqpd_authorized_clients

Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: relay_domains ~? relay_domains
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: permit_mx_backup_networks ~? debug_peer_list
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: permit_mx_backup_networks ~? fast_flush_domains
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: permit_mx_backup_networks ~? mynetworks
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: permit_mx_backup_networks ~? permit_mx_backup_networks
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: maps_append: proxy:unix:passwd.byname
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: connect to subsystem private/proxymap
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: send attr request = open
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: send attr table = unix:passwd.byname
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: send attr flags = 64
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: private/proxymap socket: wanted attribute: status
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: input attribute name: status
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: input attribute value: 0
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: private/proxymap socket: wanted attribute: flags
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: input attribute name: flags
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: input attribute value: 80
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: private/proxymap socket: wanted attribute: (list terminator)
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: input attribute name: (end)
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: dict_proxy_open: connect to map=unix:passwd.byname status=0 server_flags=01
20
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: dict_open: proxy:unix:passwd.byname
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: maps_append: hash:/etc/postfix/aliases
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: dict_open: hash:/etc/postfix/aliases
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: maps_append: hash:/etc/postfix/virtual
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: dict_open: hash:/etc/postfix/virtual
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: smtpd_access_maps ~? debug_peer_list
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: smtpd_access_maps ~? fast_flush_domains
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: smtpd_access_maps ~? mynetworks
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: smtpd_access_maps ~? permit_mx_backup_networks
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: smtpd_access_maps ~? qmqpd_authorized_clients
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: smtpd_access_maps ~? relay_domains
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: match_string: smtpd_access_maps ~? smtpd_access_maps
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: watchdog_create: 0x8073c08 18000
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: watchdog_stop: 0x8073c08
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: watchdog_start: 0x8073c08
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: connection established
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: master_notify: status 0
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: name_mask: resource
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: name_mask: software
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: name_mask: noanonymous
Feb 12 23:13:11 drecksding postfix/smtpd[10009]: fatal: no SASL authentication mechanisms
Feb 12 23:13:12 drecksding postfix/master[9773]: warning: process /usr/lib/postfix/smtpd pid 10009 exit status 1
Feb 12 23:13:12 drecksding postfix/master[9773]: warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
Ich benutzte debian 3.0 woody bonsai mit testing packeten (daher auch postfix 2.0.16)

über ne helfende antwort würde ich mich freuen

mfg
kruegerj

squize
Userprojekt
Userprojekt
Posts: 741
Joined: 2003-05-19 16:46
Location: Karlsruhe

Re: Mal wieder probs mit postfix und smtp-auth

Post by squize » 2004-02-13 02:00

Etweder ist bei dir kein sasl installiert, oder du hast vergessen sasl richtig zu konfigurieren. Das thema scheint gerade hochkonjunktur zu haben, einfach mal hier im Forum suchen oder dir auf der postfixseite das entsprechende HowTo zu gemüte führen.

Marc

kruegerj
Posts: 18
Joined: 2003-01-20 22:30

Re: Mal wieder probs mit postfix und smtp-auth

Post by kruegerj » 2004-02-13 07:41

wenn du die sasl-lib meinst, die ist drauf....

squize
Userprojekt
Userprojekt
Posts: 741
Joined: 2003-05-19 16:46
Location: Karlsruhe

Re: Mal wieder probs mit postfix und smtp-auth

Post by squize » 2004-02-13 11:19

fatal: no SASL authentication mechanisms <- aber nicht richtig konfiguriert :)

Marc