Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 May 2001 13:51:12 +0000
From:      David Banning <sky_tracker@yahoo.com>
To:        questions@freebsd.org
Subject:   sendmail - masquerading user name
Message-ID:  <3AF6A850.B5F1DCC3@yahoo.com>

next in thread | raw e-mail | index | archive | help

Does anyone know how to masquerade user name?

I have a dialup line.

I need to masquerade both my username and my domain.
Domain is no problem.

I need it to replace the word "david" with "sky_tracker"

I utililzed the /etc/mail/userdb option which works, but
only to a point. You can see the it puts in the requested
user name EXCEPT when it is talking to the yahoo server.
It even bounces the mail to the masqueraded address.  

I changes the header information, but that is about it.

for it to work.

Any ideas?

I have this set;

O UserDatabaseSpec=/etc/mail/userdb.db in sendmail.cf and my
pre-processed userdb said;

david:mailname    sky_tracker@yahoo.com 
david:maildrop    sky_tracker

but I've also tried;

david:mailname    sky_tracker@yahoo.com 
sky_tracker:maildrop    david


Here is the rejection error; as I see it the problem shows up
on line 2;

... while talking to smtp.mail.yahoo.com:
>>> MAIL From:<david@yahoo.com>
<<< 521 yahoo.com closing transmission channel.  You must be
pop-authenticated b
efore you can use this smtp server, and you must use your yahoo mail
address for
 the Sender/From field.
554 5.0.0 questions@freebsd.org... Service unavailable

--f47Diei19872.989243080/d.tracker
Content-Type: message/delivery-status

Reporting-MTA: dns; d.tracker
Arrival-Date: Mon, 7 May 2001 13:44:37 GMT

Final-Recipient: RFC822; questions@freebsd.org
Action: failed
Status: 5.0.0
Diagnostic-Code: SMTP; 521 yahoo.com closing transmission channel.  You
must be 
pop-authenticated before you can use this smtp server, and you must use
your yah
oo mail address for the Sender/From field.
Last-Attempt-Date: Mon, 7 May 2001 13:44:40 GMT

--f47Diei19872.989243080/d.tracker
Content-Type: message/rfc822

Return-Path: <sky_tracker@yahoo.com>
Received: (from david@localhost)
        by d.tracker (8.11.3/8.11.2) id f47Dibj19870
        for questions@freebsd.org; Mon, 7 May 2001 13:44:37 GMT
        (envelope-from sky_tracker@yahoo.com)
Date: Mon, 7 May 2001 13:44:37 GMT
From: David Banning <sky_tracker@yahoo.com>
Message-Id: <200105071344.f47Dibj19870@d.tracker>
To: questions@freebsd.org
Subject: this is a test
Reply-To: david@banning.com

test test test


--f47Diei19872.989243080/d.tracker--

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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?3AF6A850.B5F1DCC3>