From owner-freebsd-questions@FreeBSD.ORG Sat May 10 16:57:58 2003 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 EA95C37B401 for ; Sat, 10 May 2003 16:57:57 -0700 (PDT) Received: from occp4.ocservers.net (216-73-120-2.ocdc-01.net [216.73.120.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4737143FDF for ; Sat, 10 May 2003 16:57:57 -0700 (PDT) (envelope-from ehr3@ehr3.com) Received: from pool-151-198-132-161.mad.east.verizon.net ([151.198.132.161] helo=fred.ehr3.net) by occp4.ocservers.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.36 #1) id 19EeDt-0002To-00 for questions@FreeBSD.org; Sat, 10 May 2003 16:57:49 -0700 From: "Ernest H. Rice" Organization: ehr3 & Associates, Inc. To: questions@FreeBSD.org Date: Sat, 10 May 2003 20:02:39 -0400 User-Agent: KMail/1.5 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200305102002.39916.ehr3@ehr3.com> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - occp4.ocservers.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [0 0] X-AntiAbuse: Sender Address Domain - ehr3.com Subject: E-mail, graphical and otherwise X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ehr3@ehr3.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 May 2003 23:57:58 -0000 Folks: First, kudos on a great UNIX! Having wokred with many UNiXs over they years I must admit I like FreeBSD the best! Coming from the old school of System V, I am accustomed to using command line email for many things. Of course, in this day and age I have moved on to GUIs, and the mailers they provide. They surely are far more practical than the original /bin/mail and mailx I worked with in the old days. But things aren't always well suited for GUI email. When you are scripting something, and want to generate an email message, one still needs a command line mailer. I find myself in this situation often. For quite some time I have been able to configure sendmail to use a smart host for relaying of my email to the outside world. I would ljust point sendmail at my ISP's mail system, and away my email woudl go to its intended recipient. As spammers have appeared, my ISp has tightened the security on the system they allow to relay through them. They now require authentication. With the graphical mailers, this is not a problem. I select Authenticated SMTP for outgoing and POP for incoming and everything works well. The command line is another story. When I configure sendmail to do the smart host, and I generate email from the command line there is no authentication being performed, AND to make matters worse, my ISP's machine insists on being able to perform a reverse lookup of my IP address to let me relay. Like most people, I have broadband at the home-office, and with that I have a dynamic IP. The dynamic IP makes the reverse lookup fail. That coupled with the lack of authentication has been causing me great pain for some time now. I have tried anubis, but that does not work for me sa I still fail on the reverse lookup. I have talked with various people and none have been able to recommend an elegant solution. So I approach the 'gurus'... What I am searching for is a comand line environment for email, which will offer me the same options - and hopefully the same ease of configuration - as the graphical mailers. A command line solution which will not be caught up in the reverse lookup problem, and also be able to perform the necessary authentication. Masquerading would also be nice, since I want to have all my email 'appear' as if it originated from my domain, which is hosted by my ISP (as opposed to being obvious that it originated from my basement). For your perusal I am including the output from a sendmail session which shows the rejection of my email through my ISP. I have worked on this problem for months now, and am at the end of my rope (otherwise I would not bother you folks with this). If I have this problem, I am sure others do also. PLEASE, think about this and let me know if you have any ideas. Thanks in advance... Ernie Rice 220-occp4.ocservers.net ESMTP Exim 3.36 #1 Sat, 10 May 2003 16:55:43 -0700 220-We do not authorize the use of this system to transport unsolicited, 220 and/or bulk e-mail. >>> EHLO fred.ehr3.net 250-occp4.ocservers.net Hello pool-151-198-132-161.mad.east.verizon.net [151.198.132.161] 250-SIZE 250-PIPELINING 250-AUTH PLAIN LOGIN 250-STARTTLS 250 HELP >>> MAIL From: SIZE=5 250 reject all recipients: 3 times bad sender >>> RCPT To: >>> DATA 550 cannot route to sender address 503 Valid RCPT TO must precede DATA >>> RSET 250 Reset OK ehr3... Connecting to [127.0.0.1] via relay... ehr3... Deferred: Connection refused by [127.0.0.1] Closing connection to mail.ehr3.com. >>> QUIT 221 occp4.ocservers.net closing connection