On Feb 26, 2004, at 9:04 AM, Martin Horsley wrote:
After further investigation I've managed to narrow the problem down to 'valias', there could well be an issue with the mail headers being incorrect, but I've found that the address it fails on is a valias. This address is successfully processed if it is the only recipient, but if there is more than one recipient then the valias fails with the message:


logged to the qmail send log.

Was this a known issue with vpopmail 5.3.30, and has it been fixed in the latest release?

Thanks for tracking this down.

Can you tell me what that user's valias table entries look like? That will help with further debugging.

I see one possibility -- if the alias starts with & (indicating email delivery), it doesn't get stripped before calling qmail-inject.

Please try this patch, and let me know if it solves the problem:

diff -u -r1.11 vdelivermail.c
--- vdelivermail.c      16 Feb 2004 06:28:44 -0000      1.11
+++ vdelivermail.c      26 Feb 2004 16:39:55 -0000
@@ -570,6 +570,7 @@
       char *atpos;
       int dtlen;

+ if (*address=='&') ++address; /* will this case ever happen? */
write_fd = fdm;
inject = 1;
@@ -598,7 +599,6 @@
if (dtline == NULL) {
- if (*address=='&') ++address; /* will this case ever happen? */
snprintf(DeliveredTo, sizeof(DeliveredTo),
"%sDelivered-To: %s\n", getenv("RPLINE"), address);
} else {

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/

Reply via email to