** Description changed:
#define MAXDAEMONS 10 /* max number of ports to listen to */
This is causing failures when trying to start:
/etc/mail/sendmail.cf: line 285: too many daemons defined (10 max)
I'm running MTA, MSA, and MSASSL daemons on localhost and my primary
interface. With the addition of IPv6, this pushes me to 12 combinations
of listeners.
I suggest raising this seemingly arbitrary limit to much larger.
+
+ IMPACT: the default sendmail package is unusable in larger server
+ configurations.
+
+ TEST CASE:
+ - install sendmail-bin
+ - make sure network interfaces have IPv6 addresses (even link-local)
+ - update /etc/mail/sendmail.mc to have the following DAEMON_OPTION entries,
where host.domain is the local fqdn:
+ DAEMON_OPTIONS(`Name=MTA, Port=smtp, Family=inet, Address=localhost')
+ DAEMON_OPTIONS(`Name=MTA, Port=smtp, Family=inet6, Address=::1')
+ DAEMON_OPTIONS(`Name=MTA, Port=smtp, Family=inet, Address=host.domain')
+ DAEMON_OPTIONS(`Name=MTA, Port=smtp, Family=inet6, Address=host.domain')
+ FEATURE(`no_default_msa')dnl
+ DAEMON_OPTIONS(`Name=MSA, M=E, Port=submission, Family=inet,
Address=localhost')
+ DAEMON_OPTIONS(`Name=MSA, M=E, Port=submission, Family=inet6,
Address=::1')
+ DAEMON_OPTIONS(`Name=MSA, M=Ea, Port=submission, Family=inet,
Address=host.domain')
+ DAEMON_OPTIONS(`Name=MSA, M=Ea, Port=submission, Family=inet6,
Address=host.domain')
+ DAEMON_OPTIONS(`Name=MSASSL, M=Eas, Port=smtps, Family=inet,
Address=localhost')
+ DAEMON_OPTIONS(`Name=MSASSL, M=Eas, Port=smtps, Family=inet6,
Address=::1')
+ DAEMON_OPTIONS(`Name=MSASSL, M=Eas, Port=smtps, Family=inet,
Address=host.domain')
+ DAEMON_OPTIONS(`Name=MSASSL, M=Eas, Port=smtps, Family=inet6,
Address=host.domain')
+ - rebuild configuration: cd /etc/mail; make
+ - observe failure ("too many daemons defined (10 max)")
+
+ REGRESSION POTENTIAL: virtually none. The 54 extra array slots uses will
+ use a tiny bit more memory, but if that creates a problem, there are
+ significantly more serious problems happening on the system.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1223636
Title:
not enough daemons port configurable
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sendmail/+bug/1223636/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs