Discussion:
Messages stuck in local queue
Cliff
2002-03-30 03:21:58 UTC
Permalink
#./maildirwatch
maildirwatch: fatal: MAILDIR not set
(does this have something to do with it? how do I set it?)
this command watches the maildir in the environment variable $MAILDIR, if you really want that working you can do export $MAILDIR=/path/to/your/Maildir
Any Suggestions of things to try? I'm running out of ideas.
What is in your locals file, how did you setup vpopmail, did you add a domain and user?
----- Original Message -----
From: chris larsen
To: ***@list.cr.yp.to
Sent: Friday, March 29, 2002 6:48 PM
Subject: Messages stuck in local queue


I've reinstalled and redefined /var/qmail/control files per SOOOOOO.. many docs and webpages albeit pretty straightforward and I still can't get anything delivered from the local queue to my vpopmail boxes. permissions are 777 on everything recursively at the moment to see if that was it, I've restarted qmail after making every single change, all services are running as they should be, and I can authenticate and pop my emails just fine... I can get the messages from the smtp server to the queue but the deliver function just ain't happenin'! Any clues, ppl?

qmail-showctl:

il home directory: /var/qmail.
user-ext delimiter: -.
paternalism (in decimal): 2.
silent concurrency limit: 400.
subdirectory split: 239.
user ids: 81, 82, 83, 0, 84, 85, 86, 87.
group ids: 81, 82.

badmailfrom: (Default.) Any MAIL FROM is allowed.

bouncefrom: (Default.) Bounce user name is MAILER-DAEMON.

bouncehost: (Default.) Bounce host name is nexlync.com.

concurrencylocal: (Default.) Local concurrency is 10.

concurrencyremote: Remote concurrency is 255.

databytes: (Default.) SMTP DATA limit is 0 bytes.

defaultdomain: (Default.) Default domain name is nexlync.com.

defaulthost: (Default.) Default host name is nexlync.com.

doublebouncehost: (Default.) 2B recipient host: nexlync.com.

doublebounceto: (Default.) 2B recipient user: postmaster.

envnoathost: (Default.) Presumed domain name is nexlync.com.

helohost: (Default.) SMTP client HELO host name is nexlync.com.

idhost: (Default.) Message-ID host name is nexlync.com.

localiphost: (Default.) Local IP address becomes nexlync.com.

locals:

me: My name is nexlync.com.

percenthack: (Default.) The percent hack is not allowed.

plusdomain: (Default.) Plus domain name is nexlync.com.

qmqpservers: (Default.) No QMQP servers.

queuelifetime: (Default.) Message lifetime in the queue is 604800 seconds.

rcpthosts:
SMTP clients may send messages to recipients at nexlync.com.
SMTP clients may send messages to recipients at .nexlync.com.

morercpthosts: (Default.) No effect.

morercpthosts.cdb: (Default.) No effect.

smtpgreeting: SMTP greeting: 220 Nexlync SMTP Server.

smtproutes: (Default.) No artificial SMTP routes.

timeoutconnect: (Default.) SMTP client connection timeout is 60 seconds.

timeoutremote: (Default.) SMTP client data timeout is 1200 seconds.

timeoutsmtpd: (Default.) SMTP server data timeout is 1200 seconds.

virtualdomains:
Virtual domain: nexlync.com:nexlync.com

tarpitcount: I have no idea what this file does.

tarpitdelay: I have no idea what this file does.

rcpthosts.lock: I have no idea what this file does.

virtualdomains.lock: I have no idea what this file does.

sql: I have no idea what this file does.

locals.lock: I have no idea what this file does.
-----------------------------------------------
#./maildirwatch
maildirwatch: fatal: MAILDIR not set

(does this have something to do with it? how do I set it?)
-----------------------------------------------
qmail stat
pop3: up (pid 9968) 1147 seconds
send: up (pid 9964) 1147 seconds
smtp: up (pid 9959) 1147 seconds
pop3/log: down 1147 seconds
send/log: up (pid 9969) 1147 seconds
smtp/log: down 1147 seconds
-----------------------------------------------
qmail queue
messages in queue: 5
messages in queue but not yet preprocessed: 0
29 Mar 2002 16:12:47 GMT #23711 1261 <***@yahoo.com>
local ***@nexlync.com
29 Mar 2002 16:15:16 GMT #23713 2896 <***@yahoo.com>
local ***@nexlync.com
29 Mar 2002 16:16:24 GMT #23714 2914 <***@yahoo.com>
local ***@nexlync.com
29 Mar 2002 16:33:44 GMT #23721 1216 <***@yahoo.com>
local ***@nexlync.com
-----------------------------------------------------------

