From owner-freebsd-questions Sun Apr 21 1: 6: 4 2002 Delivered-To: freebsd-questions@freebsd.org Received: from a96180.upc-a.chello.nl (a96180.upc-a.chello.nl [62.163.96.180]) by hub.freebsd.org (Postfix) with ESMTP id F2C2437B417 for ; Sun, 21 Apr 2002 01:05:59 -0700 (PDT) Received: by a96180.upc-a.chello.nl (Postfix, from userid 1004) id 232642170; Sun, 21 Apr 2002 10:05:57 +0200 (CEST) Date: Sun, 21 Apr 2002 10:05:57 +0200 From: Munish Chopra To: questions@freebsd.org Subject: sendmail masquerading Message-ID: <20020421080557.GA48477@daemon.chronias.ninth-circle.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Having a bit of trouble getting sendmail to masquerade properly. I added the following lines to my .mc file: MASQUERADE_AS(`rogers.com') FEATURE(`masquerade_envelope') FEATURE(`allmasquerade') ...then dumped it in /usr/share/sendmail/cf/cf and executed: m4 /usr/share/sendmail/cf/m4/cf.m4 arcadia.mc > /etc/mail/sendmail.cf ...after which I restarted sendmail using 'killall -HUP sendmail' But now I still get Data Format Errors (#65) when trying to send mail with mutt. The sendmail log shows things like this: Apr 21 03:54:08 dhcppc1 sm-mta[1951]: g3L7s8nI001951: ruleset=check_mail, arg1=, relay=localhost [127.0.0.1], reject=553 5.1.8 ... Domain of sender address munish@dhcppc1 does not exist Apr 21 03:54:08 dhcppc1 sendmail[1950]: g3L7s8PH001950: to=layth@eudoramail.com, ctladdr=munish (1001/1001), delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=30499, relay=localhost [127.0.0.1], dsn=5.6.0, stat=Data format error Apr 21 03:54:08 dhcppc1 sendmail[1950]: g3L7s8PH001950: g3L7s8PI001950: DSN: Data format error So, I'm obviously not getting the masquerading part right. Any input would be appreciated. This is a -CURRENT system from March 19. Please cc any replies, thanks. -- -Munish To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message