Re: Sendmail and "Proper Authentication"



Go into sendmail.cf

set DSmail.example.org

(where mail.example.org = the hostname of your ISP's mailserver)

Let me put it this way for you. ISP's these days are taking a lot of
steps to prevent people from setting up little servers in their homes
and directly sending SMTP mail from them. One way of doing this
is by not setting up PTR records for IP numbers assigned to end
users. Users can setup hostnames in their own domains at places
like dydns.org and such, and have all the forward records they want -
but more and more large ISP's like gmail are refusing to accept mail
from IP addresses without PTR records.

There are many other ways besides the admittedly crude method
above. The upshot is that it's better for the rest of us on the
Internet to force end users as much as possible to relay outbound
mail through their ISP's.

If you want to directly process outbound mail yourself, then
your going to have to do a LOT more reading up on current
spamfighting methods before you attempt to do this.

Receiving inbound e-mail is the easy part. No ISP cares if
any of their customers setup to receive mail directly. (or at
least, no decently run ones does) Hell, if you take mail
directly it frees up their CPU power and disk space on their
mailserver.

But sending it is a whole different animal. Within another 5
years it is going to get to the point that the only inter-domain
e-mail that will flow on the Internet is from ISP to ISP. Save
yourself a huge headache and pass your outbound mail to
your ISP's mailserver, that's what it's there for.

Ted

----- Original Message -----
From: "Nicholas Ink" <nicholasink@xxxxxxxxx>
To: <freebsd-questions@xxxxxxxxxxx>
Sent: Wednesday, August 23, 2006 8:50 PM
Subject: Sendmail and "Proper Authentication"


Hello all.

I have been using FreeBSD for several months now, and have been
configuring it as a multipurpose server. I've installed a web server,
database, and a handful of other utilities. I also have now been
attempting for some time to configure an e-mail service - with
Sendmail.

Although everything seems to work fine with receiving e-mail, I have
had significant trouble with sending it. For example, I have been
trying to send an e-mail from my FreeBSD server to my Gmail account.
The first problem I experienced was that there a host name lookup
failure for "gmail.com," which I have subsequently corrected by adding
the line:

gmail.com smtp:[smtp.gmail.com]

to /etc/mail/mailertable. 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@xxxxxxxxxxxx>, size=397, class=0, nrcpts=1,
msgid=<44ED1A6F.1090009@xxxxxxxxxxxx>, proto=ESMTP, daemon=IPv6,
relay=localhost [IPv6:::1]

Aug 23 23:18:16 arches sm-mta[1051]: STARTTLS=client,
relay=gmail-smtp.l.google.com., version=TLSv1/SSLv3, verify=FAIL,
cipher=DES-CBC3-SHA, bits=168/168

Aug 23 23:18:16 arches sm-mta[1051]: k7O3I7K2001049:
to=<nicholasink@xxxxxxxxx>, ctladdr=<nink@xxxxxxxxxxxx> (1007/0),
delay=00:00:08, xdelay=00:00:08, mailer=smtp, pri=30397,
relay=gmail-smtp.l.google.com. [66.249.83.111], 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? Any
help would be greatly appreciated! Thanks!

Sincerely,
Nicholas Ink
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@xxxxxxxxxxx"


_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: OEs DNS checking doesnt work
    ... If an IP address works, but a hostname does, the problem is ... probably with the interaction with the name server, ... to be sure outgoing mail now works. ... your ISP if that was intentional. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: Send Mail Problem
    ... So the proper way is only go through the ISP ... But make sure that you have secured your MAILSERVER from all the ways ... Patches etc. See if your ISP does it whiteest and your server is still not ... There was a SMTP communication problem with the recipient's email ...
    (microsoft.public.exchange.admin)
  • Re: [opensuse] Martin =?UTF-8?B?R2zDtnR6bC1Lb2NoIFNUT1AgQk9VTkNJ?= =?UTF-8?B?TkcgTElTVCBNQUl
    ... what I'm bothered is receiving email from my ISP boxes with false ... On my private server here at home I very seldom see any spam at all, ... On our company mailserver I have a completely different situation. ...
    (SuSE)
  • Re: Converting From POP to SMTP
    ... When a mailserver queries DNS ... stores your mail temporarily until your server comes back online. ... What normally happens is that your ISP put their mailservers as a backup MX ...
    (microsoft.public.backoffice.smallbiz2000)
  • RE: SBS2003 e-mail server
    ... ISP is blocking inbound port 25 to you but only from an EXTERNAL SOURCE. ... By putting thier mailserver ad the secondary MX, ... secondary server. ...
    (microsoft.public.windows.server.sbs)