qmail error message about opendir
i have this error message in my log file Sep 18 10:11:46 mail2 qmail: 969286306.442630 alert: unable to opendir info/4, sleeping... can someone tell me what this is? right now i have about 30,000 messages in queue, so its pretty urgent. by the way, my server went down, so i had to reboot it, i even restarted qmail. please help. Sonam Wangchuk e: [EMAIL PROTECTED]
Re: qmail queue
thank you to all. i have removed the queue and started qmail. thank you again. Sonam Wangchuk e: [EMAIL PROTECTED] On Wed, 6 Sep 2000 [EMAIL PROTECTED] wrote: > On Wed, Sep 06, 2000 at 08:48:13PM +0200, Olivier M. wrote: > > On Wed, Sep 06, 2000 at 02:30:55PM -0400, [EMAIL PROTECTED] wrote: > > > actually delete everything in queue. i found out about qmHandle but due to > > > so many messages, its taking a long time to even do a listing. i might as > > > well delete all the mails in queue manually. thanks > > > > well, what about stoping qmail, > > rm /var/qmail/queue/mess/* > > rm /var/qmail/queue/info/* > > rm /var/qmail/queue/local/* > > rm /var/qmail/queue/remote/* > > Actually, that wont work, there are directories at this level, you need > to go one level lower. > > rm /var/qmail/queue/remote/*/* > etc. > > You also need to include todo and bounce. > > > Or alternatively, > > # cd /var/qmail/queue > # find bounce todo mess info local remote -type f -print | xargs rm > > Alternative number two (my preferred as directories grow without > shrinking on many OSes and rm of files doesn't fix that): > > # mv /var/qmail/queue /var/qmail/queue.old > # rm -rf /var/qmail/queue.old & > # cd /qmail-1.03 > # make setup > > > Regards. >
Re: qmail queue
actually these are mails that are no longer needed, so that's why i can remove them. i can not send any mail and it seems to be because all these messages in queue. i stopped and restarted qmail. i even rebooted the box. that's why i used "hanging". but right now i am getting this error message qmail-inject: fatal: qq trouble creating files in queue (#4.3.0) which i have explained in my previous email to the mailing list. thank you all for your quick response. Sonam Wangchuk e: [EMAIL PROTECTED] On Wed, 6 Sep 2000, Dave Sill wrote: > <[EMAIL PROTECTED]> wrote: > > >how do we properly clear the queue? > > That depends on the nature of the messages in the queue. If they're > all spam, you can stop qmail, remove them, and restart qmail. If > they're valid messages that need to be delivered, qmail will deliver > them ASAP and clear them automatically. You can increase > concurrencylocal and/or concurrencyremote to speed things up, and you > can shorten queuelifetime to bounce undeliverable messages faster. > > >right now i have about 98,000 messages > >in queue and this is hanging qmail. > > Hanging? What do you mean? Do you have log evidence to back up this > claim? > > -Dave >
Re: qmail queue
after removing all the files as mentioned, when i try to send email i get "qmail-inject: fatal: qq trouble creating files in queue (#4.3.0)" why is this error coming up? before removing all the file i did try to move the todo directory on another file system and created a link from /var/qmail/queue/todo, and started qmail at which time i got this same error. so i sent the email to your mailing list asking for help in removing the mails in queue. i did create the todo directory in /var/qmail/queue/ with the correct permissions. Sonam Wangchuk e: [EMAIL PROTECTED] On Wed, 6 Sep 2000, Olivier M. wrote: > On Wed, Sep 06, 2000 at 02:30:55PM -0400, [EMAIL PROTECTED] wrote: > > actually delete everything in queue. i found out about qmHandle but due to > > so many messages, its taking a long time to even do a listing. i might as > > well delete all the mails in queue manually. thanks > > well, what about stoping qmail, > rm /var/qmail/queue/mess/* > rm /var/qmail/queue/info/* > rm /var/qmail/queue/local/* > rm /var/qmail/queue/remote/* > and starting qmail again ? > > Olivier > -- > _ > Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland > >
Re: qmail queue
there is one more directory in /var/qmail/queue called todo, should we remove that too? what is that directory? thank you for your quick response. Sonam Wangchuk e: [EMAIL PROTECTED] On Wed, 6 Sep 2000, Olivier M. wrote: > On Wed, Sep 06, 2000 at 02:30:55PM -0400, [EMAIL PROTECTED] wrote: > > actually delete everything in queue. i found out about qmHandle but due to > > so many messages, its taking a long time to even do a listing. i might as > > well delete all the mails in queue manually. thanks > > well, what about stoping qmail, > rm /var/qmail/queue/mess/* > rm /var/qmail/queue/info/* > rm /var/qmail/queue/local/* > rm /var/qmail/queue/remote/* > and starting qmail again ? > > Olivier > -- > _ > Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland > >
Re: qmail queue
actually delete everything in queue. i found out about qmHandle but due to so many messages, its taking a long time to even do a listing. i might as well delete all the mails in queue manually. thanks Sonam Wangchuk e: [EMAIL PROTECTED] On Wed, 6 Sep 2000, Olivier M. wrote: > On Wed, Sep 06, 2000 at 01:50:26PM -0400, [EMAIL PROTECTED] wrote: > > > > how do we properly clear the queue? right now i have about 98,000 messages > > in queue and this is hanging qmail. please help, this is rather urgent > > what do you want to do ? > expire the messages (-> 98'000 error messages),or simply delete > everything ? > > Olivier > -- > _ > Olivier Mueller - [EMAIL PROTECTED] - PGPkeyID: 0E84D2EA - Switzerland > >
Re: qmail queue
> > how do we properly clear the queue? right now i have about 98,000 messages > in queue and this is hanging qmail. please help, this is rather urgent > > Sonam Wangchuk > e: [EMAIL PROTECTED] > >
qmail queue
how do we properly clear the queue? right now i have about 98,000 messages in queue and this is hanging qmail. please help, this is rather urgent Sonam Wangchuk e: [EMAIL PROTECTED]
Re: write error or disk full (#4.3.0)
actually the mail started working when i tried to compress /var/log/syslog but now i am getting Aug 16 13:28:37 mail1 qmail: 966446917.031032 alert: unable to append to bounce message; HELP! sleeping... any thoughts!!! Sonam Wangchuk e: [EMAIL PROTECTED] On Wed, 16 Aug 2000, Paul Farber wrote: > Look into the 'write error' part. > > Have you checked your array with fsck or whatever utility you have for > error checking? > > > > Paul Farber > Farber Technology > [EMAIL PROTECTED] > Ph 570-628-5303 > Fax 570-628-5545 > > On Wed, 16 Aug 2000 [EMAIL PROTECTED] wrote: > > > > > While trying to send mail to a mailing list we get this error > > qmail-inject: fatal: qq write error or disk full (#4.3.0) > > > > can anyone help me why this is happening. the disk is not full > > > > bash-2.03# df -k > > Filesystemkbytesused avail capacity Mounted on > > /dev/md/dsk/d8144367 80870 4906163%/ > > /dev/md/dsk/d4962542 431212 47357848%/usr > > /proc 0 0 0 0%/proc > > fd 0 0 0 0%/dev/fd > > /dev/md/dsk/d3 1488463 975057 45386869%/var > > /dev/md/dsk/d7914662 448508 41127553%/home > > /dev/md/dsk/d5481263 13025 420112 4%/opt > > /dev/md/dsk/d6 1488463 857436 57148961%/usr/local > > /dev/md/dsk/d9 3079006 358027 265939912%/logs > > swap 2661984 54736 2607248 3%/tmp > > > > > > Sonam Wangchuk > > e: [EMAIL PROTECTED] > > > > > > > >
write error or disk full (#4.3.0)
While trying to send mail to a mailing list we get this error qmail-inject: fatal: qq write error or disk full (#4.3.0) can anyone help me why this is happening. the disk is not full bash-2.03# df -k Filesystemkbytesused avail capacity Mounted on /dev/md/dsk/d8144367 80870 4906163%/ /dev/md/dsk/d4962542 431212 47357848%/usr /proc 0 0 0 0%/proc fd 0 0 0 0%/dev/fd /dev/md/dsk/d3 1488463 975057 45386869%/var /dev/md/dsk/d7914662 448508 41127553%/home /dev/md/dsk/d5481263 13025 420112 4%/opt /dev/md/dsk/d6 1488463 857436 57148961%/usr/local /dev/md/dsk/d9 3079006 358027 265939912%/logs swap 2661984 54736 2607248 3%/tmp Sonam Wangchuk e: [EMAIL PROTECTED]
mail sendmail
i am running qmail on my system but i am getting sendmail messages in the log here's part of the log *** Aug 15 09:51:46 mail2 sendmail[9327]: JAA09325: [EMAIL PROTECTED], delay=00:00:30, xdelay=00:00:30, mailer=esmtp, relay=smtp.digiweb.com. [216.205.129.200], stat=Sent (JAA11005 Message accepted for delivery) Aug 16 11:04:33 mail2 sendmail[9690]: LAA09690: from=root, size=12, class=0, pri=30012, nrcpts=1, msgid=<[EMAIL PROTECTED]>, relay=root@localhost Aug 16 11:04:33 mail2 sendmail[9690]: LAA09690: [EMAIL PROTECTED], ctladdr=root (0/1), delay=00:00:07, xdelay=00:00:00, mailer=esmtp, relay=mail.conde-dev.com. [206.136.72.122], stat=Sent (LAA07785 Message accepted for delivery) Aug 16 11:05:18 mail2 sendmail[9693]: LAA09693: from=root, size=96, class=0, pri=30096, nrcpts=1, msgid=<[EMAIL PROTECTED]>, relay=root@localhost Aug 16 11:05:19 mail2 sendmail[9695]: LAA09693: [EMAIL PROTECTED], ctladdr=root (0/1), delay=00:00:01, xdelay=00:00:01, mailer=esmtp, relay=mail.conde-dev.com. [206.136.72.122], stat=Sent (LAA07798 Message accepted for delivery) *** can someone help me, why sendmail is used to send mail although qmail is running. Sonam Wangchuk e: [EMAIL PROTECTED]
Re: secondary mail server
a quick question. what paramater controls the relay duration ( you mentioned "a week" ), and how can we change it. thank you Sonam Wangchuk e: [EMAIL PROTECTED] On Wed, 19 Jul 2000, Ben Beuchler wrote: > On Wed, Jul 19, 2000 at 12:33:42PM -0400, [EMAIL PROTECTED] wrote: > > > We have qmail-1.3 running and would like to set it up as the secondary > > mail server for one domain. We want this mail server to keep trying to > > forward all the mail for that domain to the primary server in case the > > primary server goes down - say for about 40 hours. This is an emergency > > for us, any help would be greatly appreciated. > > Fine. Very easy. Set up the box as you would normally, put the domain > it's backing up in 'rcpthosts' but not in 'locals'. It will accept mail > for that domain and attempt to relay it to the other server for up to a > week. > > Ben > > -- > Ben Beuchler [EMAIL PROTECTED] > MAILER-DAEMON (612)-321-9290 x101 > Bitstream Underground www.bitstream.net >
Re: secondary mail server
great!! thank you so much. now i have to figure out how to test it without bringing the primary server down. Sonam Wangchuk e: [EMAIL PROTECTED] On Wed, 19 Jul 2000, Ben Beuchler wrote: > On Wed, Jul 19, 2000 at 12:33:42PM -0400, [EMAIL PROTECTED] wrote: > > > We have qmail-1.3 running and would like to set it up as the secondary > > mail server for one domain. We want this mail server to keep trying to > > forward all the mail for that domain to the primary server in case the > > primary server goes down - say for about 40 hours. This is an emergency > > for us, any help would be greatly appreciated. > > Fine. Very easy. Set up the box as you would normally, put the domain > it's backing up in 'rcpthosts' but not in 'locals'. It will accept mail > for that domain and attempt to relay it to the other server for up to a > week. > > Ben > > -- > Ben Beuchler [EMAIL PROTECTED] > MAILER-DAEMON (612)-321-9290 x101 > Bitstream Underground www.bitstream.net >
secondary mail server
We have qmail-1.3 running and would like to set it up as the secondary mail server for one domain. We want this mail server to keep trying to forward all the mail for that domain to the primary server in case the primary server goes down - say for about 40 hours. This is an emergency for us, any help would be greatly appreciated. Sonam Wangchuk e: [EMAIL PROTECTED]
Re: virtual domains
Hi Chris, Thanks for the reply. I was trying to check this set up by telneting to my mail server on port 25 which has qmail running and all these other qmail files. The mail did not reach the address, no error message though. Also the syslog shows an entry like -- starting delivery 19839: msg 286390 to local @help.com instead of remote @test.com help.com being my mail server. Thanks sonam On Tue, 23 May 2000, Chris Johnson wrote: > On Mon, May 22, 2000 at 07:01:41PM -0400, [EMAIL PROTECTED] wrote: > > I am setting up virtual domains to handle mail for > > [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED] > > [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED] > > [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED] > > and so on. > > > > how can i set this up? i have read the documentation but must have > > probably missed a step. > > > > what i 've done till now is: > > create ~/control/virtualdomains with an entry like > > foo.com:check > > > > created ~/alias/.qmail-check-user1 with an entry like > > [EMAIL PROTECTED] > > > > created ~/alias/.qmail-check-user2 with an entry like > > [EMAIL PROTECTED] > > > > and so on. any help will be appreciated. > > You haven't told us how this is failing. This setup should work, assuming that > there isn't a system account named "check." > > Chris >
virtual domains
Hi, I am setting up virtual domains to handle mail for [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED] [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED] [EMAIL PROTECTED] to be delivered to [EMAIL PROTECTED] and so on. how can i set this up? i have read the documentation but must have probably missed a step. what i 've done till now is: create ~/control/virtualdomains with an entry like foo.com:check created ~/alias/.qmail-check-user1 with an entry like [EMAIL PROTECTED] created ~/alias/.qmail-check-user2 with an entry like [EMAIL PROTECTED] and so on. any help will be appreciated. thank you sonam