sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #94259
Re: Flytte Mailserver til ny maskine
Christian Joergensen skrev:
Med localhost benytter mysql-klient-biblioteket nemlig unix sockets, og
hvis din postfix (som den oftest er) er chroot'ed, giver det problemer.
/Christian
Tja - da det var en fungerende server jeg prøvede at rykke den over på -
Reinstallerede jeg hele maskinen og startede forfra.
Nu har jeg et problem jeg ikke kan komme af med:
Jeg ville gerne validere mine brugere idet de sender mails.
Og jeg har nu prøvet et par gange - men bliver ved med at få følgende
fejl:
Jan 12 11:17:32 atlantis postfix/smtpd[6479]: xsasl_dovecot_server_create:
SASL service=smtp, realm=mail.pbj-design.dk
Jan 12 11:17:32 atlantis postfix/smtpd[6479]:
xsasl_dovecot_server_connect: Connecting
Jan 12 11:17:32 atlantis postfix/smtpd[6479]:
xsasl_dovecot_server_connect: auth reply: VERSION?1?0
Jan 12 11:17:32 atlantis postfix/smtpd[6479]:
xsasl_dovecot_server_connect: auth reply: SPID?4736
Jan 12 11:17:42 atlantis postfix/smtpd[6479]: fatal: no SASL
authentication mechanisms
Jan 12 11:17:43 atlantis postfix/master[6472]: warning: process
/usr/lib/postfix/smtpd pid 6479 exit status 1
Jan 12 11:17:43 atlantis postfix/master[6472]: warning:
/usr/lib/postfix/smtpd: bad command startup -- throttling
##########################################################################
Jeg har indsat i main.cf:
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_non_fqdn_hostname,
reject_non_fqdn_sender,
reject_non_fqdn_recipient,
reject_unauth_destination,
reject_unauth_pipelining,
reject_invalid_hostname,
reject_rbl_client opm.blitzed.org,
reject_rbl_client list.dsbl.org,
reject_rbl_client bl.spamcop.net,
reject_rbl_client sbl-xbl.spamhaus.org
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_option = noanonymous
Min master.cf ser således ud:
smtp inet n - y - - smtpd -v
#submission inet n - - - - smtpd
# -o smtpd_enforce_tls=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#smtps inet n - - - - smtpd
# -o smtpd_tls_wrappermode=yes
# -o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#628 inet n - - - - qmqpd
pickup fifo n - - 60 1 pickup
cleanup unix n - - - 0 cleanup
qmgr fifo n - n 300 1 qmgr
#qmgr fifo n - - 300 1 oqmgr
tlsmgr unix - - - 1000? 1 tlsmgr
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
-o fallback_relay=
# -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq unix n - - - - showq
error unix - - - - - error
retry unix - - - - - error
discard unix - - - - - discard
local unix - n n - - local
virtual unix - n n - - virtual
lmtp unix - - - - - lmtp
anvil unix - - - - 1 anvil
scache unix - - - - 1 scache
Men hver gang jeg vil sende mails - så skal jeg indtaste en passwd som
åbenbart ikke passer.
Nu syntes jeg har prøvet alle løsninger mm - uden det store resultat.
Så derfor håber jeg lidt I enten kan hjælpe med dette eller kan vise en
guide der fugerer optimalt på Ubuntu.
Med Venlig Hilsen
Per
References