From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GaoMs-0007G3-TX for garchives@archives.gentoo.org; Fri, 20 Oct 2006 07:00:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9K6wSqa004721; Fri, 20 Oct 2006 06:58:28 GMT Received: from foad.za.net (foad.za.net [209.203.38.162]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9K6uQjS028708 for ; Fri, 20 Oct 2006 06:56:27 GMT Received: from yoda.foad.za.net (foad.za.net [127.0.0.1]) by foad.za.net (Postfix) with ESMTP id 5B12A2B3; Fri, 20 Oct 2006 08:56:56 +0200 (SAST) Date: Fri, 20 Oct 2006 08:57:07 +0200 From: Henti Smith To: gentoo-user@lists.gentoo.org Cc: kashani-list@badapple.net Subject: Re: [gentoo-user] postfix .. transports .. and virtual domains .. Message-ID: <20061020085707.6b81bb8f@yoda.foad.za.net> In-Reply-To: <4537F157.8090601@badapple.net> References: <20061019192507.465ead11@yoda.foad.za.net> <4537F157.8090601@badapple.net> Organization: Geek Ware X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.8; i686-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: 2bfa0697-24e5-455c-aa98-4d32d6179b59 X-Archives-Hash: 97fb72bdd58253b73e4d63e5d7ad2c78 On Thu, 19 Oct 2006 14:42:47 -0700 kashani wrote: > Henti Smith wrote: > > Hi guys, > > > > I've got a virtual domain setup for postfix working .. all good .. > > > > however I want to setup a spam@ and ham@ address for all domains in > > the virtual lookup table (mysql) to go via a transport to the > > script that procresses the mail. > > > > I've added the transport in main.cf > > > > transport_maps = pcre:/etc/postfix/dspam_lerning_transport.pcre > > local_recipient_maps = $transport_maps > > > > but I'm getting this when I try to send to spam@mydomain.tld > > > > Recipient address rejected: User unknown in virtual mailbox table > > > > any ideas ? > > Depending on which virtual guide you followed your virtual domains > are going to be under virtual_mailbox_domains rather than transport. > > I'd add the virtual aliases into the db for ham and spam, if you're > using PostfixAdmin you can add spam and ham in as accounts that are > created automatically wheneven a new domain is added. This does not work. mail gets delivered to maildir as per account setup not the transport service where it's being procesed for spam. All I really need to do is tell postfix to accept any mail for spam@ and ham@ I don't need it delivered anywhere as the transport works fine on localhost, it's just smtp deliveries that gives me problems. H -- Henti Smith henti@geekware.co.za +27 82 958 2525 http://www.geekware.co.za DISCLAIMER : Unauthorised use of characters, images, sounds, odors, severed limbs, noodles, wierd dreams, strange looking fruit, oxygen, and certain parts of Jupiter are strictly forbidden. If I find you violating, or molesting my property in any way, I will employ a pair of burly convicts to find you, kidnap you, and perform god-awful sexual experiments on you until you lose the ability to sound out vowels. I don't know why you are still reading this, but by doing so you have proven that you have far too much time on your hands, and you should go plant a tree, or read a book or something. - http://www.ctrlaltdel-online.com/ -- gentoo-user@gentoo.org mailing list