From owner-freebsd-questions@FreeBSD.ORG Wed Mar 8 16:43:01 2006 Return-Path: X-Original-To: questions@freebsd.org 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 6691916A420 for ; Wed, 8 Mar 2006 16:43:01 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 474E143D70 for ; Wed, 8 Mar 2006 16:42:50 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from flame.pc (aris.bedc.ondsl.gr [62.103.39.226]) (authenticated bits=128) by igloo.linux.gr (8.13.5/8.13.5/Debian-3) with ESMTP id k28GgWPf018206 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 8 Mar 2006 18:42:33 +0200 Received: from flame.pc (flame [127.0.0.1]) by flame.pc (8.13.4/8.13.4) with ESMTP id k28GgPU4096022; Wed, 8 Mar 2006 18:42:25 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by flame.pc (8.13.4/8.13.4/Submit) id k28GgP2C096019; Wed, 8 Mar 2006 18:42:25 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 8 Mar 2006 18:42:24 +0200 From: Giorgos Keramidas To: Nathan Vidican Message-ID: <20060308164224.GA88086@flame.pc> References: <440F033A.2070400@wmptl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <440F033A.2070400@wmptl.com> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.376, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.82, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr Cc: questions@freebsd.org Subject: Re: Sendmail / alias issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2006 16:43:01 -0000 On 2006-03-08 11:15, Nathan Vidican wrote: > I know there might be a better sendmail/related mailing list to send this > to, but figured I'd drop it here and give it a shot - sorry for the cross > post, but I subscribe to -questions so figured it'd be okay and beneficial > to other users too. Anyhow, on with the problem: > > I have an entry like this in /etc/mail/aliases: > > someolduserwhoquit: 550:"The user you have attempted to send mail to no \ > longer exists on this system, please see\ > http://www... for details or a new contact" > > (not exact; in alias file it's all on one line with no \ ) > > alias works exactly as expected; when someone sends a message to > someolduserwhoquit@wmptl.com, it bounces their message back with the error > string I quoted. The problem then, becomes SPAM (lol - when is SPAM NOT a > problem eh?). > > example: > - (faked) from: somefakeid@yahoo.com > - sends a message to someolduserwhoquit@wmptl.com > - tries to bounce message back, in-turn getting message bounced back to > our postmaster saying 'no valid user here for somefakeid@yahoo.com' > > So, to the question part... how can I setup an alias to either ignore the > bounce-back it gets, (ie to blindly send the bounce itself), or is it > possible to specify a different from address on our server's end so when/if > the other receiving server doesn't have a valid from address it just drops > the reply on our end, like so: I prefer using a different error code that is not a "permanent error". A "transient error" forces the SMTP relay of the spammers to keep the message for some period in their queue and try again later. There's no need for you to keep the message in your own mail queue :)