Question : FC sendmail will not send mail (relay)

I have sendmail and dovecot IMAP running on Fedora Core I got to the point that I can receive my mail form anywhere and anyone but I can only send to people in the same domain as me also the plain text authentication does not seem to wanna work

Answer : FC sendmail will not send mail (relay)

Okay, doesn't hurt to ask...

I just set up SMTP AUTH on a FC3 box. What I did was to to edit sendmail.mc and include:

TRUST_AUTH_MECH(`LOGIN PLAIN')dnl
define(`confAUTH_MECHANISMS', `LOGIN PLAIN')dnl

and I commented out the line that restricts sendmail to only listen on the localhost IP. Next I built a new sendmail.cf (cd /etc/mail; make) and restarted sendmail (service sendmail restart). Then I checked to be sure that it was offering PLAIN and LOGIN as AUTH methods with:

chimera> telnet 192.168.0.57 25
Trying 192.168.0.57...
Connected to 192.168.0.57.
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail 8.13.1/8.13.1; Thu, 3 Mar 2005 14:25:04 -0600
EHLO entropy-free.net
250-localhost.localdomain Hello chimera.dynetics.com [192.168.0.6], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH LOGIN PLAIN
250-DELIVERBY
250 HELP
QUIT

and it is as evidenced by "250-AUTH LOGIN PLAIN". The next step was to enable saslauthd (service saslauthd start).

using thunderbird I configured it to authenicate to the mail server. On the "Outgoing Server (SMTP) Settings" I made sure that "Use name and password" was checked, the correct login name was filled in and "Use secure connection" was no.

I watched the tail end of /var/log/maillog and attempted a send from thunderbird (which prompted for a password) and saw:

Mar  3 14:32:26 localhost sendmail[5694]: AUTH=server, relay=[192.168.0.57], authid=levie, mech=PLAIN, bits=0
Mar  3 14:32:26 localhost sendmail[5694]: j23KWQE6005694: from=, size=370, class=0, nrcpts=1, msgid=<4227745A.5070309@dynetics.com>, proto=ESMTP, daemon=MTA, relay=[192.168.0.57]
Mar  3 14:32:27 localhost sendmail[5696]: j23KWQE6005694: to=, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=120370, relay=praetorian.entrophy-free.net. [216.78.168.29], dsn=2.0.0, stat=Sent (j23KWQeB010980 Message accepted for delivery)
 
praetorian.entrophy-free.net isn't on the local network, so it did relay as expected.
Random Solutions  
 
programming4us programming4us