[BUGS] Sendmail as forwarder

Jerahmy Pocott quakenet1 at optusnet.com.au
Thu Jan 3 05:12:56 EST 2008


On 02/01/2008, at 6:15 PM, John Marshall wrote:

> Jerahmy Pocott wrote:
>>
>> m9932kjas8392   5   1929378+ Jan 2 11:53 <user at external.domain>
>> (Deferred: 450 4.1.8 <user at host.local.domain>: Sender address
>> rejected: Domain not found)
>
> Your ISP's relay is rejecting your email because the domain of the  
> email
> sender address is not registered in DNS.
>
> The "masquerade" features in Sendmail re-write the sender address  
> which,
> I think, is what you're wanting. I have never had the need to use  
> those
> options myself.
> <http://www.sendmail.org/doc/sendmail-current/cf/README>

Right,

So I added:

MASQUERADE_AS(`public.domain')

to my sendmail.mc, did a make all and copied it to sendmail.cf and  
restarted sendmail. How ever it's still not working! Now in the mailq  
I have this:

<user at box.local.domain>
(Deferred: 450 4.1.8 <user at box.local.domain>: Sender address rejected:  
Domain not found)
<quakenet1 at optusnet.com.au>
(Deferred: 450 4.1.8 <user at box.local.domain>: Sender address rejected:  
Domain not found)

Why does it have two deferred messages for each mail now?! As you can  
see it is NOT changing the sender address even though I set it to.. I  
think it just hates to play along >.<

Thanks for baring with me!
J.


More information about the BUGS mailing list