Sendmail and "Proper Authentication"

Chuck Swiger cswiger at
Thu Aug 24 17:18:32 UTC 2006

On Aug 23, 2006, at 8:50 PM, Nicholas Ink wrote:
> The first problem I experienced was that there a host name lookup
> failure for "," which I have subsequently corrected by adding
> the line:
>       smtp:[]
> to /etc/mail/mailertable.

This is wrong; you should be using an IP address inside the domain- 
literal form (square brackets).

You should try to fix whatever the problem with your DNS is, instead.
"dig -t mx" should return valid results....

> However, there is still a problem, when I
> try to send an e-mail, /var/log/maillog says:
> Aug 23 23:18:08 arches sm-mta[1049]: k7O3I7K2001049:
> from=<nink at>, size=397, class=0, nrcpts=1,
> msgid=<44ED1A6F.1090009 at>, proto=ESMTP, daemon=IPv6,
> relay=localhost [IPv6:::1]
> Aug 23 23:18:16 arches sm-mta[1051]: STARTTLS=client,
>, version=TLSv1/SSLv3, verify=FAIL,
> cipher=DES-CBC3-SHA, bits=168/168
> Aug 23 23:18:16 arches sm-mta[1051]: k7O3I7K2001049:
> to=<nicholasink at>, ctladdr=<nink at> (1007/0),
> delay=00:00:08, xdelay=00:00:08, mailer=smtp, pri=30397,
> [], dsn=5.0.0,
> stat=Service unavailable
> Aug 23 23:18:16 arches sm-mta[1051]: k7O3I7K2001049: k7O3IGK2001051:
> DSN: Service unavailable
> where arches is my host name.  I can't understand why it continues to
> say "Service unavailable" when I know Gmail is not experiencing any
> downtime or anything else.  Is this some sort of spam filter?

Yes, on their side. isn't going to relay random email  
without you authenticating first, probably; look into configuring  
SMTP AUTH on your side, or talk with <postmaster at> about  
what their requirements are to permit you to relay via their mail  

However, normally people configure their machines to relay email via  
the SMTP server(s) which your ISP provides, as they are generally  
configured to trust their client networks without requiring SMTP AUTH  
and thus are easier to use...


More information about the freebsd-questions mailing list