sendmail domain name
Kishore Jalleda
kjalleda at gmail.com
Tue Mar 14 18:53:33 UTC 2006
Assuming that your SMTP is sendmail, you need to masquerade your
domain so that sendmail would masquerade your FROM headers, right now
it will use user @ hostname format.
so to change that do the following,
1) open the file for editing
/etc/mail/sendmail.mc
2) Look for a section which says
dnl # The following example makes mail from this host and any additional
dnl # specified domains appear to be sent from mydomain.com
dnl #
dnl #MASQUERADE_AS(`mydomain.com')dnl
uncomment the line and replace it with your domain name like this
dnl #MASQUERADE_AS(`mydomain.com')dnl
MASQUERADE_AS(`mydomain.com')dnl
4) now rebuild the conf file with the mc file using
#make -C /etc/mail
5) now restart sendmail just to be sure, although you might not have
to do it ....
6) now send any email and it will have the from: filed to be user @
mydomain.com
7) also in order for some ISP's to receive mail, your outgoing IP
address must be reversed mapped to your domain name , i am guessing
you have done that .
So thats it, your mail should be going through now
Kishore Jalleda
On 3/14/06, Michael Scully <agentscully at flexiblestrategies.com> wrote:
> Greetings:
>
> I use Hylafax at various Red Hat sites, and it allows the delivery
> of email to the user to verify the fax delivery. On top of that, we have
> various cron processes report there success or failure by email. These
> Linux systems are internal boxes, not on public IPs, but the mail addresses
> of the senders are to their normal ISP mailboxes. At some sites, the ISP's
> spam blocking disallows the mail to be received, because it can't do reverse
> DNS on the domain name and verify the sender. I've had the ISP's register
> the public IP number with a domain name, and I've put this domain name in
> both the /etc/hosts file and /etc/mail/local-host-names file. But when I
> look at the rejection notices, the outgoing mail is always shown as
> "someuser"@localhost.
>
> There must be another piece of the puzzle I'm missing. Also, what
> do I do if I'd rather have Linux relay to another external mail server,
> instead of its own SMTP service?
>
> Scully
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
More information about the redhat-list
mailing list