Please note that autoreply should be used with great caution.
Still, this looks like a valid bug but I think I've got it nailed.
please test the patch attached...
Simon Lange wrote:
dbmail wrote:
Auto Reply does not work by me:
log:
Nov 3 21:49:14 linux dbmail/lmtpd[11392]: dbmysql.c,db_query:
executing query [
SELECT reply_body FROM dbmail_auto_replies WHERE user_idnr = 8]
Nov 3 21:49:14 linux dbmail/lmtpd[11392]: db.c,db_get_reply_body:
found reply_b
ody [test reply^M test^M ]
Nov 3 21:49:14 linux dbmail/lmtpd[11392]: GetConfigValue(): searching
value for
config item [SENDMAIL]
Nov 3 21:49:14 linux dbmail/lmtpd[11392]: GetConfigValue(): found
value [/usr/s
bin/sendmail]
Nov 3 21:49:14 linux dbmail/lmtpd[11392]: send_reply(): found
sendmail command
to be [/usr/sbin/sendmail]
Nov 3 21:49:14 linux dbmail/lmtpd[11392]: send_reply(): no address to
send to
Nov 3 21:49:14 linux dbmail/lmtpd[11392]: insert_messages(): we need
to deliver
[0] messages to external addresses
the header:
Received: from udoq (udoq [192.168.18.1])
by linux.site (Postfix) with SMTP id E72385885
for <[EMAIL PROTECTED]>; Wed, 3 Nov 2004 21:57:56 +0100 (CET)
Message-ID: <[EMAIL PROTECTED]>
From: "dbmail" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Subject: aaaa
Date: Wed, 3 Nov 2004 22:09:18 +0100
MIME-Version: 1.0
Content-Type: text/plain;
format=flowed;
charset="iso-8859-2";
reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
Any ideas?
_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail
got exactly the same damn problem.... it never finds any form or repl-to
field....
_______________________________________________
Dbmail mailing list
Dbmail@dbmail.org
https://mailman.fastxs.nl/mailman/listinfo/dbmail
--
________________________________________________________________
Paul Stevens [EMAIL PROTECTED]
NET FACILITIES GROUP GPG/PGP: 1024D/11F8CD31
The Netherlands_______________________________________www.nfg.nl
diff -urNad dbmail-2.0.0/lmtp.c /tmp/dpep.fusKT6/dbmail-2.0.0/lmtp.c
--- dbmail-2.0.0/lmtp.c 2004-11-04 10:53:06.000000000 +0100
+++ /tmp/dpep.fusKT6/dbmail-2.0.0/lmtp.c 2004-11-04 10:56:22.000000000
+0100
@@ -604,9 +604,7 @@
u64_t dummyidx = 0, dummysize = 0;
struct list fromlist, headerfields;
struct element *element;
- struct list mimelist;
- list_init(&mimelist);
list_init(&fromlist);
list_init(&headerfields);
@@ -671,7 +669,7 @@
}
/* Parse the list and scan for field
and content */
if (mime_readheader
- (header, &dummyidx, &mimelist,
+ (header, &dummyidx, &headerfields,
&dummysize) < 0) {
trace(TRACE_ERROR,
"main(): fatal error from
mime_readheader()");