Hi Paul,

Monday, October 18, 2004, 6:06:34 PM, you wrote:

in /tmp/log.txt all right
but after fetch via pop or imap i have double headers

if send mail via old version dbmail-smtp - all right
error in new version only

Paul J Stevens> Anton,

Paul J Stevens> Could you try replacing the SENDMAIL
Paul J Stevens> entry in dbmail.conf with something like

Paul J Stevens> SENDMAIL=/bin/logger.sh

Paul J Stevens> where logger.sh reads like:

Paul J Stevens> #!/bin/sh
Paul J Stevens> LOGFILE=/tmp/log.txt
Paul J Stevens> hr() {
Paul J Stevens>          echo --------------------------- >> $LOGFILE
Paul J Stevens> }
Paul J Stevens> br() {
Paul J Stevens>          echo >> $LOGFILE
Paul J Stevens> }

Paul J Stevens> hr
date >>> $LOGFILE
Paul J Stevens> br
echo "$@" >>> $LOGFILE
Paul J Stevens> br
cat - >>> $LOGFILE
Paul J Stevens> br


Paul J Stevens> and see if the /tmp/log.txt already
Paul J Stevens> contains the double headers. I've setup an 
Paul J Stevens> external forwarder like you did, but
Paul J Stevens> I still don't get duplicates.





Paul J Stevens> Anton Nekhoroshikh wrote:
>> Hi,
>> 
>> Additional info:
>> 
>> i send example.txt.dbg from server via command:
>> mail -s debug [EMAIL PROTECTED] < maillog.debug
>> and delivered message with double headers
>> 
>> if send via command:
>> mail -s debug [EMAIL PROTECTED] < maillog.debug
>> 
>> [EMAIL PROTECTED] is alias for [EMAIL PROTECTED] mailbox
>> 
>> The problem means arises only at forward messages !
>> 
>> Anton Nekhoroshikh> Добрый день Paul,
>> 
>> Anton Nekhoroshikh> Saturday, October 16, 2004, 2:29:03 AM, you wrote:
>> 
>> Anton Nekhoroshikh> I have dbmail from cvs.
>> 
>> Anton Nekhoroshikh> Message delivered via
>> Anton Nekhoroshikh> dbmail-smtp with double message header.
>> 
>> Anton Nekhoroshikh> In attache message with
>> Anton Nekhoroshikh> double header and debug info from maillog.
>> 
>> 
>> 
>> 




-- 
e-mail: [EMAIL PROTECTED]
http://www.310.ru

Reply via email to