Re: Competition to qmail ...again

1999-06-15 Thread Anonymous

>I will check the DNS entries again . But it does not seem to be the case.
>The connection to that mail server is instant as i send normal mails
>through that sometimes and it works very fast. [ but sometimes not ]

The most likely problem is that your qmail trigger file isn't a socket:

 # ls -l /var/qmail/queue/lock/trigger
 prw--w--w-  1 qmails  qmail  0 Jun 15 09:51 /var/qmail/queue/lock/trigger

If you do this and the "p" isn't there, that's your problem.

Another possibility is that your relay is overloaded, and qmail is
knocking it over with bursts of mail.  Perversely, decreasing your
remote concurrency may speed things up by limiting the rate at which
qmail forwards messages to the relay.

Try setting /var/qmail/control/concurrencyremote to something small, like
5, stop and start qmail, and see if that helps.



-- 
John R. Levine, IECC, POB 727, Trumansburg NY 14886 +1 607 387 6869
[EMAIL PROTECTED], Village Trustee and Sewer Commissioner, http://iecc.com/johnl, 
Member, Provisional board, Coalition Against Unsolicited Commercial E-mail



Re: Competition to qmail ...again

1999-06-15 Thread Anonymous

Amit Vadehra <[EMAIL PROTECTED]> wrote:
>
>The PROBLEM that i face is that when qmail is trying to send a mail to
>the internet through the relay server of my ISP , from the local machine
>.. the queue of the mail being sent remains for as long as 3 min.

That's not normal. Sounds like possible nameserver or identd
problems. You could truss/trace/strace/par a qmail-remote and/or sniff
port 25 during an exchange to see where the delay is coming from.

>Isn't there a place where one can specify the time out and retry time
>??

No, the retry schedule is fixed. You can force a retry of all queue
mail, but that won't help. Your messages should be going through on
the first try.

-Dave



Re: Competition to qmail ...again

1999-06-15 Thread Anonymous

Thanks Fred.
I will check the DNS entries again . But it does not seem to be the case.
The connection to that mail server is instant as i send normal mails
through that sometimes and it works very fast. .
I agree on the 15 s time for the mail to travel but my server takes a
minute to flush the queue.The problem is strange.Is there not an setting
that can increase or decrease the time out for the mail flush queue.
Thanks
Amit Vadehra




Fred Lindberg wrote:

> On Tue, 15 Jun 1999 12:25:47 +0530, Amit Vadehra wrote:
>
> >.. the queue of the mail being sent remains for as long as 3 min.
>
> Look in the mail log to see what happens. I send mail to Sweden and get
> a reply within 15 s
> (MUA->qmail->qmail->ezmlm->qmail->qmail->pop3->MUA). Something is
> wrong.
>
> Does qmail attempt a delivery right away? Is it busy with other
> deliveries (concurrencyremote)?
>
> DNS: Ping looks for an A record, mail for an MX record, then an A
> record. If you have the server in /etc/hosts, ping doesn't need DNS,
> but mail does. Are you running a local named?
>
> Normally, qmail-send wakes up as soon as a mail enters the queue, and
> starts a connection for delivery. It doesn't look for bandwidth. It
> attempts to initiate a connection. If it fails, it may wait. Also, your
> ISP may do a lot of things to delay. For some sendmail installations,
> it takes minutes to verify an address. It may also try to do a ident
> connection to your machine, etc.
>
> This is _not_ normal qmail behavior.
>
> -Sincerely, Fred
>
> (Frederik Lindberg, Infectious Diseases, WashU, St. Louis, MO, USA)