[Workaround.org] Error on Authenticated SMTP with dovecot
Just Nobody
invaleed at gmail.com
Tue Aug 19 03:05:54 CEST 2008
Christoph Haas wrote:
> Just Nobody schrieb:
>> auth plain YWRtaW5AbXVtdGF6LndlYi5pZABhZG1pbkBtdW10YXoud2ViLmlkAGthbmNodXQ=
>> 504 5.5.4 Encryption required for requested authentication mechanism
>>
>> Howto fix it?
>
> The server tells you that plaintext authentication is not allowed. It's
> likely that you have set:
>
> $> postconf -e smtpd_use_tls=yes
> $> postconf -e smtpd_tls_auth_only=yes
>
> The tutorial reads: "By default Postfix will allow that the login data for
> SMTP authentication is sent in plain text. You better only allow encrypted
> transmission of the credentials by setting these parameters"
I'am already set like that, but still error
$> postconf -e smtpd_use_tls=yes
$> postconf -e smtpd_tls_auth_only=yes
This morning, iam solve my problem, i'am setting like this :
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
and delete this conf
smtpd_tls_auth_only=yes
gothca, solve my problem :)
This is my "postconf -n"
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
content_filter = smtp-amavis:[127.0.0.1]:10024
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
mailbox_size_limit = 0
mydestination = localhost
myhostname = mail.mumtaz.web.id
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = /usr/share/doc/postfix
receive_override_options = no_address_mappings
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_data_restrictions = reject_unauth_pipelining,
reject_multi_recipient_bounce, permit
smtpd_recipient_restrictions =
permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination,check_policy_service
inet:127.0.0.1:60000, permit
smtpd_sasl_auth_enable = yes
smtpd_sasl_path = private/auth
smtpd_sasl_type = dovecot
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_maps =
mysql:/etc/postfix/mysql-virtual-alias-maps.cf,mysql:/etc/postfix/mysql-email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_domains =
mysql:/etc/postfix/mysql-virtual-mailbox-domains.cf
virtual_mailbox_maps = mysql:/etc/postfix/mysql-virtual-mailbox-maps.cf
virtual_transport = dovecot
virtual_uid_maps = static:5000
Thanks,
-inv-
More information about the Workaround-chitchat
mailing list