Добрый день Paul,

Tuesday, October 19, 2004, 12:01:59 PM, you wrote:

Paul J Stevens> Which doesn't quite answer my question:

Paul J Stevens> If /logger.sh shows no errors in the
Paul J Stevens> outgoing email where are those double 
Paul J Stevens> headers being introduced?

no errors

Paul J Stevens> Is
Paul J Stevens> [EMAIL PROTECTED] on a separate dbmail machine?

The same machine as [EMAIL PROTECTED]

Paul J Stevens> I suspect there maybe a problem with
Paul J Stevens> the homebrew lf->crlf conversion taking 
Paul J Stevens> place in forward.c.

maybe

Paul J Stevens> Perhaps you could add an alias:
Paul J Stevens> [EMAIL PROTECTED] -> [EMAIL PROTECTED] 
Paul J Stevens> That way I can send an email to that
Paul J Stevens> address, and see for myself how/where 
Paul J Stevens> things go wrong.

done
you can probe


Paul J Stevens> thanks,

Paul J Stevens> Anton Nekhoroshikh wrote:
>> Добрый день Paul,
>> 
>> Monday, October 18, 2004, 6:49:24 PM, you wrote:
>> 
>> Paul J Stevens> Anton,
>> 
>> Paul J Stevens> I don't quite understand where things
>> Paul J Stevens> go wrong, which makes it hard for my to 
>> Paul J Stevens> reproduce this problem.
>> 
>> Paul J Stevens> [EMAIL PROTECTED] is externally forwarded
>> Paul J Stevens> to [EMAIL PROTECTED] using your 
>> Paul J Stevens> /usr/sbin/sendmail, correct?
>> 
>> in table dbmail_aliases:
>> alias_idnr = 1
>> alias = [EMAIL PROTECTED]
>> deliver_to = [EMAIL PROTECTED]
>> client_idnr = 1
>> 
>> in dbmail.conf section [SMTP]:
>> SENDMAIL=/usr/sbin/sendmail     # sendmail executable for forwarding mail
>> #SENDMAIL=/logger.sh
>> AUTO_NOTIFY=no
>> AUTO_REPLY=no
>> TRACE_LEVEL=5
>> 
>> Paul J Stevens> is this [EMAIL PROTECTED] also on a
>> Paul J Stevens> dbmail machine, but a different one, and is 
>> Paul J Stevens> that where the problem occurs?
>> 
>> Paul J Stevens> Anton Nekhoroshikh wrote:
>> 
>>>>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.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>> 
>> 
>> 
>> 




-- 
С уважением,
Anton Nekhoroshikh
Руководитель проекта
отдела сложных телекоммуникационных систем 

тел. (095) 363 3 310
факс (095) 363 3 310
e-mail: [EMAIL PROTECTED]
http://www.310.ru

Reply via email to