On Fri, 14 Mar 2008 01:47:41 -0700 (PDT), Andrew <Wu.Andrew.Xi@gmail.com> wrote:
>Giorgos Keramidas wrote:
>> Can you describe your Sendmail setup a bit more? ÂIt seems that one of
>> two things are possible:
>>
>> * You are trying to directly email the world from a Sendmail instance
>> running in an ISP's network. ÂThe ISP provides already a mail relay
>> which you can use.
>>
>> * You are trying to use `gmail-smtp-in.l.google.com' as your mail
>> relay (SMART_HOST), instead of `smtp.gmail.com'.
>
> Actually, after I comment the
> line
AEMON_OPTIONS(`Name=MTA,Modifiers=b'). it works to send mail to
> gmail... but fail to send mail to yahoo or my mailbox at fudan
> university.
> I don't quite understand the reason...
The logfiles should contain more information about the real reason.
> Here is my sendmail.mc. I don't use the smart host, so your first
> point may be right :-)
If your address is not static, and you haven't registered a domain that
is visible from the outside world, then you _should_ use a SMART_HOST.
Some of the remote networks you have mentioned may block email access
from unknown hosts, or from randomly assigned IP addresses from your
ISP's network.