From owner-freebsd-questions Mon May 7 10:53:54 2001 Delivered-To: freebsd-questions@freebsd.org Received: from smtp012.mail.yahoo.com (smtp012.mail.yahoo.com [216.136.173.32]) by hub.freebsd.org (Postfix) with SMTP id 6967E37B424 for ; Mon, 7 May 2001 10:53:50 -0700 (PDT) (envelope-from sky_tracker@yahoo.com) Received: from unknown (HELO yahoo.com) (216.191.61.168) by smtp.mail.vip.sc5.yahoo.com with SMTP; 7 May 2001 17:53:49 -0000 X-Apparently-From: Message-ID: <3AF6A850.B5F1DCC3@yahoo.com> Date: Mon, 07 May 2001 13:51:12 +0000 From: David Banning Reply-To: david@banning.com Organization: Sky-Tracker of Canada Inc. X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: questions@freebsd.org Subject: sendmail - masquerading user name Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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: <<< 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: 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 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