IPV4 and IPV6

From Roaring Penguin
Jump to: navigation, search

Sendmail only listens for IPv4 connections. If you want it to listen on IPv4 and IPv6, you need to add this line to /etc/mail/sendmail.mc after the DOMAIN(`debian-mta')dnl line:

   DAEMON_OPTIONS(`Family=inet6,Port=smtp,Name=MTA')dnl

and then you need to do:

   make -C /etc/mail && /etc/init.d/sendmail restart