Mailing List Archive

Support open source code!


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

Re: tlug: cheating sendmail



>>>>> "Chris" == Chris Sekiya <chris@example.com> writes:

    Chris> *blink*

    Chris> What do the headers look like here?  This should not
    Chris> happen.  The username is being explicitly set ...

Received: from viy.sakae (ppp145204.asahi-net.or.jp [202.213.145.204])
        by swp6.gs.com with ESMTP id RAA12807
        for <dmytro.kovalev@example.com>; Wed, 24 Mar 1999 17:06:53 -0500 (EST)
Received: from viy.sakae (localhost [127.0.0.1])
        by viy.sakae (8.8.7/8.8.7) with ESMTP id HAA15991
        for <dmytro.kovalev@example.com>; Thu, 25 Mar 1999 07:06:41 +0900
Message-Id: <199903242206.HAA15991@example.com>
X-Mailer: exmh version 2.0.2
To: Dmytro.Kovalev
Mime-Version: 1.0
Content-Type: text/plain; charset=koi8-r
Date: Thu, 25 Mar 1999 07:06:41 +0900
From: Dmytro Kovalev <dk@example.com>

    >> I don't have one. I set masquerading in sendmail.cf (DM......)

    Chris> Ah.  That could explain why it's not working properly.  I

No-no, that's part is OK. In my first post, I said that I don't do
masquerading now. (that's because I know how to do it). Even if I
would set up masquerading for host, my username wouldn't be
rewritten. Still, my return address would be wrong - so there's no
point in setting it.

    Chris> don't really recommend editing sendmail.cf -- there are too
    Chris> many little options that can be misconfigured.  I find it
    Chris> easier to rebuild from a .mc file.

    Chris> You may need something like this:

    Chris> MASQUERADE_AS(tokyo.email.ne.jp)
    Chris> MASQUERADE_DOMAIN(viy.sakae.whatever)

    Chris> Here is the .mc file that we use on the tlug server, it may
    Chris> help:

    Chris> OSTYPE(linux)dnl DOMAIN(generic)dnl
    Chris> define(PROCMAIL_MAILER_PATH, `/usr/bin/procmail')
    Chris> FEATURE(local_procmail) FEATURE(use_cw_file)
    Chris> FEATURE(use_ct_file) FEATURE(access_db)
    Chris> MASQUERADE_AS(tlug.gr.jp)dnl
    Chris> MASQUERADE_DOMAIN(`tlug.pht.co.jp,tlug.linux.or.jp')dnl
    Chris> FEATURE(masquerade_envelope)dnl FEATURE(allmasquerade)dnl
    Chris> MAILER(local)dnl MAILER(smtp)dnl

    Chris> -- Chris

    Chris> -------------------------------------------------------------------
    Chris> Next Technical Meeting: April 10 (Sat), 12:30 place: Temple
    Chris> Univ.  *** featuring: LabView and UDB/DB2 for Linux Next
    Chris> Nomikai: May 21 (Fri), 19:30 Tengu TokyoEkiMae 03-3275-3691
    Chris> -------------------------------------------------------------------
    Chris> more info: http://www.tlug.gr.jp Sponsor: Global Online
    Chris> Japan
-------------------------------------------------------------
Dmytro Kovalev
Tokyo FI UNIX SA, Consultant	
E-mail: dmytro.kovalev@example.com	
--------------------------------------------------------------
-------------------------------------------------------------------
Next Technical Meeting: April 10 (Sat), 12:30   place: Temple Univ.
*** featuring: LabView and UDB/DB2 for Linux
Next Nomikai: May 21 (Fri), 19:30    Tengu TokyoEkiMae 03-3275-3691
-------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links