Sorry dass ich euch nerve mit dem Newbie Thema aber ich bin jetzt etwa seit 30h dran habe auch schon zigmal gegooglet und diverse howtos ausprobiert um dies zu aktivieren und krieg es einfach nicht hin wie ich will.
Habe FreeBSD 6.0 mit Postfix 2.2.8, qpopper 4.0.8 , cyrussasl 1.5
Alles aus den Ports installiert
Hier die Main.cf
die master.cf
/usr/local/lib/sasl/smtpd.conf:
Ich möchte einfach eine stinknormale smtp auth haben.
wenn ich nun per client senden möchte verlangt er immer pw.
das einzig schlaue was mir jedoch nicht weitergeholfen hat fand ich im maillog:
In den anderen Logs ist finde ich keine Fehler oder so.
danke für eure geduld
Habe FreeBSD 6.0 mit Postfix 2.2.8, qpopper 4.0.8 , cyrussasl 1.5
Alles aus den Ports installiert
Hier die Main.cf
Code:
myhostname = mail.righter.ch
mydomain = righter.ch
myorigin = $mydomain
mydestination = $myhostname, localhost, $mydomain
readme_directory = no
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
html_directory = no
setgid_group = maildrop
command_directory = /usr/local/sbin
manpage_directory = /usr/local/man
daemon_directory = /usr/local/libexec/postfix
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
queue_directory = /var/spool/postfix
mail_owner = postfix
unknown_local_recipient_reject_code = 450
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = server
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated, reject
die master.cf
Code:
#
# Postfix master process configuration file. For details on the format
# of the file, see the Postfix master(5) manual page.
#
# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd -v
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - n - - smtpd
# -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes
#submission inet n - n - - smtpd
# -o smtpd_etrn_restrictions=reject
# -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes
#628 inet n - n - - qmqpd
pickup fifo n - n 60 1 pickup
cleanup unix n - n - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - n 300 1 oqmgr
tlsmgr unix - - n 1000? 1 tlsmgr
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
# When relaying mail as backup MX, disable fallback_relay to avoid MX loops
relay unix - - n - - smtp
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
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
anvil unix - - n - 1 anvil
scache unix - - n - 1 scache
#
# ====================================================================
# Interfaces to non-Postfix software. Be sure to examine the manual
# pages of the non-Postfix software to find out what options it wants.
#
# Many of the following services use the Postfix pipe(8) delivery
# agent. See the pipe(8) man page for information about ${recipient}
# and other message envelope options.
# ====================================================================
#
# maildrop. See the Postfix MAILDROP_README file for details.
# Also specify in main.cf: maildrop_destination_recipient_limit=1
#
maildrop unix - n n - - pipe
flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
#
# The Cyrus deliver program has changed incompatibly, multiple times.
#
old-cyrus unix - n n - - pipe
flags=R user=cyrus argv=/cyrus/bin/deliver -e -m ${extension} ${user}
# Cyrus 2.1.5 (Amos Gouaux)
# Also specify in main.cf: cyrus_destination_recipient_limit=1
cyrus unix - n n - - pipe
user=cyrus argv=/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
#
# See the Postfix UUCP_README file for configuration details.
#
uucp unix - n n - - pipe
flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
#
# Other external delivery methods.
#
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
/usr/local/lib/sasl/smtpd.conf:
Code:
#Check mit SASL Datenbank
pwcheck_method: sasldb
Ich möchte einfach eine stinknormale smtp auth haben.
wenn ich nun per client senden möchte verlangt er immer pw.
das einzig schlaue was mir jedoch nicht weitergeholfen hat fand ich im maillog:
Code:
Feb 28 14:04:59 server postfix/smtpd[850]: connection established
Feb 28 14:04:59 server postfix/smtpd[850]: master_notify: status 0
Feb 28 14:04:59 server postfix/smtpd[850]: name_mask: resource
Feb 28 14:04:59 server postfix/smtpd[850]: name_mask: software
Feb 28 14:04:59 server postfix/smtpd[850]: name_mask: noanonymous
Feb 28 14:04:59 server postfix/smtpd[850]: connect from cable-static-87-245-102-63.shinternet.ch[87.245.102.63]
Feb 28 14:04:59 server postfix/smtpd[850]: match_list_match: cable-static-87-245-102-63.shinternet.ch: no match
Feb 28 14:04:59 server postfix/smtpd[850]: match_list_match: 87.245.102.63: no match
Feb 28 14:04:59 server postfix/smtpd[850]: match_list_match: cable-static-87-245-102-63.shinternet.ch: no match
Feb 28 14:04:59 server postfix/smtpd[850]: match_list_match: 87.245.102.63: no match
Feb 28 14:04:59 server postfix/smtpd[850]: match_hostname: cable-static-87-245-102-63.shinternet.ch ~? 87.245.120.32/29
Feb 28 14:04:59 server postfix/smtpd[850]: match_hostaddr: 87.245.102.63 ~? 87.245.120.32/29
Feb 28 14:04:59 server postfix/smtpd[850]: match_hostname: cable-static-87-245-102-63.shinternet.ch ~? 87.0.0.0/8
Feb 28 14:04:59 server postfix/smtpd[850]: match_hostaddr: 87.245.102.63 ~? 87.0.0.0/8
Feb 28 14:04:59 server postfix/smtpd[850]: > cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: 220 mail.righter.ch ESMTP Postfix
Feb 28 14:04:59 server postfix/smtpd[850]: < cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: EHLO righternb
Feb 28 14:04:59 server postfix/smtpd[850]: > cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: 250-mail.righter.ch
Feb 28 14:04:59 server postfix/smtpd[850]: > cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: 250-PIPELINING
Feb 28 14:04:59 server postfix/smtpd[850]: > cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: 250-SIZE 10240000
Feb 28 14:04:59 server postfix/smtpd[850]: > cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: 250-VRFY
Feb 28 14:04:59 server postfix/smtpd[850]: > cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: 250-ETRN
Feb 28 14:04:59 server postfix/smtpd[850]: > cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: 250-AUTH LOGIN PLAIN DIGEST-MD5 CRAM-MD5
Feb 28 14:04:59 server postfix/smtpd[850]: match_list_match: cable-static-87-245-102-63.shinternet.ch: no match
Feb 28 14:04:59 server postfix/smtpd[850]: match_list_match: 87.245.102.63: no match
Feb 28 14:04:59 server postfix/smtpd[850]: > cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: 250-AUTH=LOGIN PLAIN DIGEST-MD5 CRAM-MD5
Feb 28 14:04:59 server postfix/smtpd[850]: > cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: 250 8BITMIME
Feb 28 14:04:59 server postfix/smtpd[850]: < cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: AUTH LOGIN
Feb 28 14:04:59 server postfix/smtpd[850]: smtpd_sasl_authenticate: sasl_method LOGIN
Feb 28 14:04:59 server postfix/smtpd[850]: smtpd_sasl_authenticate: uncoded challenge: Username:
Feb 28 14:04:59 server postfix/smtpd[850]: > cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: 334 VXNlcm5hbWU6
Feb 28 14:04:59 server postfix/smtpd[850]: < cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: cmlnaHRlcg==
Feb 28 14:04:59 server postfix/smtpd[850]: smtpd_sasl_authenticate: decoded response: BENUTZERNAME
Feb 28 14:04:59 server postfix/smtpd[850]: smtpd_sasl_authenticate: uncoded challenge: Password:
Feb 28 14:04:59 server postfix/smtpd[850]: > cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: 334 ""HASH""
Feb 28 14:04:59 server postfix/smtpd[850]: < cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: ""HASH""==
Feb 28 14:04:59 server postfix/smtpd[850]: smtpd_sasl_authenticate: decoded response: PW
Feb 28 14:04:59 server postfix/smtpd[850]: warning: cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: SASL LOGIN authentication failed
Feb 28 14:04:59 server postfix/smtpd[850]: > cable-static-87-245-102-63.shinternet.ch[87.245.102.63]: 535 Error: authentication failed
Feb 28 14:04:59 server postfix/smtpd[850]: smtp_get: EOF
Feb 28 14:04:59 server postfix/smtpd[850]: match_hostname: cable-static-87-245-102-63.shinternet.ch ~? 87.245.120.32/29
Feb 28 14:04:59 server postfix/smtpd[850]: match_hostaddr: 87.245.102.63 ~? 87.245.120.32/29
Feb 28 14:04:59 server postfix/smtpd[850]: match_hostname: cable-static-87-245-102-63.shinternet.ch ~? 87.0.0.0/8
Feb 28 14:04:59 server postfix/smtpd[850]: match_hostaddr: 87.245.102.63 ~? 87.0.0.0/8
Feb 28 14:04:59 server postfix/smtpd[850]: lost connection after AUTH from cable-static-87-245-102-63.shinternet.ch[87.245.102.63]
Feb 28 14:04:59 server postfix/smtpd[850]: disconnect from cable-static-87-245-102-63.shinternet.ch[87.245.102.63]
Feb 28 14:04:59 server postfix/smtpd[850]: master_notify: status 1
Feb 28 14:04:59 server postfix/smtpd[850]: connection closed
In den anderen Logs ist finde ich keine Fehler oder so.
danke für eure geduld