[TriLUG] Forcing user at host@host routing in sendmail?

Rodent of Unusual Size Ken.Coar at Golux.Com
Thu Jan 17 11:41:19 EST 2002


Brent Verner wrote:
> 
> Yes, on your gateway mailbox, you want to use the mailertable
> feature:

Nrrgh.  No, this won't do the trick; it doesn't provide
for including bits from the LHS in the RHS.  In Perl
pseudo-regex terms, what I need is something like

s/(.*)@(.*)/$1@$2 at fence.foo.bar/

The best the mailertable feature can do is

s/(.*)@(.*)/$1 at fence.foo.bar/

Feh.  Looks like I'm going to have to dust off my
understand-sendmail-line-noise skills and write my
own rules.. :-(

Thanks anyway!
-- 
#ken	P-)}

Ken Coar, Sanagendamgagwedweinini  http://Golux.Com/coar/
Author, developer, opinionist      http://Apache-Server.Com/

"Millenium hand and shrimp!"



More information about the TriLUG mailing list