Sandy Drobic wrote:
Jim Flanagan wrote:
Sandy Drobic wrote:
Jim Flanagan wrote:
OK, I forgot to enable smptd_sasl_auth_enable =yes, I had it as now.
Now running telnet localhost 25 I get, ------------------ 220 jimmee.local ESMTP Postfix ehlo clientname 250-jimmee.local 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-AUTH PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN ----------------- So, plain login is runing now, but I still cant send a message to a user on this machine. I'm using the email address (from the same lan) jim@192.168.2.20
It depends on where your domain is. Please show "postconf -n".
OK, here it is...
Jim F
# postconf -n alias_maps = hash:/etc/aliases biff = no canonical_maps = hash:/etc/postfix/canonical command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/lib/postfix debug_peer_level = 2 defer_transports = disable_dns_lookups = no disable_mime_output_conversion = no html_directory = /usr/share/doc/packages/postfix/html inet_interfaces = all inet_protocols = all mail_owner = postfix mail_spool_directory = /var/mail mailbox_command = mailbox_size_limit = 0 mailbox_transport = lmtp:unix:/var/lib/imap/socket/lmtp mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man masquerade_classes = envelope_sender, header_sender, header_recipient masquerade_domains = jjfiii.com masquerade_exceptions = root message_size_limit = 10240000 mydestination = $myhostname, localhost.$mydomain myhostname = jimmee.local
So you should be able to use "username@jimmee.local" as address, provided that your local client can resolve jimmee.local.
So, now that you have smtp auth enabled and saslauthd is running, you should be able to authenticate against passwd. I assume that you have installed the cyrus sasl libraries, and /etc/sasl2/smtpd.conf contains the lines for saslauthd:
pwcheck_method: saslauthd mech_list: plain login
If you need to check against the entire email address, then saslauthd has to be startet with the option "-r".
OK, now that I got postfix working with saslauthd, part my issue with sending was that I have my old and this new postfix install set up to relay smtp thru my ISPs server. So I'm not getting a local delivery, but sent outside, and that fails as it cannot resolve [192.168.2.20]. I disabled that (temporarily) on both machines and can happily bounce emails back and forth from one and another now. :-) So I guess my next steps are to set up my domain as a virtual domain (so I can add more domains later). And then set up the certs. You mentioned before to set up one cert to handle everything. In the past I has my hostname set up as mail.domain.com, and apache serving www.domain.com. I needed a cert for www.domain.com to handle my squirrrelmail users. So would i need a separate cert for that? Or could I redirect squirrelmail users to mail.domain.com? Also, where do the TLS certs go, or would that use the same cert?? Many thanks for the great help. We are getting somewhere now. Jim F -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org