On Thu, Oct 29, 2015 at 04:43:55PM GMT, [email protected] wrote:
> Hallo opensmtpd mail list :-)
Hi Tomasz,
You already received an answer to your main question, I'll just comment
on some of our configuration.
> I must say that I am "email server" greenhorn.
Could you be more specific, please? What do you mean by "email server"?
Do you want to use it only to send mail or receive, too?
> I have liked it just after seeing one configuration line with: "accept
> from ...". Way of configuring opensmtpd seams to me be modern, simple
> and easiest of all smtp servers :-)
I very much agree with you here here - well, I think we all, on this
mailing list, do ;^)
> B) ip addr
>
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
> default
> link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
> inet 127.0.0.1/8 scope host lo
> valid_lft forever preferred_lft forever
> inet6 ::1/128 scope host
> valid_lft forever preferred_lft forever
> 2: enp0s3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
> UP group default qlen 1000
> link/ether 08:00:27:6f:f9:22 brd ff:ff:ff:ff:ff:ff
> inet 172.29.2.101/19 brd 172.29.31.255 scope global dynamic enp0s3
> valid_lft 570826sec preferred_lft 570826sec
> inet6 fe80::a00:27ff:fe6f:f922/64 scope link
> valid_lft forever preferred_lft forever
> 6: enp0s11u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
> state UNKNOWN group default qlen 1000
> link/ether 0c:5b:8f:27:9a:64 brd ff:ff:ff:ff:ff:ff
> inet 192.168.8.100/24 brd 192.168.8.255 scope global dynamic enp0s11u1
> valid_lft 52421sec preferred_lft 52421sec
> inet6 fe80::e5b:8fff:fe27:9a64/64 scope link
> valid_lft forever preferred_lft forever
>
> 3) My opensmtp:
>
> A) /etc/opensmtpd/smtpd.conf
>
> listen on lo
> listen on enp0s3
> listen on enp0s11u1
>
> accept from local for any relay
If the answer to the above question is "only sent mail from that VM", a
more appropriate configuration would be:
listen on lo
If you are in fact planning on receiving mail on that machine, you can
shorten the above to:
listen on all
You can also limit the listening to inet4 or inet6 family of addresses
if you wish to.
Regards,
Raf
--
You received this mail because you are subscribed to [email protected]
To unsubscribe, send a mail to: [email protected]