[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: trying to restrict exim smtp to specific IP



Boyd Stephen Smith Jr. on 20/01/10 21:23, wrote:
On Wednesday 20 January 2010 14:59:15 Adam Hardy wrote:
Liam O'Toole on 20/01/10 20:41, wrote:
On 2010-01-20, Adam Hardy <adam.ant@cyberspaceroad.com> wrote:
My vserver set-up has very simple requirements - I just want the system
to send out emails generated on the system locally, e.g. piping command
output to mailx
Try running (as root) 'dpkg-reconfigure exim4-config' and follow the
prompts. An explanation of the various options is given in Section 2 of
the file /usr/share/doc/exim4-base/README.Debian.html.
I did that to begin with, since I had to install exim myself anyway. The
 option to be an "internet server; mail is sent and received using SMTP" is
 the closest, but as above, I don't want to receive.

Use that setting. There will be a later question that asks you what interfaces (or was it IPs?) that you want to listen on. Don't specify your public interface (only lo) and you won't be receiving any mail.

Not allowed to do that - apparently it would foobar the local network where the host server of my vserver sits. I've got to use the public IP address if I configure this, but I'd feel happier if I didn't have to listen on port 25 at all. I don't want any incoming mail - I just want to send.

Adam


Reply to: