YASP (Yet Another Sendmail Problem)

Bill Mullen moon at lunarhub.com
Sat Dec 17 20:48:00 EST 2005


On Sat, 17 Dec 2005 16:25:32 -0500 (EST), Steven W. Orr wrote:

> Hi. I zoomed in further on what my problem is but I have no idea how
> to fix it. I placed a copy of my sendmail.mc at
> 
> http://steveo.syslang.net/sendmail.mc
> 
> The problem is that masquerading is not happening on a send. If I send
> to foo then sendmail expands it to go to foo at saturn.syslang.net
> instead of sending to foo at syslang.net
> 
> If I send *from* steveo, then steveo (by default) is sending from
> steveo at saturn.syslang.net instead of from steveo at syslang.net
> 
> Does anyone have an idea for how I can fix this?

Umm, I assume that you mean something short of "switch to an MTA that
can be fairly easily configured by mere mortals, like Postfix"? :-)

I'm only half-joking, actually; with Postfix, fixing this is as simple
as tacking the following line onto your /etc/postfix/main.cf file:

myorigin = $mydomain

And then issuing this command, as root:

postfix reload

That sure beats fscking around inside sendmail.rc, doesn't it? ;-)

-- 
Bill Mullen
RLU #270075



More information about the gnhlug-discuss mailing list