Ok, I am no rocket scientist on the delivery chain here, but let me make a suggestion here, since I know a bit about the whole sendmail thing. When you pipe a message that _already_has_headers_ in it through sendmail with the -t option it will parse the message for headers. Now, if you send a message to a recipient directly this is not normally an issue--but if something other than sendmail itself forwards a message _back_through_ sendmail with the -t option, it _should_ duplicate the headers.
On Tue, 2004-10-19 at 07:46, [EMAIL PROTECTED] wrote: > From: Anton Nekhoroshikh <[EMAIL PROTECTED]> > To: DBMAIL Developers Mailinglist <dbmail-dev@dbmail.org> > Subject: Re[2]: [Dbmail-dev] double headers > Date: Tue, 19 Oct 2004 15:43:26 +0400 > > Добрый день Paul, > > Tuesday, October 19, 2004, 3:13:36 PM, you wrote: > > > Paul J Stevens> Anton Nekhoroshikh wrote: > >> Paul J Stevens> Well, if you have, > >> > >> Paul J Stevens> ALIAS | DELIVER_TO > >> Paul J Stevens> > >> ---------------------------------------------------- > >> Paul J Stevens> [EMAIL PROTECTED] | [EMAIL PROTECTED] > >> > >> Paul J Stevens> than to what deliver_to points [EMAIL PROTECTED] ??? > >> > >> Paul J Stevens> As I understand the delivery chain, > >> Paul J Stevens> the alias [EMAIL PROTECTED] *should* exist in > >> Paul J Stevens> the aliases table if that address > >> Paul J Stevens> should be delivered locally. > >> > >> > >> [EMAIL PROTECTED] is mailbox > > Paul J Stevens> what *kind* of mailbox, dbmail or > Paul J Stevens> /var/mail type? Because if it's a dbmail > Paul J Stevens> mailbox it should have *either* an > Paul J Stevens> entry in the dbmail_aliases table, *or* you > Paul J Stevens> are using dbmail-smtp from procmail > Paul J Stevens> and you're selecting the user on the > Paul J Stevens> commandline with the dbmail-smtp -u > Paul J Stevens> option. But even that route I've tested, and > Paul J Stevens> still no double headers. > > [EMAIL PROTECTED] mailbox in dbmail > about what there is a recording in dmail_users > > >> [EMAIL PROTECTED] alias to mailbox [EMAIL PROTECTED] on the same dbmail > >> machine > >> > >> if send mail directly to [EMAIL PROTECTED] i see normal message > >> if send mail to [EMAIL PROTECTED] i see message with double headers > >> > >> I feel, that we each other do not understand, but the problem is > > Paul J Stevens> I don't deny it. But I still have > Paul J Stevens> trouble understanding the exact route the > Paul J Stevens> message is travelling. I still don't > Paul J Stevens> know where mail ends up in the end. In de > Paul J Stevens> example.txt.dbg you sent all I see is > Paul J Stevens> mail coming in for [EMAIL PROTECTED] which is > Paul J Stevens> being forwarded *externally*. What > Paul J Stevens> happens after that is unclear. Using > Paul J Stevens> logger.sh we have already established > Paul J Stevens> that dbmail sends this mail correctly, > Paul J Stevens> without the double headers. The final > Paul J Stevens> insertion was not in the logfile. > > ok i create new box in dbmail [EMAIL PROTECTED] > and add alais to dbmail_alias [EMAIL PROTECTED] deliver_to [EMAIL PROTECTED] > and send mail to [EMAIL PROTECTED] and i see double headers > see attached file(full log, two session) > > See final insertion in attach (pid 11397) > > It is strange, that through logger.sh we see the normal message. > > > >> You already probe to send messages on [EMAIL PROTECTED] > > Paul J Stevens> I did, and no double headers. > > >> I create transport in exim via new version dbmail-smtp for this box. > > Paul J Stevens> Which means exactly nothing to me > Paul J Stevens> since I don't use exim. > > Paul J Stevens> You could try adding [EMAIL PROTECTED] > Paul J Stevens> as an alias to your userid. That way > Paul J Stevens> external forwarding won't be required. > > Paul J Stevens> You could also try setting SENDMAIL > Paul J Stevens> to logger.sh and try to see if there's a > Paul J Stevens> difference between the different > Paul J Stevens> versions of dbmail-smtp. > > in attache "test.eml" original message sended via "cat test.eml | > /usr/sbin/sendmail -i -t" > and "after_logger.eml" message created by logger.sh -- |^^^ | | |^^| |^^^ Drew Northup, N1XIM |^^| | |^^^ \ / /^^\ /^^~ |__ | | | | | suoc.syr.edu |__| | |___ \/ |__| |__ | | | | | | savannah.nongnu.org/ | | | /\ | | | \ ___| |__| |__| |___ projects/plex86/ | |___ |___ / \ \__/ \__/