rww4ired wrote:==== Required information ====
- iRedMail version: 8.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): ldap
- Linux/BSD distribution name and version: centos 6.3
- Related log if you're reporting an issue:
====
maillog
Oct 18 00:58:45 a postfix/smtpd[17145]: initializing the server-side TLS engine
Oct 18 00:58:45 a postfix/smtpd[17145]: connect from 157.sub-70-197-6.myvzw.com[70.197.6.157]
Oct 18 00:58:47 a postfix/smtpd[17145]: setting up TLS connection from 157.sub-70-197-6.myvzw.com[70.197.6.157]
Oct 18 00:58:47 a postfix/smtpd[17145]: 157.sub-70-197-6.myvzw.com[70.197.6.157]: TLS cipher list "ALL:!EXPORT:!LOW:+RC4:@STRENGTH"
Oct 18 00:58:47 a postfix/smtpd[17145]: SSL_accept:before/accept initialization
Oct 18 00:58:47 a postfix/smtpd[17145]: SSL_accept:SSLv3 read client hello B
Oct 18 00:58:47 a postfix/smtpd[17145]: SSL_accept:SSLv3 write server hello A
Oct 18 00:58:47 a postfix/smtpd[17145]: SSL_accept:SSLv3 write certificate A
Oct 18 00:58:47 a postfix/smtpd[17145]: SSL_accept:SSLv3 write key exchange A
Oct 18 00:58:47 a postfix/smtpd[17145]: SSL_accept:SSLv3 write server done A
Oct 18 00:58:47 a postfix/smtpd[17145]: SSL_accept:SSLv3 flush data
Oct 18 00:58:51 a postfix/smtpd[17145]: SSL_accept:SSLv3 read client key exchange A
Oct 18 00:58:51 a postfix/smtpd[17145]: SSL_accept:SSLv3 read finished A
Oct 18 00:58:51 a postfix/smtpd[17145]: SSL_accept:SSLv3 write session ticket A
Oct 18 00:58:51 a postfix/smtpd[17145]: SSL_accept:SSLv3 write change cipher spec A
Oct 18 00:58:51 a postfix/smtpd[17145]: SSL_accept:SSLv3 write finished A
Oct 18 00:58:51 a postfix/smtpd[17145]: SSL_accept:SSLv3 flush data
Oct 18 00:58:51 a postfix/smtpd[17145]: Anonymous TLS connection established from 157.sub-70-197-6.myvzw.com[70.197.6.157]: TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)
Oct 18 00:58:52 a postfix/smtpd[17145]: fatal: no SASL authentication mechanisms
Oct 18 00:58:53 a postfix/master[17071]: warning: process /usr/libexec/postfix/smtpd pid 17145 exit status 1
Oct 18 00:58:53 a postfix/master[17071]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
---------------------------------------
Issue: I am also using this irekdmail server for a vpn and web hosting. In migrating my services over it seems I have messed up some cofiguration. I cannot seem to authenticate to the server. The settings on thunderbird are the same as when it worked. Startssl and plain login. Ports are open and from the maillog I am establishing a connnection however no SASL mechanisms can be found.
Where to go from here?
I increased the debug level in main.cf by:
smtpd_tls_loglevel = 4
Here is the output when I try to sendmail from postmaster
Oct 18 14:59:30 a postfix/smtpd[28977]: initializing the server-side TLS engine
Oct 18 14:59:30 a postfix/smtpd[28977]: connect from localhost[127.0.0.1]
Oct 18 14:59:30 a postfix/smtpd[28977]: fatal: no SASL authentication mechanisms
Oct 18 14:59:31 a roundcube: SMTP Error: SMTP error: Connection failed: Invalid response code received from server in /var/www/roundcubemail-0.8.1/program/include/main.inc on line 1485 (POST /mail/?_unlock=loading1350586770722&_lang=undefined?_task=mail&_action=send)
Oct 18 14:59:31 a postfix/master[28904]: warning: process /usr/libexec/postfix/smtpd pid 28977 exit status 1
Oct 18 14:59:31 a postfix/master[28904]: warning: /usr/libexec/postfix/smtpd: bad command startup -- throttling
Here is the relevant portions of the postfix main.cf file
reject_unlisted_sender = yes
transport_maps = proxy:ldap:/etc/postfix/ldap/transport_maps_user.cf, proxy:ldap:/etc/postfix/ldap/transport_maps_domain.cf
virtual_alias_maps = proxy:ldap:/etc/postfix/ldap/virtual_alias_maps.cf, proxy:ldap:/etc/postfix/ldap/virtual_group_maps.cf, proxy:ldap:/etc/postfix/ldap/virtual_group_members_maps.cf, proxy:ldap:/etc/postfix/ldap/catchall_maps.cf
virtual_mailbox_domains = proxy:ldap:/etc/postfix/ldap/virtual_mailbox_domains.cf
virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap/virtual_mailbox_maps.cf
sender_bcc_maps = proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_user.cf, proxy:ldap:/etc/postfix/ldap/sender_bcc_maps_domain.cf
recipient_bcc_maps = proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_user.cf, proxy:ldap:/etc/postfix/ldap/recipient_bcc_maps_domain.cf
relay_domains = $mydestination, proxy:ldap:/etc/postfix/ldap/relay_domains.cf
smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ldap/sender_login_maps.cf
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = localhost
broken_sasl_auth_clients = yes
smtpd_sasl_security_options = noanonymous noplaintext
smtpd_sasl_authenticated_header = no
smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unknown_sender_domain, reject_unknown_recipient_domain reject_non_fqdn_sender reject_non_fqdn_recipient reject_unlisted_recipient check_policy_service inet:127.0.0.1:7777 reject_unauth_destination reject_non_fqdn_helo_hostname reject_invalid_helo_hostname check_policy_service inet:127.0.0.1:10031 permit_inet_interfaces check_relay_domains
smtpd_tls_security_level = may
smtpd_tls_loglevel = 4
smtpd_tls_key_file = /etc/pki/tls/private/mail.dejure.us.key
smtpd_tls_cert_file = /etc/pki/tls/certs/mail.dejure.us.crt
smtpd_tls_CAfile = /etc/pki/tls/certs/ca.crt
tls_random_source = dev:/dev/urandom
# Uncomment below line to enable policyd sender throttle.
#smtpd_end_of_data_restrictions = check_policy_service inet:127.0.0.1:10032
mailbox_command = /usr/libexec/dovecot/deliver
virtual_transport = dovecot
dovecot_destination_recipient_limit = 1
smtpd_sasl_type = dovecot
smtpd_sasl_path = ./private/dovecot-auth
content_filter = smtp-amavis:[127.0.0.1]:10024
smtp-amavis_destination_recipient_limit = 1