Re: [toaster] qmail send receive

2008-06-16 Thread Newbie Qmail
yes you are right...Thanks a ton
as per G9 i did make chek and fixed issue with trigger, it was missing in place.
once again thanks a lot mate...

- Original Message 
From: Jussi Siponen [EMAIL PROTECTED]
To: toaster@shupp.org toaster@shupp.org
Sent: Friday, June 13, 2008 11:03:58 AM
Subject: RE: [toaster] qmail send receive

Hi, Kavitha.

Qmail does not need to be restart on regular basis to make it deliver messages! 
Something is seriously rotten in your system...


You didn't specify if messages are only delayed or if they are stuck in queue 
permanently without the restart.

If they are only delayed, then you may simply have a lame trigger:


G.9. qmail is slow if /var/qmail/queue/lock/trigger is gone/has the wrong 
permissions/is a regular file.

qmail-queue and qmail-send communicate via a named pipe called 
/var/qmail/queue/lock/trigger. If this pipe gets messed up, qmail-send doesn't 
notice new messages for a half hour or so.

The best way to ensure that it's set up right is to run make check from the 
source directory. If that's not possible, make sure it looks like:

# ls -l /var/qmail/queue/lock/trigger
prw--w--w-  1 qmails  qmail          0 Jul  5 21:25 
/var/qmail/queue/lock/trigger

Pay particular attention to the p at the beginning of the line (says it's a 
named pipe), the mode (especially world writable), and the owner/group.

http://www.lifewithqmail.org/lwq.html#trigger


If it's not this, then please check that all processes are running (qmailctl 
stat, everything is UP for about the same amount of seconds and has been up for 
a reasonable time):

[EMAIL PROTECTED] ~]# qmailctl stat
/service/clamd: up (pid 4798) 2539401 seconds
/service/clamd/log: up (pid 4182) 2539552 seconds
/service/dnscache: up (pid 4804) 2539401 seconds
/service/dnscache/log: up (pid 4171) 2539552 seconds
/service/qmail-pop3d: up (pid 4807) 2539401 seconds
/service/qmail-pop3d/log: up (pid 4187) 2539552 seconds
/service/qmail-pop3ds: up (pid 4810) 2539401 seconds
/service/qmail-pop3ds/log: up (pid 4188) 2539552 seconds
/service/qmail-send: up (pid 8260) 2538943 seconds
/service/qmail-send/log: up (pid 4185) 2539552 seconds
/service/qmail-smtpd: up (pid 4822) 2539401 seconds
/service/qmail-smtpd/log: up (pid 4175) 2539552 seconds
/service/qmail-submit: up (pid 4828) 2539401 seconds
/service/qmail-submit/log: up (pid 4176) 2539552 seconds
/service/spamd: up (pid 4835) 2539401 seconds
/service/spamd/log: up (pid 4186) 2539552 seconds
messages in queue: 73
messages in queue but not yet preprocessed: 0

If something is notably different from the rest of the list, examine the log 
files for that particular process. Usually they are under /var/log.


If that doesn't reveal anything, check the rest of the logs:

