Re: [vchkpw] autoresponder supposed to cause message loss?
- Original Message - From: Tom Collins [EMAIL PROTECTED] On Nov 23, 2004, at 11:01 AM, David Hubbard wrote: In a vpopmail 5.4.6 site with autoresponder 2.0.4, the behavior we're seeing is that when a user sets a vacation message, vpopmail sets up the autoresponder with a 3 messages per day limit. The .qmail file it creates for that person has autoresponder on the first line and then the Maildir delivery statement on the second. What we're seeing is that after the messages from a given address exceed three, the autoresopnder no longer mails, as expected, but the messages are no longer delivered to the Maildir either, and the sender is not notified. David, The newly released QmailAdmin 1.2.5 corrects this problem. When creating a vacation responder, it will put the Maildir delivery first in the .qmail file, and then call autorespond. I dont think that changing the order of the .qmail file is sufficient, because looking at the autorespond.c there are situations where the incoming mail will be bounced back to sender. (For example if the sender is a mailing list). The bouncing behaviour is correct for when autorespond.c is running as an autoresponder, but it not correct for when it is running as a vacation responder. I have opened a ticket on qmailadmin sourceforge site regarding this issue (1156347). What I believe is required is : * we make a copy the autoresponder.c and call it vacation.c * Edit vacation.c and tweak the exit codes appropriately (Jeremy Kitchen has already posted about this - look at the patches section ticket 808962) * Modify qmailadmin so that when writing .qmail files for robots we call autorespond binary, and when writing .qmail files for vacation we call the vacation binary. Michael.
Re: [vchkpw] autoresponder supposed to cause message loss?
On Nov 23, 2004, at 11:01 AM, David Hubbard wrote: In a vpopmail 5.4.6 site with autoresponder 2.0.4, the behavior we're seeing is that when a user sets a vacation message, vpopmail sets up the autoresponder with a 3 messages per day limit. The .qmail file it creates for that person has autoresponder on the first line and then the Maildir delivery statement on the second. What we're seeing is that after the messages from a given address exceed three, the autoresopnder no longer mails, as expected, but the messages are no longer delivered to the Maildir either, and the sender is not notified. David, The newly released QmailAdmin 1.2.5 corrects this problem. When creating a vacation responder, it will put the Maildir delivery first in the .qmail file, and then call autorespond. For existing autoresponders, you'll have to manually edit your .qmail files. You might be able to find those files with a command like this: cd ~vpopmail/domains grep -l autorespond ?/*/*/.qmail ?/*/?/*/.qmail */*/.qmail */?/*/.qmail (If you don't have hashed directories, you can just do `grep -l autorespond */*/.qmail`). Note that 1.2.5 is a devel release. I just started using it on my production server, and have tested add/modify/delete of all address types, but there are huge changes between 1.2.5 and 1.2.3, so there's a chance of bugs sneaking in. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/
Re: [vchkpw] autoresponder supposed to cause message loss?
On Tuesday 23 November 2004 08:18 pm, Tom Collins wrote: On Nov 23, 2004, at 11:01 AM, David Hubbard wrote: Is there a way to override that behavior so messages are not lost? Is this the expected behavior even or is something else incorrect? If I reverse the order in the .qmail file it works as intended but I'd rather not patch vpopmail for all of our servers and then remember to do that for the future. It's a bit of a mess. What we really need are two different programs -- one as an autoresponder, and one as a vacation responder. They need to bounce messages differently and exit differently. yes, or a flag to autorespond to make it behave differently. I thought that someone had updated vdelivermail at one point to handle autoresponder's exit codes and not drop mail. I guess not. That's a hack. it's better to use my patch to autorespond so it's not broken. Patch and discussion can be found here: http://sourceforge.net/tracker/index.php?func=detailaid=808962group_id=6691atid=306691 -Jeremy -- Jeremy Kitchen ++ Systems Administrator ++ Inter7 Internet Technologies, Inc. [EMAIL PROTECTED] ++ www.inter7.com ++ 866.528.3530 ++ 815.776.9465 int'l kitchen @ #qmail #gentoo on EFnet IRC ++ scriptkitchen.com/qmail GnuPG Key ID: 481BF7E2 ++ jabber:[EMAIL PROTECTED] pgpqoGUKZ3Ff6.pgp Description: PGP signature
[vchkpw] autoresponder supposed to cause message loss?
In a vpopmail 5.4.6 site with autoresponder 2.0.4, the behavior we're seeing is that when a user sets a vacation message, vpopmail sets up the autoresponder with a 3 messages per day limit. The .qmail file it creates for that person has autoresponder on the first line and then the Maildir delivery statement on the second. What we're seeing is that after the messages from a given address exceed three, the autoresopnder no longer mails, as expected, but the messages are no longer delivered to the Maildir either, and the sender is not notified. Is there a way to override that behavior so messages are not lost? Is this the expected behavior even or is something else incorrect? If I reverse the order in the .qmail file it works as intended but I'd rather not patch vpopmail for all of our servers and then remember to do that for the future. Thanks, David
Re: [vchkpw] autoresponder supposed to cause message loss?
On Nov 23, 2004, at 11:01 AM, David Hubbard wrote: Is there a way to override that behavior so messages are not lost? Is this the expected behavior even or is something else incorrect? If I reverse the order in the .qmail file it works as intended but I'd rather not patch vpopmail for all of our servers and then remember to do that for the future. It's a bit of a mess. What we really need are two different programs -- one as an autoresponder, and one as a vacation responder. They need to bounce messages differently and exit differently. I thought that someone had updated vdelivermail at one point to handle autoresponder's exit codes and not drop mail. I guess not. I'd like to change QmailAdmin so that it puts the email address first, and then the autorespond program delivery. Unfortunately, check_user_forward_vacation() (the code that decodes the .qmail file) is a huge mess and expects the autorespond line to come first. I'll see if I can find time to rewrite that function. The fix to correctly write the .qmail file is trivial. I'll see if I can get it into the next release. -- Tom Collins - [EMAIL PROTECTED] QmailAdmin: http://qmailadmin.sf.net/ Vpopmail: http://vpopmail.sf.net/ Info on the Sniffter hand-held Network Tester: http://sniffter.com/