[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FORWARDED MSG



On Fri, Jun 29, 2001 at 05:07:45PM -0400, Wayne Topa wrote:
<SNIP>
> ---------- Forwarded message ----------
> Date: Fri, 29 Jun 2001 15:49:48 +0200 (CEST)
> From: Rune Elvemo <octagon@grm.hia.no>
> To: debian-user@lists.debian.org
> Subject: problems with sendmail/debian
> 
> Reply-To: relvemo@grm.hia.no
> 
> I'm having a real problem here with sendmail/debian.
> 
> I'm trying to get address rewriting in sendmail using genericstable.
> When I was using a static IP / eth0 based connection this worked fine.
> Now I'm using a PPP based / dynamic IP connection, and it doesn't.
> 
> Here is my config file: 
> 
> -------------- cut --------------------
> 
> divert(-1)
> # En liten test config fil for sendmail Debian
> #
> 
> divert(0)
> VERSIONID(`@(#)sendmail.mc      8.9.3-21 (Debian) 20000309')
> OSTYPE(debian)dnl
> define(`RELAY_HOST', `smtp:mail.c2i.net')dnl
> define(`SMART_HOST', `smtp:mail.c2i.net')dnl
> FEATURE(`nocanonify')dnl
> FEATURE(`always_add_domain')dnl
> FEATURE(masquerade_envelope)dnl
> FEATURE(`local_procmail')dnl
> FEATURE(`genericstable', `hash -o /etc/mail/genericstable')dnl
> GENERICS_DOMAIN(`localhost')dnl
> MASQUERADE_AS(`grm.hia.no')dnl
> MASQUERADE_DOMAIN(`localhost')dnl
> MAILER(`local')dnl
> MAILER(`smtp')dnl
> 
> ------------- cut ---------------------
> 
> I've tested it locally doing a '/usr/sbin/sendmail -bt' and then
> '1,2,3,4,5,6,7,8,9,10 user' . Then I get address rewriting and everything.
> 
> However, when I'm hooked up to my ISP and send a mail, only the
> masquerading part is working. So it ends up being 'user@grm.hia.no'.
> 
> I'm not sure if this has anything to do with my '/etc/hosts' file :
> ------- cut --------
> 
> 127.0.0.1       localhost       localhost.localdomain   dminds
> #128.39.144.135 hybel135.grm.hia.no
> -------- cut ----------
<SNIP>

OK.  I saw this message roll in last night and I was hoping that someone
else would step in and figure this out.

I have the opposite problem, where my userid comes through in my:
Reply-To:
and
From: --> (although mutt can override this in one of the header lines)
fields on the envelope headers.  I've even offered pay a local consultant
$40/hr to deal with this, in my desperation.

You're using stable/potato?  I notice that your sendmail is a much older
rev than what I've got here in testing.

I've got to look up a few things in the "bat-book" in the meantime...

Cheers,
-- 
Mike Pfleger

There's seventy brilliant people on earth.
Where are they hiding?
"Yashar" -Cabaret Voltaire (off of "2x45")



Reply to: