sendmmail problems

Piotr Grudzinski piotr at powersmiths.com
Fri Jan 23 18:11:52 UTC 2009


>>> Right now I see it is not involved.
>>
>> So the time-out is not used when connecting to the mail server?
>>
> I was wrong. Indeed it is used. Look at mailutils/mail.c:
> 
> ----
> const FAST_FUNC char *command(const char *fmt, const char *param)
> {
> const char *msg = fmt;
> if (timeout)
> alarm(timeout);
> ----
> 
> So -w N would result in idling at most N seconds.
> 

I have tried -w 5 and -w 1. It was timing out after 3-4 minutes.
Any suggestions ?

---
Piotr


More information about the busybox mailing list