My goal is to make sendmail accept connections over IPv6.
ok, this is the diff from after my edit:
Code:
root@computer-compaq:/usr/share/sendmail/cf/cf# diff -u sendmail-slackware.mc sendmail-slackware-ipv6.mc
--- sendmail-slackware.mc 2009-06-26 21:50:54.000000000 +0200
+++ sendmail-slackware-ipv6.mc 2009-12-20 18:57:55.000000000 +0100
@@ -37,6 +37,8 @@
EXPOSED_USER(`root')dnl
dnl# Also accept mail for localhost.localdomain:
LOCAL_DOMAIN(`localhost.localdomain')dnl
+DAEMON_OPTIONS(`Name=MTA-v4, Family=inet')
+DAEMON_OPTIONS(`Name=MTA-v6, Family=inet6')
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(procmail)dnl
I ran m4 and copied the file to /etc/mail/:
Code:
root@computer-compaq:/usr/share/sendmail/cf/cf# m4 sendmail-slackware-ipv6.mc > ../../sendmail-slackware-ipv6.cf
root@computer-compaq:/usr/share/sendmail/cf/cf# cp /usr/share/sendmail/sendmail-slackware-ipv6.cf /etc/mail/sendmail.cf
The result:
Code:
root@computer-compaq:/usr/share/sendmail/cf/cf# sh /etc/rc.d/rc.sendmail restart
Starting sendmail MTA daemon: /usr/sbin/sendmail -L sm-mta -bd -q25m
554 5.3.5 /etc/mail/sendmail.cf: line 265: Unknown address family inet6 in Family=option
Starting sendmail MSP queue runner: /usr/sbin/sendmail -L sm-msp-queue -Ac -q25m
It doesn't listen to IPv6.
Doesn't sendmail support IPv6 by default on slackware? How can I check that?
Do I have to modify some other configuration file? Which one?