RE: sendmail domain name

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kishore:

	I had to install the sendmail-cf first to do this, but I did do what
you discussed.  Yet somehow, the hostname is being masqueraded as
www.thedomainnameiuse.com, which doesn't exist.  There isn't any www value
in the sendmail.mc, nor in the sendmail.cf file that gets created, so I'm
not sure how that gets inserted in the conversation.  But I can see from the
rejection notice that this is how the sender is being reported.  Any ideas?

Scully

-----Original Message-----
From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]
On Behalf Of Kishore Jalleda
Sent: Tuesday, March 14, 2006 10:54 AM
To: General Red Hat Linux discussion list
Subject: Re: sendmail domain name

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@xxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux