Sendmail: root@domain.com instead of root@host.domain.com

Sendmail: root@domain.com instead of root@host.domain.com

Post by ?rjan Johansso » Fri, 26 Apr 2002 05:44:11



Hi all!

I'm wrestling with sendmail, and I hope someone here can help out with a
frustrating problem.

I have a script that sends out an email at specific times using sendmail.
However, due to relaying-restrictions (that I have no problems with, and
understand completely) my MTA ain't allowed to send mail because it says



I tried with the help of a howto setting:
MASQUERADE_AS(yourdomain.net)dnl
FEATURE(`allmasquerade')dnl
FEATURE(`masquerade_envelope')dnl

But it soesn't seem to do anything for me. Does anyone have an idea what I'm
doing wrong??

Any input appreciated!

TIA,
Orjan

 
 
 

Sendmail: root@domain.com instead of root@host.domain.com

Post by ynotsso » Fri, 26 Apr 2002 05:50:57



> Hi all!
> I'm wrestling with sendmail, and I hope someone here can help out with a
> frustrating problem.

> I have a script that sends out an email at specific times using sendmail.
> However, due to relaying-restrictions (that I have no problems with, and
> understand completely) my MTA ain't allowed to send mail because it says



> I tried with the help of a howto setting:
> MASQUERADE_AS(yourdomain.net)dnl
> FEATURE(`allmasquerade')dnl
> FEATURE(`masquerade_envelope')dnl

> But it soesn't seem to do anything for me. Does anyone have an idea what
I'm
> doing wrong??

make sure your *.mc file doesn't contain a line such as:

EXPOSED_USER(`root')

          tony

 
 
 

Sendmail: root@domain.com instead of root@host.domain.com

Post by ?rjan Johansso » Fri, 26 Apr 2002 06:41:38


Quote:

> make sure your *.mc file doesn't contain a line such as:

> EXPOSED_USER(`root')

>           tony

That was it! Thank you so much!!

/Orjan