Mailinglist Archive: opensuse (714 mails)

< Previous Next >
[opensuse] Postfix/dovecot - allow relay from phone - How??
Sandy, All,

I'm having fits getting postfix and dovecot to allow relay of mail from my phone. I've followed the auth_tls howto's carefully and I'm still stumped. What I've got for configuration is :

smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_client_access hash:/etc/postfix/client_access, reject_unauth_destination
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
broken_sasl_auth_clients = yes
#smtpd_sasl_security_options = noanonymous
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_tls_security_options = noanonymous
smtpd_tls_auth_only = yes

For dovecot I have:

auth_mechanisms = plain login
passdb {
driver = pam
}
passdb {
driver = pam
}
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
}
ssl_cert = </etc/ssl/certs/dovecot.pem
ssl_key = </etc/ssl/private/dovecot.pem
userdb {
driver = passwd
}
userdb {
driver = passwd
}

The error I get is basically:

Oct 3 16:26:46 nirvana dovecot: imap-login: Login: user=<david>, method=PLAIN, rip=166.205.10.236, lip=192.168.6.17, mpid=16601, TLS
Oct 3 16:27:27 nirvana postfix/smtpd[16604]: warning: 166.205.10.236: hostname mobile-166-205-010-236.mycingular.net verification failed: Name or service not known
Oct 3 16:27:27 nirvana postfix/smtpd[16604]: connect from
unknown[166.205.10.236]
Oct 3 16:27:28 nirvana postfix/smtpd[16604]: NOQUEUE: reject: RCPT from unknown[166.205.10.236]: 554 5.7.1 Service unavailable; Client host [166.205.10.236] blocked using zen.spamhaus.org; http://www.spamhaus.org/query/bl?ip=166.205.10.236; from=<david@xxxxxxxxxxxx> to=<Drankin@xxxxxxxxxxxxxxx> proto=ESMTP helo=<[10.16.59.185]>
Oct 3 16:27:28 nirvana postfix/smtpd[16604]: disconnect from unknown[166.205.10.236]

From TLS my server knows it's me (i.e. from=<david@xxxxxxxxxxxx>) and it is killing the relay. That's where I'm stuck. Anybody else got this ironed out??

Sandy, where am I messing up?


--
David C. Rankin, J.D.,P.E.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >