From: "Tom Collins" <[EMAIL PROTECTED]>
> On Wednesday, September 17, 2003, at 07:18  PM, Frank wrote:
> > Sep 17 18:23:01 www qmail: 1063790581.520673 delivery 6: deferral:
> > vmysql:_can't_
> > read_settings_from_/home/vpopmail/etc/vpopmail.mysql//home/
> > frank,,mydomain.c
> > om/
>
> That part is very odd.  I'm not sure why it's appending the
> "//home/frank,,mydomain.com/" to the path name.  I just rechecked the
> code in vmysql.c, and I can't see how the config file name would fail
> to be built properly.


no idea, either. ktrace/kdump (FreeBSD 4.x) doesn't come
up with anything useful I can go through (500Mb dump in 10 seconds..)

came back after a couple of days. found my drive grinding away
doing massive writes.

Found out that it's from FreeBSD (4.x) cron jobs that routinely
send root an email are looping. And growing:

# pwd
/var/qmail/queue/mess
# ls -l 15/*
-rw-r--r--  1 qmailq  qmail  5337752 Sep 20 21:32 15/468249
# ls -l 16/*
-rw-r--r--  1 qmailq  qmail  6514120 Sep 20 21:33 16/468250
# ls -l 17/*
-rw-r--r--  1 qmailq  qmail  20022361 Sep 20 21:32 17/468251
# ls -l 19/*
-rw-r--r--  1 qmailq  qmail  20022216 Sep 20 21:32 19/468253

appending the same "I'm afraid I wasn't
able to deliver your message..." error message and the following:

<@mydomain.com>:
/home/vpopmail/domains/mydomain.com,,mydomain.com
message is looping
mail is looping


This seems repeatable by:
1. setting qmailadmin (v.1.0.26) to have a user to become the
"CatchAll Account" where all emails are supposed to be delivered to.
2. send an email to a bogus useraccount i.e. [EMAIL PROTECTED]

What happens is that it doesn't get delivered to that user, and rather
loops and grows...

Same thing when "Set catchall email deleted" is selected.


I started getting another error in the /var/log/maillog:

Sep 21 01:36:59 www qmail: 1064075819.244651 delivery 3: failure:
vmysql:_sql_error[1]:_Can't_create_database_'vpopmail'._Database_exists//hom
e/vpopmail/domains/mydomain.com,,mydomain.com/vmysql:_sql_error[3]:_No_Datab
ase_Selected/message_is_looping_/mail_is_looping/

or this one:
Sep 21 02:16:44 www qmail: 1064078204.381953 delivery 66: failure:
/home/vpopmail/domains/mydomain.com,,mydomain.com/message_is_looping_/mail_i
s_looping/

Another scenario: When I set "Set catchall bounced", it doesn't loop, but
instead the messages just sit in /var/qmail/queue/intd, ./todo, ./mess, and
./info directories.


My question: How do you avoid the looping?


Thanks,
Frank

P.S., below is part of the offending email:
#############   email   #################
Hi. This is the qmail-send program at mydomain.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.

<@mydomain.com>:
/home/vpopmail/domains/mydomain.com,,mydomain.com
message is looping
mail is looping

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 52302 invoked by uid 89); 18 Sep 2003 21:40:45 -0000
Message-ID: <[EMAIL PROTECTED]>
(null)Delivered-To:
Received: (qmail 52294 invoked for bounce); 18 Sep 2003 21:40:39 -0000
Date: 18 Sep 2003 21:40:39 -0000
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at mydomain.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.

<@mydomain.com>:
/home/vpopmail/domains/mydomain.com,,mydomain.com
message is looping
mail is looping

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 52288 invoked by uid 89); 18 Sep 2003 21:40:33 -0000
Message-ID: <[EMAIL PROTECTED]>
(null)Delivered-To:
Received: (qmail 52284 invoked for bounce); 18 Sep 2003 21:40:29 -0000
Date: 18 Sep 2003 21:40:29 -0000
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at mydomain.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.

<@mydomain.com>:
/home/vpopmail/domains/mydomain.com,,mydomain.com
message is looping
mail is looping

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 52274 invoked by uid 89); 18 Sep 2003 21:40:21 -0000
Message-ID: <[EMAIL PROTECTED]>
(null)Delivered-To:
Received: (qmail 52267 invoked for bounce); 18 Sep 2003 21:40:15 -0000
Date: 18 Sep 2003 21:40:15 -0000
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: failure notice

Hi. This is the qmail-send program at mydomain.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.

<@mydomain.com>:
/home/vpopmail/domains/mydomain.com,,mydomain.com
message is looping
mail is looping

--- Below this line is a copy of the message.

Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 52260 invoked by uid 89); 18 Sep 2003 21:40:08 -0000
(null)Delivered-To:
Received: (qmail 52254 invoked by uid 0); 18 Sep 2003 21:40:05 -0000
Date: 18 Sep 2003 21:40:04 -0000
Message-ID: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron <[EMAIL PROTECTED]> /home/vpopmail/bin/clearopensmtp 2>&1 > /dev/null
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <MAILTO=root>
X-Cron-Env: <HOME=/root>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=root>
X-Cron-Env: <USER=root>

vmysql: sql error[1]: Can't create database 'vpopmail'. Database exists

################## end of email ######################




Reply via email to