From owner-freebsd-questions@FreeBSD.ORG Thu Jan 22 12:20:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A8BC16A4CE for ; Thu, 22 Jan 2004 12:20:40 -0800 (PST) Received: from hills.ccsf.cc.ca.us (hills.ccsf.cc.ca.us [147.144.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3611C43D41 for ; Thu, 22 Jan 2004 12:20:25 -0800 (PST) (envelope-from abozan01@ccsf.edu) Received: from localhost (abozan01@localhost) by hills.ccsf.cc.ca.us (8.11.3/8.11.3) with ESMTP id i0MKKBg23636; Thu, 22 Jan 2004 12:20:12 -0800 (PST) X-Authentication-Warning: hills.ccsf.cc.ca.us: abozan01 owned process doing -bs Date: Thu, 22 Jan 2004 12:20:11 -0800 (PST) From: Adam Bozanich X-X-Sender: abozan01@hills.ccsf.cc.ca.us To: Micheal Patterson In-Reply-To: <873c01c3e10b$422ed080$4df24243@tsgincorporated.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Dinesh Nair cc: fbsd_user cc: freebsd-questions@freebsd.org Subject: Re: sendmail help? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2004 20:20:40 -0000 On Thu, 22 Jan 2004, Micheal Patterson wrote: > > >> I believe the original poster was asking about > >> using sendmail to retrieve email from his ISP's smtp server. And > >> it's still a lot easier to install fetchmail than to reinstall > >> sendmail. I use fetchmail to retrieve mail from my isp's pop server. > Apparently he's having trouble understanding a number of things lately and > I'm beginning to wonder if he's a troll or not. That's a bit harsh. > http://www.sendmail.org/~ca/email/auth.html#DefaultAuthInfo > > Within that site, it will give you assistance in setting up sendmail to act > as an smtp client using smtp-auth. > > > > DefaultAuthInfo (confDEF_AUTH_INFO) > specifies a file in which the authorization identity, the authentication > identity, the secret, and the realm to be used for authentication are > stored. This file must be in a safe directory and unreadable by everyone > except root (or TrustedUser). It is used when sendmail acts as a client to > authenticate itself to a server. Example: > admin > admin > MySecretPassword > example.domain > > Notes: all data is case sensitive (usually) and the entire line is used in > each case (including any white space!). > recommended filename: /etc/mail/default-auth-info > > > > I trust this is what the OP's original intentions were. Yes, it was. Thank you. I really don't see what the big mix up was... I guess I didn't post my problem clearly. I have tried the /etc/mail/default-auth-info method (I have read that page), but I just can't get it to work. I have also read that the new way to do it is with the /etc/mail/authinfo file, with the format I gave earlier. I have compiled sendmail with sasl (1) support. But I don't think that the smtp-auth part is the issue. As I stated before, I believe the problem is that sendmail is not translating my name in the "from" section of the email. When The mail gets rejected, it gets send back with "From: adam@kayak", My isp wants it to be "From my_user_name@my_isp.net" I think this is probably not too difficult to fix, but I can't see where I am going wrong. I can't seem to find any good tutorials/documentation on getting a simple sendmail client working with a dynamic ip address using smtp authentication, If anybody has any references they'd like to share, or any suggestions for me to try it would be greatly appreciated. What about my sendmail_msp_que question? what does this component of sendmail do? (do I need it?) TIA -Adam