From owner-freebsd-net Wed Jul 10 16:30:41 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 93F8E37B400; Wed, 10 Jul 2002 16:30:36 -0700 (PDT) Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48F5A43E64; Wed, 10 Jul 2002 16:30:35 -0700 (PDT) (envelope-from jhs@jhs.muc.de) Received: from fwd03.sul.t-online.de by mailout01.sul.t-online.com with smtp id 17SQuo-0006e7-01; Thu, 11 Jul 2002 01:30:34 +0200 Received: from jhs.muc.de (520006753247-0001@[217.228.210.254]) by fmrl03.sul.t-online.com with esmtp id 17SQvP-0U93QGC; Thu, 11 Jul 2002 01:31:11 +0200 Received: from flip.jhs.private (flip.jhs.private [192.168.91.24]) by jhs.muc.de (8.11.6/8.11.6) with ESMTP id g6ANUrv09225; Thu, 11 Jul 2002 01:30:54 +0200 (MET DST) (envelope-from jhs@jhs.muc.de) Received: (from jhs@localhost) by flip.jhs.private (8.11.6/8.11.6) id g6ANUrV66462; Thu, 11 Jul 2002 01:30:53 +0200 (CEST) (envelope-from jhs) Date: Thu, 11 Jul 2002 01:30:53 +0200 (CEST) Message-Id: <200207102330.g6ANUrV66462@flip.jhs.private> To: freebsd-net@freebsd.org Cc: "Gary Jennejohn" Subject: Masquerade fails to suppress X-sender From: "Julian Stacey" Organization: Vector Systems Ltd, Munich Unix & System Engineering Consultancy X-Web: http://bim.bsn.com/~jhs/ Fcc: sent-mail X-Sender: 520006753247-0001@t-dialin.net Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi freebsd-net@freebsd.org Since I gave my FreeBSD-4.5-Release gateway a new sendmail.cf today, I've been getting both these in my headers: Received: from jhs.muc.de (520006753247-0001@[217.235.121.155]) by fmrl11.sul.t-online.com with esmtp id 17SPs5-0MzVXEC; Thu, 11 Jul 2002 00:23:41 +0200 X-sender: 520006753247-0001@t-dialin.net I never used to have 520006753247 appear, (I've confirmed that by inspecting my morning's post to a simple expoder list (that leaves headers unchanged), which came back clean without any 520006753247) ( Reason I don't want people to see 520006753247-0001 is that's my account, & while not private as such, no need ot publicise, & dont want people emailing me (or spamming!) there either ). So I'd like to kill off that number from appearing, any idea how to do it ? I tried enabling allmasquerade, didn't help. I disabled in .cf the DSsmtprelay.t-online.de & that did indeed avoid the 2 lines with 520006753247-0001 in, but thats a bit drastic, I'd prefer to use the t-online.de smart host if possible ? Does that seem likely possible ? I'm on a DSL with dynamic IP & time out, so think it better to use the ISP's relay if possible. ( I do have control of another FreeBSD box on the net I coud use as a relay, but I'd have to get myself set up for DDNS first I presume, before it would be safe to tell my other box on the permanent net to relay me ). Here's my sendmail.mc, The file I generate the .mc from contains my notes http://bim.bsn.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/etc/sendmail/common.cpp VERSIONID(`@(#) src/etc/sendmail/common.cpp by jhs@ for wall.jhs.private ') OSTYPE(freebsd4) define(`RECEIVER_JHS_FULL',`mail.jhs.private') define(`MASQ_JHS_HOST',`jhs') define(`MASQ_JHS_DOMAIN',`muc.de') define(`MASQ_JHS_FULL',`MASQ_JHS_HOST.MASQ_JHS_DOMAIN') MASQUERADE_AS(`MASQ_JHS_FULL') MASQUERADE_DOMAIN(`jhs.private mmc.private gj.org ew.private') MASQUERADE_DOMAIN_FILE(`/etc/mail/masquerade') FEATURE(masquerade_envelope) define(`SMART_JHS_HOST',`smtprelay') define(`SMART_JHS_DOMAIN',`t-online.de') define(`SMART_JHS_FULL',`SMART_JHS_HOST.SMART_JHS_DOMAIN') # F EATURE(allmasquerade) FEATURE(masquerade_entire_domain) FEATURE(`relay_entire_domain') FEATURE(access_db,`hash -o /etc/mail/access') FEATURE(blacklist_recipients) FEATURE(virtusertable, `hash -o /etc/mail/virtusertable') FEATURE(local_lmtp) FEATURE(smrsh) FEATURE(`accept_unresolvable_domains') define(`confCW_FILE',`-o /etc/mail/local-host-names-gateway') define(`confNO_RCPT_ACTION',`add-to-undisclosed') define(`confMAX_MIME_HEADER_LENGTH',`256/128') define(`confPRIVACY_FLAGS',`authwarnings,noexpn,novrfy') FEATURE(use_cw_file) define(`MAIL_HUB',`RECEIVER_JHS_FULL') define(`SMART_HOST',`smtp:SMART_JHS_FULL') undefine(`UUCP_RELAY') define(`confTRUSTED_USERS', `jhs majordom') define(`confTIME_ZONE',`USE_SYSTEM') define(`confAUTO_REBUILD',True) define(`confCOPY_ERRORS_TO',`postmaster') define(`confTO_QUEUERETURN',`3d') define(`confTO_QUEUEWARN',`24h') define(`confDIAL_DELAY',`8s') Dw`'MASQ_JHS_HOST Dm`'MASQ_JHS_DOMAIN define(`confDOMAIN_NAME', $w.$m) define(`LUSER_RELAY',`RECEIVER_JHS_FULL') define(`LOCAL_RELAY',`RECEIVER_JHS_FULL') define(`confTO_HOSTSTATUS',`6h') MAILER(local) MAILER(smtp) MAILER(uucp) EXPOSED_USER(jhs2) Any hints welcome, thanks ! Julian Stacey Freelance Unix (BSD Linux etc) Consultant, Munich Ihr Rauchen = mein allergischer Kopfschmerz ! Schnupftabak probieren. FreeBSD-4.6 just released: 7000 Free programs: http://www.freebsd.org/ports/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message