AutReply is not sent out. i traced and debugged and so on:
whyever (a command-line test didn't do that) dbmail seems to be confused
about a "from" with " in it, possible? (FROM as the auto-reply TO, that is)
i couldn't find anything in the source for that, but still...
fprintf(mailpipe, "To: %s\n", replyto ? replyto : from);
is apparently the line that does No Good..
i tested with
From: "aaaa" <aa@vb>
To: "sadsd" <cc@dd>
and the result was the same (error)
Subject is, however, not affected...
suggestions?
i can't patch it :( - can only read basic C
Auto-Reply gives me:
send_reply(): reply could not be sent: sendmail error
"Sendmail" is postfix,
SENDMAIL=/usr/sbin/sendmail
DBMAIL_FROM_ADDRESS=dbmail@office-vienna.at
POSTMASTER=postmaster@office-vienna.at
AUTO_NOTIFY=yes
AUTO_REPLY=yes
LOG lvl 5:
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: db_query(): executing [SELECT
reply_body FROM auto_replies WHERE user_idnr = 1]
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: db_get_reply_body(): found
body [i am away. Please no mail]
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: GetConfigValue(): searching
value for config item [SENDMAIL]
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: GetConfigValue(): found value
[/usr/sbin/sendmail]
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: send_reply(): found sendmail
command to be [/usr/sbin/sendmail]
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: send_reply(): found FROM
["Wulff D. Heiss" <styx@office-vienna.at>]
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: send_reply(): found SUBJECT
[tt]
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: send_reply(): header fields
scanned; opening pipe to sendmail
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: send_reply(): sending data
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: send_reply(): pipe closed
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: send_reply(): reply could not
be sent: sendmail error
--
Wulff D. Heiss, CTO
Office Vienna
whyever (a command-line test didn't do that) dbmail seems to be confused
about a "from" with " in it, possible? (FROM as the auto-reply TO, that is)
i couldn't find anything in the source for that, but still...
fprintf(mailpipe, "To: %s\n", replyto ? replyto : from);
is apparently the line that does No Good..
i tested with
From: "aaaa" <aa@vb>
To: "sadsd" <cc@dd>
and the result was the same (error)
Subject is, however, not affected...
suggestions?
i can't patch it :( - can only read basic C
Auto-Reply gives me:
send_reply(): reply could not be sent: sendmail error
"Sendmail" is postfix,
SENDMAIL=/usr/sbin/sendmail
DBMAIL_FROM_ADDRESS=dbmail@office-vienna.at
POSTMASTER=postmaster@office-vienna.at
AUTO_NOTIFY=yes
AUTO_REPLY=yes
LOG lvl 5:
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: db_query(): executing [SELECT
reply_body FROM auto_replies WHERE user_idnr = 1]
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: db_get_reply_body(): found
body [i am away. Please no mail]
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: GetConfigValue(): searching
value for config item [SENDMAIL]
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: GetConfigValue(): found value
[/usr/sbin/sendmail]
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: send_reply(): found sendmail
command to be [/usr/sbin/sendmail]
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: send_reply(): found FROM
["Wulff D. Heiss" <styx@office-vienna.at>]
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: send_reply(): found SUBJECT
[tt]
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: send_reply(): header fields
scanned; opening pipe to sendmail
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: send_reply(): sending data
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: send_reply(): pipe closed
Aug 6 21:13:31 mailhub dbmail/smtp[14311]: send_reply(): reply could not
be sent: sendmail error
--
Wulff D. Heiss, CTO
Office Vienna