D
D
Dmitry S2013-12-16 00:26:52
Debian
Dmitry S, 2013-12-16 00:26:52

How to set up your smtp server on debian?

I'm interested in the question of which smtp server can be raised on debian and how.
I tried exim4, but it never sent any messages to the outside world.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Ilya Evseev, 2013-12-16
@IlyaEvseev

1) Installation: apt-get install postfix
2) In the configuration dialog, select "No configuration".
3) Create /etc/postfix/main.cf:

inet_interfaces = loopback-only
inet_protocols = ipv4

4) Start: service postfix start
5) Check:echo test1 | mail -s test1 свой@емейл.com

Z
zorruch, 2013-12-16
@zorruch

Install postfix. It works simply and the default config is enough to send via the console.

V
Vlad Zhivotnev, 2013-12-16
@inkvizitor68sl

If the 25th port is not closed outside where you put it, then - https://debian.pro/276

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question