Any Suggestions of things to try? I'm running out of ideas.

Thanks,

Chris
Sohan
2002-03-30 03:49:32 UTC
Permalink
Hi All ..
We are running a qmail server on Sun (solaris 2.6) SPARC. But this guy seems to work very slow.

if u try 10 times telnet 0 25 it may once respond with a banner. Else this guy never respsonds back. its always "Trying 0.0.0.0"
But if we remove the MX entry in DNS. Every thing works very cool and the response is normal. Can any one help me Please


TIA


Sohan
George Auch
2002-03-30 05:05:17 UTC
Permalink
Post by Sohan
Hi All ..
We are running a qmail server on Sun (solaris 2.6) SPARC. But this
guy seems to work very slow.
if u try 10 times telnet 0 25 it may once respond with a banner. Else
this guy never respsonds back. its always "Trying 0.0.0.0" But if we
remove the MX entry in DNS. Every thing works very cool and the
response is normal. Can any one help me Please
TIA
Hi Sohan,

using dig, I see the 2 mx records,

However there are no corresponding A records for

mailserv.bhartibroadband.com
mail.bhartibroadband.com

Add an A record for each,

mail.bhartibroadband.com IN A 202.56.230.28
mailserv.bhartibroadband.com .. .. ..

I think this will solve the problem.

George
Sohan
2002-03-30 05:43:05 UTC
Permalink
Hi George ,Thanx for quick response.

But we are trying to run mail server on mantramail.com not in
Bhartibroadband. Thats a differnt server and it is working fine

What should be the general number of remote concurrancy. I know it depends
upon load but still if some one can give some general guidlines it will be
helpfull


Sohan

----- Original Message -----
From: "George Auch" <***@auchnet.org>
To: <***@list.cr.yp.to>
Sent: Saturday, March 30, 2002 10:35 AM
Subject: Re: Qmail working very slow ..
Post by Sohan
Hi All ..
We are running a qmail server on Sun (solaris 2.6) SPARC. But this
guy seems to work very slow.
if u try 10 times telnet 0 25 it may once respond with a banner. Else
this guy never respsonds back. its always "Trying 0.0.0.0" But if we
remove the MX entry in DNS. Every thing works very cool and the
response is normal. Can any one help me Please
TIA
Hi Sohan,

using dig, I see the 2 mx records,

However there are no corresponding A records for

mailserv.bhartibroadband.com
mail.bhartibroadband.com

Add an A record for each,

mail.bhartibroadband.com IN A 202.56.230.28
mailserv.bhartibroadband.com .. .. ..

I think this will solve the problem.

George
George Auch
2002-03-30 06:18:52 UTC
Permalink
Post by Sohan
Hi George ,Thanx for quick response.
But we are trying to run mail server on mantramail.com not in
Bhartibroadband. Thats a differnt server and it is working fine
What should be the general number of remote concurrancy. I know it
depends upon load but still if some one can give some general
guidlines it will be helpfull
Sohan
Defaults are:

qmail-send / concurrencylocal = 10
qmail-send / concurrencyremote = 20

You might try a higher value like 80 or 100 in the
/var/qmail/control/concurrencyremote file to start with.

Setting concurrencyremote too low may result in slow delivery, too high
may overload your system.

If you do change the concurrencyremote value, make sure that you restart
qmail-send.

Check your logs - you should see the change

You can also set conf-spawn as a compile time setting, to set the
maximum for concurrency remote.

I think the default max for qmail is 240 simultaneous connections,
determined by concurrencylocal & concurrency remote.

There is also a big-concurrency patch on the qmail.org site,
(60,000+ concurrencies - if you have the hardware, connection rate, etc.
to support it)

Try changing the concurrencyremote to see if this helps, you may also
try searching the list archives, my guess is this topic has been
discussed before, and if you have or can get a copy of 'The qmail
Hanbook' by Dave Sill, there is a section on performance tuning or
sonething similar.

If all else fails you may want to re-post the question, with a new
subject line.

George
chris larsen
2002-03-30 03:08:41 UTC
Permalink
By the way, I've run queue-fix on it, have deleted and recrecreated, deleted and reinstalled, etc, so I figure it's not a corrupt queue.

Thanks,

Chris



