From owner-freebsd-questions Sun Jul 2 8:24:24 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail01.syd.optusnet.com.au (mail01.syd.optusnet.com.au [203.2.75.104]) by hub.freebsd.org (Postfix) with ESMTP id 231BD37B687 for ; Sun, 2 Jul 2000 08:24:19 -0700 (PDT) (envelope-from shaunbranden@dingoblue.net.au) Received: from dingoblue.net.au (adlax4-121.dialup.optusnet.com.au [198.142.83.121]) by mail01.syd.optusnet.com.au (8.9.3/8.9.3) with ESMTP id BAA12679 for ; Mon, 3 Jul 2000 01:24:13 +1000 Message-ID: <395F5F3F.CB40E704@dingoblue.net.au> Date: Mon, 03 Jul 2000 00:56:55 +0930 From: shaun X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: sendmail masquerading- another question Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Can anyone please help me with masquerading with sendmail? All mail sent to external sites bounces with an error saying that the domain doesn't exist. Here is some information which i hope helps. /etc/mail/sendmail.cf says: # who I masquerade as (null for no masquerading) (see also $=M) DMdingoblue.net.au #tail /var/log/maillog Jul 2 23:53:13 sagan sendmail[18541]: starting daemon (8.9.3): SMTP+queueing@00 :15:00 Jul 2 23:54:23 sagan sendmail[18557]: XAA18557: from=entropy, size=303, class=0 , pri=30303, nrcpts=1, msgid=<20000702235422.A18545@dingoblue.net.au>, relay=ent ropy@localhost Jul 2 23:54:25 sagan sendmail[18559]: XAA18557: to=shaunbranden@dingoblue.net.a u, ctladdr=entropy (1001/1001), delay=00:00:02, xdelay=00:00:02, mailer=esmtp, r elay=mail.optusnet.com.au. [203.2.75.133], stat=Data format error Jul 2 23:54:25 sagan sendmail[18559]: XAA18557: XAA18559: DSN: Data format erro r Jul 2 23:54:25 sagan sendmail[18559]: XAA18559: to=entropy, delay=00:00:00, xde lay=00:00:00, mailer=local, stat=Sent error: ----- The following addresses had permanent fatal errors ----- shaunbranden@dingoblue.net.au ----- Transcript of session follows ----- ... while talking to mail.optusnet.com.au.: >>> MAIL From: SIZE=303 <<< 501 ... Sender domain must exist 501 shaunbranden@dingoblue.net.au... Data format error [-- Attachment #2 --] [-- Type: message/delivery-status, Encoding: 7bit, Size: 0.3K --] Reporting-MTA: dns; sagan.tpn Arrival-Date: Sun, 2 Jul 2000 23:54:23 +0930 (CST) Final-Recipient: RFC822; shaunbranden@dingoblue.net.au Action: failed Status: 5.5.2 Remote-MTA: DNS; mail.optusnet.com.au Diagnostic-Code: SMTP; 501 ... Sender domain must exist Last-Attempt-Date: Sun, 2 Jul 2000 23:54:25 +0930 (CST) [-- Attachment #3 --] [-- Type: message/rfc822, Encoding: 7bit, Size: 0.5K --] Date: Sun, 2 Jul 2000 23:54:22 +0930 From: shaun Subject: test and i am trying to use the generic bsd .mc file: divert(0)dnl VERSIONID(`@(#)generic-bsd4.4.mc 8.7 (Berkeley) 5/19/1998') OSTYPE(bsd4.4)dnl MASQUERADE_AS(dingoblue.net.au)dnl DOMAIN(generic)dnl MAILER(local)dnl MAILER(smtp)dnl thanks shaun To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message