From owner-freebsd-questions@FreeBSD.ORG Thu Mar 27 17:31:31 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 73FCC37B401 for ; Thu, 27 Mar 2003 17:31:31 -0800 (PST) Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1471D43F75 for ; Thu, 27 Mar 2003 17:31:26 -0800 (PST) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-b133.otenet.gr [212.205.244.141]) by mailsrv.otenet.gr (8.12.8/8.12.8) with ESMTP id h2S1V3d8010865 for ; Fri, 28 Mar 2003 03:31:15 +0200 (EET) Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.8/8.12.8) with ESMTP id h2S1V1Z8014588 for ; Fri, 28 Mar 2003 03:31:01 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.8/8.12.8/Submit) id h2S1ITgQ014389; Fri, 28 Mar 2003 03:18:29 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Fri, 28 Mar 2003 03:18:29 +0200 From: Giorgos Keramidas To: Tuc Message-ID: <20030328011829.GA14148@gothmog.gr> References: <200303272313.h2RNDjco004607@himinbjorg.ttsg.com> Mime-Version: 1.0 Content-Type: text/PLAIN; charset=us-ascii Content-Disposition: inline In-Reply-To: <200303272313.h2RNDjco004607@himinbjorg.ttsg.com> X-X-Sender: giorgos@gothmog Fcc: /home/giorgos/mail/sent-mail X-Reply-UID: (2 > )(1 1048813039 43)/home/giorgos/Mailbox X-Reply-Mbox: /home/giorgos/Mailbox X-Cursor-Pos: : 0 X-Our-Headers: From X-RAVMilter-Version: 8.4.2(snapshot 20021217) (terpsi) X-Spam-Status: No, hits=-25.3 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, RCVD_IN_UNCONFIRMED_DSBL,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-questions@freebsd.org Subject: Re: Sendmail quirk 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: Fri, 28 Mar 2003 01:31:33 -0000 On 2003-03-27 18:13, Tuc wrote: >>> Nothing earth shattering, right? >> >> No SMART_HOST. > > Nope, never had one before. Prefer to do my delivery myself. Without meaning to sound ironic or harsh, you are probably beginning to find out why this is not a good idea anymore. It probably was a few years back. Not now... >> Do you have a static IP address, or are you using a >> dynamic IP address? > > Yes. Depends where I am, what I'm doing. In this case my IP is NAT > at the firewall. I send dozens of emails every day, NEVER seen this > happen. Use your ISPs mail gateway as a SMART_HOST. The fact that you haven't seen this happen until now doesn't necessarily mean that it cannot happen now or in the future. A lot of people set their mail servers up to block incoming messages from hosts that don't match a strict collection of criteria. Examples include: - Hosts with DNS resolution problems are blocked. - Hosts with DNS mismatches in forward/reverse lookups are blocked. - All dialup hosts are blocked. - All mail servers listed in a blacklist are blocked. There are some of the criteria used by people in an effort to protect their mail spools from spammers. > I also have the same config on a server with a dedicated IP on the > public Internet at all time. Same problem there. > > > What version of Sendmail are you running? > > 8.12.8 on both. Seems fairly recent. Are you running Sendmail in setuid mode? The output of `mail -v' here is very different from what you posted: : $ mail -v keramida@freebsd.org : Subject: TEST : no useful text : . : EOT : keramida@freebsd.org... Connecting to localhost.localnet. via relay... The above line is the important part. Sendmail tries to do local delivery using SMTP to localhost (in an effort to deliver the message from /var/spool/clientmqueue to /var/spool/mqueue). Your output is very different, hinting at a setuid Sendmail setup. Is that true? Another good question is why your mail server uses a fake HELO name: : Delivered-To: keramida@ceid.upatras.gr : Received: (qmail 2585 invoked from network); 27 Mar 2003 23:09:50 -0000 : Received: from wallstreet34.kickstartusa.com (HELO himinbjorg.ttsg.com) (65.105.161.248) : by diogenis.ceid.upatras.gr with SMTP; 27 Mar 2003 23:09:50 -0000 : Received: (from tuc@localhost) : by himinbjorg.ttsg.com (8.12.8/8.12.8) id h2RNDjco004607; : Thu, 27 Mar 2003 18:13:45 -0500 (EST) : (envelope-from tuc) Your address (and hostname) are under the kickstartusa.com domain. This means that you shouldn't let your messages go out with a bogus name in your MTA's HELO command (himinbjorg.ttsg.com in this instance) because many mail servers will block all mail from you. The only mail server that will accept all mail from you is the one of your ISP, i.e. the mail gateway of kickstartusa.com. - Giorgos