sendmail/mail

tony.chamberlain at lemko.com tony.chamberlain at lemko.com
Wed Mar 12 11:16:28 UTC 2008


This is true, but "localhost.localdomain" won't work.

The only thing I did in sendmail.cf, after finding it in one of those user forums, is change

O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
 to
O DaemonPortOptions=Port=smtp, Name=MTA
and restart sendmail

The first way was rejecting all mail. They even gave us some smtp address (smtp.company.net)
but that got rejected too.


================
the mail command just calls sendmail, it has no means of setting from.
I think mutt can be coerced, but I've never tried.

If sendmail's idea of the host name is the same as you can see from the 
Internet, then there shouldn't be a problem: Ffor examile

fff.example.com resolves to your client's IP address
sendmail (or other MTA) thinks it's called fff.example.com
then all will be well.

In practice, it doesn't matter what the name is so long as it resolves, 
but it would be a bit rude to pinch IBM's.

In sendmail (and probably other MTA) you can also use address rewriting 
(masquerading). See DM in sendmail.cf

-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080312/6bf05c3b/attachment-0001.htm>


More information about the fedora-list mailing list