---------------------------------
Do You Yahoo!?
Yahoo! Greetings - send greetings for Easter, Passover
chris larsen
2002-03-30 17:00:08 UTC
Permalink
I can't send email out??? Anyone??

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`

Hi. This is the qmail-send program at srv1.nexlync.com.

I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out.

<'***@yahoo.com'>:

Sorry, I couldn't find any host named yahoo.com'. (#5.1.2)

<'***@hpcitycouncil.com'>:

Sorry, I couldn't find any host named hpcitycouncil.com'. (#5.1.2)

<'***@hotmail.com'>:

Sorry, I couldn't find any host named hotmail.com'. (#5.1.2)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Any suggestions nice and helpful gurus?



---------------------------------
Do You Yahoo!?
Yahoo! Greetings - send greetings for Easter, Passover
Adam Harris
2002-03-30 17:41:06 UTC
Permalink
Hello Chris,

Looks like you need to remove the ' from each side of side of the string.
Qmail is interpreting the ' as part of the email address. Whatever language
you are using, there is a replace function to remove the ' and replace it
with nothing.

Adam Harris
-----Original Message-----
From: chris larsen [mailto:***@yahoo.com]
Sent: Saturday, March 30, 2002 12:00 PM
To: Cliff; ***@list.cr.yp.to
Subject: ok seemed to be okay but now....

I can't send email out??? Anyone??
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
Hi. This is the qmail-send program at srv1.nexlync.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
< '***@yahoo.com' <mailto:'***@yahoo.com'> >:
Sorry, I couldn't find any host named yahoo.com'. (#5.1.2)
<' ***@hpcitycouncil.com' <mailto:***@hpcitycouncil.com'> >:
Sorry, I couldn't find any host named hpcitycouncil.com'. (#5.1.2)
< '***@hotmail.com' <mailto:'***@hotmail.com'> >:
Sorry, I couldn't find any host named hotmail.com'. (#5.1.2)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Any suggestions nice and helpful gurus?

_____

Do You Yahoo!?
Yahoo! Greetings - send greetings for Easter, Passover
chris larsen
2002-03-31 19:31:18 UTC
Permalink
After continuously reflushing my queue and checking for messages and further checking, rechecking and tweaking my control files (after qmail stops), then restarting qmail, I don't have any hold-up in the local queue at this point (even though I can't find where any of the messages are going and multilog isn't logging the pop3 service for some reason), I get everything now sitting in the remote queue. It seems like no matter what I do, including reinstalling and re-applying new control files is getting this thing back to working, and the funny thing is there have been NO system changes. Seems to be all in the control files, but what the heck could it be?? Here are my controls:
/var/qmail/control/me:
domain.com
/var/qmail/control/locals:
[blank]
/var/qmail/control/virtualdomains:
domain.com
/var/qmail/control/rcpthosts:
silentcooperative.com
/var/qmail/control/sql:
server localhost
port 3306
database vpopmail
table relay
user someguy
pass secret
time 1800
(I can establish a sql connection just fine and tables are in place as they were)

/var/qmail/control/concurrencyremote:
255

and the tarpit ones, as professed by Matt Simerson's FreeBSD Qmail Toaster.

tarpitcout: 50

tarpitdelay: 5

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I'm pretty sure it's in the controls b/c that's what I aped with in the first place !DOH!

Is there something I should know along the lines of service-related issues and file modification? Like when I do my reinstalls I know I should delete any old .lock file(s) before starting the services, etc.

Cheers,

Chris


Adam Harris <***@homebusinessgo.com> wrote:

v\:* {behavior:url(#default#VML);}o\:* {behavior:url(#default#VML);}w\:* {behavior:url(#default#VML);}.shape {behavior:url(#default#VML);}
Hello Chris,



Looks like you need to remove the ‘ from each side of side of the string. Qmail is interpreting the ‘ as part of the email address. Whatever language you are using, there is a replace function to remove the ‘ and replace it with nothing.



Adam Harris

-----Original Message-----
From: chris larsen [mailto:***@yahoo.com]
Sent: Saturday, March 30, 2002 12:00 PM
To: Cliff; ***@list.cr.yp.to
Subject: ok seemed to be okay but now....



I can't send email out??? Anyone??

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`

Hi. This is the qmail-send program at srv1.nexlync.com.

I'm afraid I wasn't able to deliver your message to the following addresses. This is a permanent error; I've given up. Sorry it didn't work out.

<'***@yahoo.com'>:

Sorry, I couldn't find any host named yahoo.com'. (#5.1.2)

<'***@hpcitycouncil.com'>:

Sorry, I couldn't find any host named hpcitycouncil.com'. (#5.1.2)

<'***@hotmail.com'>:

Sorry, I couldn't find any host named hotmail.com'. (#5.1.2)

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Any suggestions nice and helpful gurus?



---------------------------------

Do You Yahoo!?
Yahoo! Greetings - send greetings for Easter, Passover



---------------------------------
Do You Yahoo!?
Yahoo! Greetings - send greetings for Easter, Passover

Continue reading on narkive:
Loading...