Hi all,
I revert once again to this forum as I am at a loss as to what is happening.
I am running Slackware 11.0 as a mailserver that runs Postfix v2.3.3 + Dovecot-IMAP v1.0rc14 + MySQL (for virtual domains & accounts) + Postfix Admin v2.1.0.
My mailserver as is, is working fine with authentication and TLS encryption for sending however due to that fact that my e-mail was all being marked as SPAM (since no reverse lookup on my domain was possible) I decided to use my ISP's SMTP server for relaying.
To accomplish this I added the following to /etc/postfix/main.cf:
FYI my ISP's SMTP server requires authentication with no TLS.
Code:
relayhost = [smtp.myisp.pt]
smtp_use_tls = no
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth
smtp_sasl_security_options = noanonymous
Then I edited smtp_auth to include my ISP SMTP server and ran postmap smtp_auth
However now every time I try to send mail I get the following error messages in /var/log/maillog:
Code:
Jan 16 20:18:52 cortex postfix/smtp[7751]: warning: unsupported SASL client implementation: cyrus
Jan 16 20:18:52 cortex postfix/smtp[7751]: fatal: SASL library initialization
Jan 16 20:18:53 cortex postfix/master[1434]: warning: process /usr/libexec/postfix/smtp pid 7751 exit status 1
Jan 16 20:18:53 cortex postfix/master[1434]: warning: /usr/libexec/postfix/smtp: bad command startup -- throttling
I have tried many different options in mainf.cf but I allways get the same error message. I also tried without the "noanonymous" but same thing happens.
As a reference I leave here my configuration files, any help would be much appreciated.
## postconf -n
Code:
alias_database = hash:/etc/mail/aliases
alias_maps = hash:/etc/mail/aliases
broken_sasl_auth_clients = yes
command_directory = /usr/sbin/
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
html_directory = no
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/man
mydomain = mydomain.com
myhostname = mail.$mydomain
myorigin = $myhostname
newaliases_path = /usr/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = mysql:/etc/postfix/mysql_relay_domains_maps.cf
relayhost = [smtp.myisp.pt]
sample_directory = /etc/postfix
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth
smtp_sasl_security_options = noanonymous
smtp_use_tls = no
smtpd_enforce_tls = yes
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain =
smtpd_sasl_path = private/auth
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = dovecot
smtpd_tls_CAfile = /etc/ssl/mailca.pem
smtpd_tls_auth_only = yes
smtpd_tls_cert_file = /etc/ssl/certs/mail.pem
smtpd_tls_key_file = /etc/ssl/private/mail.pem
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtpd_tls_security_level = may
smtpd_tls_session_cache_timeout = 3600s
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
unknown_local_recipient_reject_code = 550
virtual_alias_maps = mysql:/etc/postfix/mysql_virtual_alias_maps.cf
virtual_gid_maps = static:102
virtual_mailbox_base = /home/mail
virtual_mailbox_domains = mysql:/etc/postfix/mysql_virtual_domains_maps.cf
virtual_mailbox_limit = 51200000
virtual_mailbox_maps = mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf
virtual_minimum_uid = 1001
virtual_transport = virtual
virtual_uid_maps = static:1001