From owner-freebsd-ports@FreeBSD.ORG Thu Mar 7 15:12:39 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 21F5D929 for ; Thu, 7 Mar 2013 15:12:39 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id CCA6BFF1 for ; Thu, 7 Mar 2013 15:12:38 +0000 (UTC) Received: from irix.bris.ac.uk ([137.222.10.39] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1UDcUf-00013S-R4; Thu, 07 Mar 2013 15:12:37 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1UDcUf-0006i3-LA; Thu, 07 Mar 2013 15:12:29 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6) with ESMTP id r27FCTJb001711; Thu, 7 Mar 2013 15:12:29 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.6/8.14.6/Submit) id r27FCT1p001710; Thu, 7 Mar 2013 15:12:29 GMT (envelope-from mexas) Date: Thu, 7 Mar 2013 15:12:29 GMT From: Anton Shterenlikht Message-Id: <201303071512.r27FCT1p001710@mech-cluster241.men.bris.ac.uk> To: freebsd@edvax.de Subject: Re: fetchmail/sendmail: Domain of sender address does not exist In-Reply-To: <20130307144501.37632a8a.freebsd@edvax.de> X-Spam-Score: -3.9 X-Spam-Level: --- Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Mar 2013 15:12:39 -0000 From freebsd@edvax.de Thu Mar 7 14:14:34 2013 On Thu, 7 Mar 2013 09:40:47 GMT, Anton Shterenlikht wrote: > How do I set fetchmail and sendmail to fetch > such emails? Maybe it helps if you add the options "fetchall flush" to your .fetchmailrc configuration file? No that does not help. I've had a similar problem some years ago and I think this was the solution. See "man fetchmail" for the corresponding command line options (and you could probably add -v to see what's actually going on). I see e.g.: fetchmail: IMAP> A0021 FETCH 14 RFC822.HEADER fetchmail: IMAP< * 14 FETCH (RFC822.HEADER {4833} reading message mexas@epo.bris.ac.uk:14 of 14 (4833 header octets) fetchmail: SMTP> MAIL FROM: BODY=8BITMIME SIZE=5930 fetchmail: SMTP< 553 5.1.8 ... Domain of sender address fsde_1e2ciclos@mrsevangelineschafers.localdomain does not exist fetchmail: SMTP error: 553 5.1.8 ... Domain of sender address fsde_1e2ciclos@mrsevangelineschafers.localdomain does not exist fetchmail: SMTP> RSET fetchmail: SMTP< 250 2.0.0 Reset state fetchmail: IMAP< ) fetchmail: IMAP< A0021 OK Completed (0.000 sec) not flushed I'm also confused by this section of fetchmail man page: *quote* SMTP/ESMTP ERROR HANDLING Besides the spam-blocking described above, fetchmail takes special actions on the following SMTP/ESMTP error responses ... 553 (invalid sending domain) Delete the message from the server. Don't even try to send bounce-mail to the originator. *end quote* I do get error 553 here, but the emails are not deleted from the server. I tried running fetchmail dosens of times, but this email (and others, about 15 in total), just wouldn't go away, and I cannot get those either. Maybe I should ask in fetchmail lists. Thanks Anton