clamd
spamd
qmail
|-- pop3d
|-- pop3ds
`-- smtpd


If *all* else fails, you can abandon the current queue and start over:

qmailctl stop

cd /var/qmail
mv queue queue_OLD

cd /var/src/netqmail-1.05/netqmail-1..05
make setup check
chown -R vpopmail:vchkpw /var/qmail/spam

qmailctl start


BTW: does qmailctl doqueue deliver the messages waiting in the queue? If it 
does, use that to keep mail going while you figure out what is going on. It's 
much better than constantly restarting.

--
Ystävällisin terveisin / Best regards
Jussi Siponen
System Specialist -- Seasam Service Oy

-

From: Newbie Qmail [mailto:[EMAIL PROTECTED]
Sent: 12. kesäkuuta 2008 19:47
To: toaster@shupp.org
Subject: [toaster] qmail send receive


Good evening everybody
I have a strange problem in my qmail server. First let me brief about my qmail 
setup
i am using debian 3.1 OS and qmail+spamassassin+clamav . So far the server was 
doing it pretty good. The problem started after my
vacation holls. my colleague was telling he didnt add/modify anything this mail 
server other than one cronjob
(cronjob is restarting the qmail server every 5 minutes.)
Now the problem is if the qmail server is not getting restarted, the mails are 
not getting delivered to internal/external users
had a look at qmail-send/run, nothing seems modified.
can anyone helpme out here

kavitha


  

RE: [toaster] binding IP

2008-06-16 Thread Qmail List
 I have 2 IPs for the web and mail server which is on the same box. I
would
 like apache to attach to the 1st IP and qmail on the 2nd. How can I make
 qmail to bind to the 2nd IP?


 Here is my run file for qmail-smtpd.  Notice the term 

 snip

 -u $QMAILDUID -g $NOFILESGID mail.developersdesk.com smtp \

 Thanks. Do I change the hostname in qmail-pop3d run file too?

/var/qmail/bin/qmail-popup `hostname` \

Smtp is binded to the 2nd IP now, but the outgoing mails still bearing the
1st IP. 
How do I change the outgoing IP to the 2nd IP?

Thanks




RE: [toaster] binding IP

2008-06-16 Thread Edvin Seferovic
Hi,

Bill - few months ago, I made a patch for your toaster. I am sending it now
again. This patch will make qmail read controls/outgoingip and bind to that
IP for outgoing processes rather then using the first one.

Regards,
E:S

-Original Message-
From: Qmail List [mailto:[EMAIL PROTECTED] 
Sent: Montag, 16. Juni 2008 08:29
To: toaster@shupp.org
Subject: RE: [toaster] binding IP

 I have 2 IPs for the web and mail server which is on the same box. I
would
 like apache to attach to the 1st IP and qmail on the 2nd. How can I make
 qmail to bind to the 2nd IP?


 Here is my run file for qmail-smtpd.  Notice the term 

 snip

 -u $QMAILDUID -g $NOFILESGID mail.developersdesk.com smtp \

 Thanks. Do I change the hostname in qmail-pop3d run file too?

/var/qmail/bin/qmail-popup `hostname` \

Smtp is binded to the 2nd IP now, but the outgoing mails still bearing the
1st IP. 
How do I change the outgoing IP to the 2nd IP?

Thanks




outgoingip.toaster.patch
Description: Binary data


[toaster] maildroprc and forward

2008-06-16 Thread Nicola Percacciante

Hi,
i have a fresh installation of qmail + vpopmail with maildrop.
i use the default maildroprc.v2 found in vpopmail 5.4.25.

I created by qmailadmin a forward.
-
mail:/home/vpopmail/domains/domain.net# more .qmail-nicola\:percacciante
/home/vpopmail/domains/domain.net/nicola/Maildir/
mail:/home/vpopmail/domains/domain.net#
-
When the forward receive an email maildrop was not processed.
Is it possible runs maildrop also for forwarding ?


--

Saluti
Nicola Percacciante



RE: [toaster] binding IP

2008-06-16 Thread Qmail List
 Bill - few months ago, I made a patch for your toaster. I am sending it
now again. This patch will make qmail read 
 controls/outgoingip and bind to that IP for outgoing processes rather then
using the first one.

Hi Edvin, how do u patch the toaster with this?



RE: [toaster] binding IP

2008-06-16 Thread Edvin Seferovic
Like you apply other patches to the toaster...

patch -p0  /path/to/outgoingip.patch

then recompile qmail !

Regards,
E:S

-Original Message-
From: Qmail List [mailto:[EMAIL PROTECTED] 
Sent: Montag, 16. Juni 2008 16:41
To: toaster@shupp.org
Subject: RE: [toaster] binding IP

 Bill - few months ago, I made a patch for your toaster. I am sending it
now again. This patch will make qmail read 
 controls/outgoingip and bind to that IP for outgoing processes rather then
using the first one.

Hi Edvin, how do u patch the toaster with this?




RE: [toaster] binding IP

2008-06-16 Thread Qmail List
 patch -p0  /path/to/outgoingip.patch

 then recompile qmail !

Thanks. I had done that. But outgoing mails are still reflecting the 1st IP.

I had added the 2nd IP to /var/qmail/control/outgoingip. Is this correct?



RE: [toaster] binding IP

2008-06-16 Thread Edvin Seferovic
I had added the 2nd IP to /var/qmail/control/outgoingip. Is this correct?

Yes.

If you already had the qmail toaster, then you need to compile, install and
restart the qmail... 

Did you had any errors shown while patching? The patch changes 3 files (
AFAIK )...

Regards,
E:S




RE: [toaster] binding IP

2008-06-16 Thread Qmail List

 I had added the 2nd IP to /var/qmail/control/outgoingip. Is this correct?

 Yes.

 If you already had the qmail toaster, then you need to compile, install
and
 restart the qmail... 

 Did you had any errors shown while patching? The patch changes 3 files (
 AFAIK )...

No error. Everything was ok