In our last episode,
the lovely and talented Peter Wu
broadcast on comp.unix.bsd.freebsd.misc:
>>> The original message was received at Fri, 21 Feb 2003 21:01:17 +0800 (CST)
>>> from localhost [127.0.0.1]
>>> ----- The following addresses had permanent fatal errors -----
>>> (reason: 554 <localhost.localdomain>: Helo command rejected: Access denied)
>> No need to go further you are not allowed to talk to freebsd. Why is it so?
>> In order to get away with some spam, the freebsd mail server only accepts
>> connections from hosts which have a reverse entry in the DNS. No chance this
>> is the case with localhost.localdomain.
> After reading the FAQ at FreeBSD.ORG, I finally realized that the problem
> resides at my side. :(
>> Solution, for you Peter, you have to send all your outbound mail to your
>> provider (whose mail server is hopefully declared in the DNS). For Postfix,
>> this is the syntax, in main.cf
>> relayhost = [parthe.lpthe.jussieu.fr]
>> Here the brackets are to avoid a MX lookup which would lead to a different
>> machine, which in turn would reject my mail :-)
> Yes, I decide to relay my mails to my provider. BUT the problem is that
> my provider's SMTP server requires SMTP AUTH... Sigh...
See if nbsmtp won't do the trick. Sendmail is hard (i.e.
impossible) to configure to tell the truth. It believes it
knows better than you do and that if you tell it something
other than what it thinks it knows, it will assume you are
lying. In fact, sendmail sucks on a large number of issues,
but somehow or another it got wedded to FreeBSD as part of
the core - possibly a very long time ago it was the best
thing available and someone thought that would continue to
be the case. As it turns out, that is not the case, but
sendmail is evidently too deeply embedded in FreeBSD to be
removed safely. You have to have it. But mercifully it has
become possible lately to turn it off. You may want to let
sendmail carry system messages, but if you want actually to
send mail, install nbsmtp from the ports.
Quote:> I have the account with username/password but I don't know how to
> configure sendmail 8.12.7 to enable it. Please bear with me, I'm totally a
> newbie to sendmail. I have read the SMTP AUTHENTICATION section in
> cf/README, BUT it seems useless to me as I don't know, honestly, what it
> talks about....
> Is there any step-by-step example that I can follow to configure my
> sendmail to use SMTP AUTH?? I do need to read/WRITE to the mailing
> lists. TIA!!
You can start by making yourself a trusted user, but believe
me, sendmail is a dead end.
War on Terrorism: Bad News from the Sanity Front
"Tactical nuclear capabilities should be used against the bin Laden
camps in the desert of Afghanistan." -Thomas Woodrow,_Washington Times_