Hi Peter This is what I have in my exim config file with regards to the relays :-
hostlist relay_from_hosts = /usr/local/etc/exim/host_relay : 127.0.0.1 : chaos.gam.co.za : localhost.gam.co.za : spoolmx.gam.co.za : 10.0.0.27 I have added every possible entry for the local host here and moved it to the top of the ACL, but I still have the relay access denied errors coming through. Regards Gawie -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Bowyer Sent: Tuesday, June 14, 2005 10:32 AM To: [email protected] Subject: Re: [exim] Mailman + Exim + Secondary MX On Tue, 2005-06-14 at 08:21 +0200, GamCo - Gawie Marais wrote: > Hi Guys, > > I have a server that does secondary MX hosting for all our domains. > > Recently, I set-up mailman and it works great if recipients are local. > > My exim.conf has a entry :- > > domainlist relay_to_domains = /usr/local/etc/exim/domain_relay > > where I keep a list of all domains my server should handle secondary MX for. > > > The problem being that with the mailman mailing lists, when sending mail out > to recipients in the list, it does not deliver to domains not specified in > the /usr/local/etc/exim/domain_relay file and I end up with a error "Relay > not permitted". > > However, when I replace > > domainlist relay_to_domains = /usr/local/etc/exim/domain_relay > with something like :- > domainlist relay_to_domains = * > > it works great. But I'm sure that's not the ideal solution. > > Can anyone perhaps help me out with some alternatives or advice...? Sounds like Exim is not configured to allow relay from localhost. If you have a hostlist called something like 'relay_from_hosts', put 127.0.0.1 in it. Otherwise create one. And an ACL clause something like: accept hosts = +relay_from_hosts high up in the rcpt ACL. Peter -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/ -- ## List details at http://www.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://www.exim.org/eximwiki/
