Unable to get sendmail submission port to listen on IPv6

Beat Siegenthaler beat.siegenthaler at beatsnet.com
Sat Apr 20 18:16:05 UTC 2013


On 19.04.13 16:00, Jeremy Chadwick wrote:
>> Hi all,
>>
>> I did not recognize that 587 is only listening onIy on IPv4. Maybe it's
>> new, maybe it was alltime so.
>>
>> sendmail  25090	root  4u  IPv4 0xfffffe01e810f3d0  0t0   TCP *:25 (LISTEN)
>> sendmail  25090	root  5u  IPv6 0xfffffe01a988f000  0t0   TCP *:25 (LISTEN)
>> sendmail  25090	root  6u  IPv4 0xfffffe011c53d000  0t0   TCP *:587 (LISTEN)
>>
Still no luck...
>>
>> Multiple things:
>>
>> 1. The files that "control" sendmail are `hostname`.mc and
>> `hostname`.submit.mc.  The freebsd.mc and freebsd.submit.mc are "stock"
>> examples.
>>
>> I assume you're already familiar with the need to run "make" in
>> /etc/mail.
Of course. Yes.
>
> 2. `hostname`.mc controls options/features for the daemon -- i.e. the
> thing that is listening on TCP ports.  `hostname`.submit.mc is for
> outbound mail.  You're wanting sendmail to listen on TCP port 587, which
> is what's used by SMTP clients (ex. Eudora, Thunderbird, etc.) trying to
> send mail to sendmail (rather than the classic model/method of using
> port 25).
Yes, You are right. I was confused, about "`hostname`.submit.mc" and
port 587 named "submission" in /etc/services
>
> 3. What you need to add is here:
>
> http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/040006.html
I tried this and many other things, believe me. Result is always the same.
(Many Providers block 25 for residential networks nowadays)
And I hate it when i have delays caused by ports not listening on IPv6.
Did somebody managed to have 587 listening v6? with 9-STABLE

Kind regards,
Beat


More information about the freebsd-stable mailing list