Set mail server NOT to receive any mail
Asked by
Michael Sioutis
So I've set it all up and I can send an email wherever I want to. But since I'll be using my mail server only to send some information about the results of a programm I executed, or the contents of a log file in specific time intervals etc, in a specific mail account of mine, I don't actually want it to receive any mail from the internet.
I ran sudo dpkg-reconfigure exim4-config and removed ::1 from the adresses it should bind to, leaving only localhost.
When doing netstat -na | grep "LISTEN " I see 127.0.0.1::25, so If I understand correclty now it accepts mails only from localhost.
Is that all or should I do sth extra?
Thanx,
Mike
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu exim4 Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Antonis Kanouras
- Solved:
- Last query:
- Last reply:
To post a message you must log in.