Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 03 Jul 2000 00:56:55 +0930
From:      shaun <shaunbranden@dingoblue.net.au>
To:        freebsd-questions@FreeBSD.ORG
Subject:   sendmail masquerading- another question
Message-ID:  <395F5F3F.CB40E704@dingoblue.net.au>

next in thread | raw e-mail | index | archive | help
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:<entropy@sagan.tpn> SIZE=303
<<< 501 <entropy@sagan.tpn>... 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 <entropy@sagan.tpn>... 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 <shaunbranden@dingoblue.net.au>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?395F5F3F.CB40E704>