smtp auth

julius Junghans julius.junghans at gmx.de
Tue Mar 7 13:43:00 EST 2006


Hi,

from the last reply to my post: thunderbird, sample server

<snip>

If server and client work, then SASL works.
Next step would be to configure the POP server and use "telnet localhost 110"
to test if authentication works from the server to SASL. If that works, use a
regular MUA.

p at rick



Telnet and thunderbird connects to my pop3 server are working now thx to 
the list, now i need smtp-auth for my clients.
What i want:

sending and receiving email for my local lan.

server ip: 192.168.10.66
nslookup 192.168.10.66
66.10.168.192.in-addr.arpa      name = schleppi.localdomain.


Sending mail from netzteil at schleppi.localdomain to 
sales at schleppi.localdomain in Thunderbird returns:
...
<sales at schleppi.localdomain> Recipient address rejected, user unknown in 
local recipient table
...


syslog:
Mar  7 19:41:12 src at schleppi postfix/master[3674]: daemon started -- 
version 2.2.5, configuration /etc/postfix
Mar  7 19:41:38 src at schleppi postfix/smtpd[3708]: sql_select option missing
Mar  7 19:41:38 src at schleppi postfix/smtpd[3708]: auxpropfunc error no 
mechanism available
Mar  7 19:41:38 src at schleppi postfix/smtpd[3708]: _sasl_plugin_load 
failed on sasl_auxprop_plug_init for plugin: sql
Mar  7 19:41:38 src at schleppi postfix/smtpd[3708]: connect from 
schleppi.localdomain[192.168.10.66]
Mar  7 19:41:38 src at schleppi postfix/smtpd[3708]: NOQUEUE: reject: RCPT 
from schleppi.localdomain[192.168.10.66]: 550 
<sales at schleppi.localdomain>: Recipient address rejected: User unknown 
in local recipient table; from=<netzteil at schleppi.localdomain> 
to=<sales at schleppi.localdomain> proto=ESMTP helo=<[192.168.10.66]>


i can authenticate to the pop3 server with both accounts, no errors in 
the log and my email client says: no new messages on the server.
The postfix address classes are still a mystery to me :(



#basic configuration
myorigin = $mydomain
mydestination = $myhostname localhost.$mydomain localhost $mydomain
mynetworks = 127.0.0.0/8
relay_domains =
relayhost =
myhostname = schleppi.localdomain
mydomain = localdomain
inet_interfaces = 192.168.10.66


#cyrus
mailbox_transport = lmtp:unix:/var/imap/socket/lmtp

#smtp auth über die cyrus-sasl database
smtpd_sasl_auth_enable = yes
smtp_sasl_application_name = smtpd
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated
smtpd_sasl_authenticated_header = yes
smtpd_sasl_local_domain = $myhostname  #oder ohne $myhostname?
smtpd_sasl_security_options = noanonymous
smtpd_recipient_restrictions = permit_sasl_authenticated, 
permit_mynetworks, check_relay_domains



/etc/sasl2/smtpd.conf
pwcheck_method: auxprop
log_level: 4
mech_list: DIGEST-MD5

#auxiliary plugin parameters
auxprop_plugin: sasldb
sasldb_path: /etc/sasl2/sasldb2



Thx for your time
Julius


More information about the Cyrus-sasl mailing list