On Sat, 16 Jan 1999, Raoul Boenisch wrote:

> In pine you can use 'customized-hdrs' to add header entries. Then you
> should add 'Reply-To:' in your header. This would be the best solution in
> so far that you don't cheat by changing the originator address.
Already do. 
 
> For PPP-machines this would suck big time though. Many hosts on the net
> have the policy to check the sender address especially mailinglist
> servers. The check will fail as your local address doesn't have a DNS
> entry. The transfer would then be denied.
I've noticed.

> So if you use PPP with dynamic address you should really rewrite the From
> line. The disadvantage is that locally sent mail will first be sent to
> your ISP and then return on the next mail fetch. I don't have a solution
> for this yet.
Perhaps set a sendmail alias for the username? I'm not really familiar
with sendmail, but I had a look in the O'Reilly bat book about a month
ago, and from what I can recall, the /etc/aliases file is for this sort of
thing.

> To rewrite the From line I suggest using sendmail's genericstable feature
> which is perfectly right for this purpose. In your sendmail m4 config file
> add the following lines:
> 
> FEATURE(always_add_domain)
> FEATURE(masquerade_entire_domain)
> GENERICS_DOMAIN(wondernet.local)
> GENERICS_DOMAIN(spiral.wondernet.local)
> FEATURE(genericstable, hash /etc/genericstable)
> 
> where wondernet should be changed to your local network name. I had to add
Ah. This is what I wanted to know. If this mail gets through and has a
rewritten From line, then it worked.

> the spiral.wondernet.local entry as masquerade_entire_domain seems to have
> no effect though it is said in the documents that it would have. Does
> anybody know about this problem or what I do wrong?
> 
> Don't forget to compile your m4 config file and restart sendmail as long
> as you don't run it from /etc/inetd.conf

Thanks.

-- 
     |                   Keith Duthie      O-               | 
     +         Don't call me, I'll call you.  Maybe.        +
     |           [EMAIL PROTECTED]          |
   __   _
  / /  (_)__  __ ____  __
 / /__/ / _ \/ // /\ \/ /  . . .  t h e   c h o i c e   o f   a
/____/_/_//_/\_,_/ /_/\_\              G N U   g e n e r a t i o n . . .

Reply via email to