On Tue, Jun 15, 1999 at 12:13:56AM +0200, Lex Chive wrote: > On Mon, Jun 14, 1999 at 07:33:54PM +0100, Alisdair McDiarmid wrote: > > I'm using Demon Internet as my ISP, as you can probably guess. > > Demon automatically sends email via SMTP if the port is open (as > > far as I can tell), but there is now an optional POP3 service > > available. Since I'd much rather use fetchmail on its own than > > fetchmail and exim, I'd like to configure exim to not receive mail > > from Demon's servers. I can't work out how to do this from the > > exim docs - can anyone help? > > There is an option named sender_host_reject which might be what you need.
Right. Doesn't that mean that the mails will be rejected, though? All I want is port 25 to be closed to anything other than localhost. > Alternatively, if you're running exim from inetd you can use the tcpd wrapper > and use hosts.allow and hosts.deny to deny incoming connection from other > sites (see hosts_access(5)). I'm pretty sure exim is run from init.d, but i'm not entirely certain. > But I am not sure it is the right thing to do, why wouldnt you want to receive > mail directly? Because I am going to want to use procmail soon, and it's easier to configure it to only work through fetchmail, and because if I try to fetch mail with POP3 and SMTP a collision sometimes occurs. And SMTP is unreliable - sometimes Demon don't bother sending me the email. -- alisdair mcdiarmid [i won't tear again i won't breathe in the shards of what is left]