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 1Gafku-0004FA-VN for garchives@archives.gentoo.org; Thu, 19 Oct 2006 21:48:49 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9JLjJLW003411; Thu, 19 Oct 2006 21:45:19 GMT Received: from popmail.jettissystems.com (popmail.jettissystems.com [38.118.146.212]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9JLgvLY025237 for ; Thu, 19 Oct 2006 21:42:57 GMT Received: from [10.23.0.120] (unknown [74.93.11.97]) by popmail.jettissystems.com (Postfix) with ESMTP id CD73156D484 for ; Thu, 19 Oct 2006 14:42:56 -0700 (PDT) Message-ID: <4537F157.8090601@badapple.net> Date: Thu, 19 Oct 2006 14:42:47 -0700 From: kashani User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] postfix .. transports .. and virtual domains .. References: <20061019192507.465ead11@yoda.foad.za.net> In-Reply-To: <20061019192507.465ead11@yoda.foad.za.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: ae9d2150-ca12-4d34-b96e-1256da4bb2c3 X-Archives-Hash: facd41ea280baaeaeee5f45a10d11cae 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. kashani -- gentoo-user@gentoo.org mailing list