On 2015-06-11 16:15, Jithesh AP wrote:
Hi
Hi,
Thank you for your mail.
I reduced the log level and here is the error that shows up as soon as
i try to send a mail from my desktop opera client (the mailserver
runs on my amazon instance). Desktop is at home and using the comcast
connection
----------------------------
Jun 11 06:18:27 ml postfix/postfix-script[20760]: starting the Postfix
mail system
Jun 11 06:18:27 ml postfix/master[20761]: daemon started -- version
2.6.6, configuration /etc/postfix
Jun 11 06:18:41 ml postfix/smtpd[20765]: connect from
c-24-6-42-3.hsd1.ca.comcast.net[24.6.42.3]
Jun 11 06:18:41 ml postfix/smtpd[20765]: setting up TLS connection
from c-24-6-42-3.hsd1.ca.comcast.net[24.6.42.3]
Jun 11 06:18:42 ml postfix/smtpd[20765]: Anonymous TLS connection
established from c-24-6-42-3.hsd1.ca.comcast.net[24.6.42.3]: TLSv1
with cipher DHE-RSA-AES256-SHA (256/256 bits)
Jun 11 06:18:44 ml postfix/smtpd[20765]: warning:
c-24-6-42-3.hsd1.ca.comcast.net[24.6.42.3]: SASL LOGIN authentication
failed: authentication failure
Jun 11 06:18:44 ml postfix/smtpd[20765]: disconnect from
c-24-6-42-3.hsd1.ca.comcast.net[24.6.42.3]
-----------------------------
I dont believe it is a password issue, because i login for reading the
mails and i am using the same username/password, and i dont have any
special setup for smtp, i assume i have to use the same
username/password for sending mails as well.
You can use the same user/pw that you use to login to dovecot. You need
some configuration in postfix (and probably dovecot) that tells postfix
where to ask if that user/pw is allowed to login.
Here are the links to postconf -n (-Mf does not work, probably because
i am on 2.6.6) links on dropbox.
https://www.dropbox.com/s/4ktakqpwe89y50m/postconf-n.txt?dl=0
You don't seem to have any SASL configuration in your config. See
http://www.postfix.org/SASL_README.html for how to configure SASL .
saslfinger -c and -s outputs -
https://www.dropbox.com/s/n211yegaojo5wge/saslfinger-c.txt?dl=0
https://www.dropbox.com/s/j53chd5m0rdduqw/saslfinger-s.txt?dl=0
the saslfinger -c output shows the password_maps parameter not present
in main.cf, i am using virtual users thru mysql not sure what this
parameter needs to map to.
Hope this gives sufficient info to help me out.
Regards
Jithesh
Regards
c
On Wed, 10 Jun 2015 23:09:02 -0700, Christian Kivalo
<ml+postfix-us...@valo.at> wrote:
On 2015-06-11 07:51, Jithesh AP wrote:
Hi,
Hi,
I am a newbie and setting up my postfix+mysql+dovecot.
I got things working for receiving/sending mails, via port 993 and
25
(used a client opera mail). After that i tried to enable smtps via
465, but it is not working, the log is giving this error (receiving
via 993 still works fine). Can someone help pls
Jun 10 22:47:06 ml postfix/smtpd[19945]: SSL_accept:SSLv3 flush data
Jun 10 22:47:06 ml postfix/smtpd[19945]: read from 7FB98ABE1E70
< -- snip -->
with cipher DHE-RSA-AES256-SHA (256/256 bits)
Jun 10 22:47:08 ml postfix/smtpd[19945]: warning:
c-24-6-42-3.hsd1.ca.comcast.net[24.6.42.3]: SASL LOGIN authentication
failed: authentication failure
Reduce your tls log level, thats not helping. The error is shown here,
you have an authentication failure, so probably your user / password
is wrong or your authentication is not setup properly but that can
not be seen as you only show excerpts of your postfix configuration.
Main.cf config for ssl
smtpd_tls_cert_file=/etc/httpd/ssl/ssl.crt
smtpd_tls_key_file=/etc/httpd/ssl/private.key
smtpd_use_tls=yes
smtpd_tls_loglevel = 3
set smtpd_tls_loglevel = 1 to reduce the verbosity of your tls logs.
smtpd_tls_received_header = yes
smtpd_tls_session_cache_timeout = 3600s
tls_random_source = dev:/dev/urandom
smtp_sasl_mechanism_filter = login
Master.cf config for ssl
smtp inet n - n - - smtpd -o
content_filter=spamassassin
submission inet n - n - - smtpd
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
smtps inet n - n - - smtpd
-o smtpd_tls_wrappermode=yes
-o smtpd_sasl_auth_enable=yes
# -o smtpd_client_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
Any help will be really great.
Please read http://www.postfix.org/DEBUG_README.html#mail and share
the output of postconf -n and postconf -Mf with the mailinglist.
Regards
Jithesh
- Christian