On Saturday, June 06, 2009 at 16:24 CEST, Mike Robinson <webmas...@thebcgroup.org.uk> wrote:
> We have a server on the internet which provides spam filtering and a > couple of other bits and bobs. > > Spam filtering is by postgrey, amavis, clamav and spamassassin. There > are no local recipients, If that is the case, why isn't mydestination empty? You have emptied local_recipient_maps, but this means that all addresses are accepted (and then possibly bounced, which is bad). > and all mail is forwarded to the mailbox servers (via transport maps) > on our various internal nets. Here's the main.cf: "postconf -n" output is preferred. [...] > This server is not heavily used, so we would like to add a web app. > The web app needs to be able to send email to a range of email > destinations which is broader than that listed in the transport file. > I don't want to have to add recipient domains to the transport file, > because there will be recipients using this web app for whom we don't > want to relay mail coming from the internet. We will want to relay all > mail originating from the webserver on localhost. > > If what we're trying to do is very bad practice, we'll come up with > another solution. But if there's no problem with it in principle, can > anyone offer any hints for how to set it up? Just make sure 127.0.0.1/32 (or 127.0.0.0/8) is listed in mynetworks. -- Magnus Bäck mag...@dsek.lth.se