Mark Constable writes:
> Got a very reluctant courieresmptd that refuses to talk
> on port 25 using a 0.37.2 Debian package with authmysql.
> Local mail is delivered so it's obviously accessing MySQL
> and the rest of the chain just fine but telnetting to it's
> port 25 just gets the Subject line.
>
> # ps aux | grep courieremsptd
> root 1943 0.0 0.1 1488 608 pts/1 S 02:23 0:00 \
> strace -f /usr/sbin/couriertcpd -stderrlogger=/usr/sbin/courierlogger \
> -user=daemon -group=daemon -access=/etc/courier/smtpaccess.dat \
> -maxprocs=40 -maxperc=5 -maxperip=5 -pid=/var/run/courier/esmtpd.pid \
> smtp /usr/sbin/courieresmtpd
> daemon 1948 0.0 0.0 1448 336 ? S 02:23 0:00 \
> /usr/sbin/courierlogger courieresmtpd
>
> The strace -f sits at this point below and when accessed
> with a "telnet host 25" from another box it at least shows
> some sign of life.
>
> ) = 1 (in [5])
> [pid 1946] rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> [pid 1946] rt_sigprocmask(SIG_SETMASK, [], [CHLD], 8) = 0
> [pid 1946] accept(5, {sin_family=AF_INET6, sin6_port=htons(48773), \
> inet_pton(AF_INET6, "::ffff:203.xx.xx.xx", &sin6_addr), \
> sin6_flowinfo=0, sin6_scope_id=0}, [24]) = 6
> [pid 1946] close(6) = 0
> [pid 1946] select(6, [5], NULL, NULL, NULL
>
> The only vague thing I can string together is maybe the
> currently used kernel does not have any ipv6 code or modules
> compiled in... would this be enough to stop an otherwise
> working courier-mta (internally) from talking via port 25 ?
Try disabling IPv6 support. Some IPv6 implementations have broken header
files that add additional padding to the sockaddr_in6 structure, which is
not returned by accept(). If accept() returns a smaller sockaddr_in6
structure than what's declared in the header files, the connection will be
closed.
--
Sam
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users