Index: [thread] [date] [author] [stats]
  From: markus schnalke <meillo@marmaro.de>
  To  : <masqmail@marmaro.de>
  Date: Tue, 22 Nov 2011 22:33:16 +0100

Re: [masqmail] problem using wrapper option for smtp.google.com

[2011-11-20 22:17] Pierre Frenkiel <pierre.frenkiel@gmail.com>
>
>    1/ all the mails I send (either with pine or mailx) are sent twice:
>       I see that in masqmail.log
>          ==> frenkiel@pfr2.frenkiel-hure.net with mda (cmd =
>          '/bin/catnull')
>          => <pierre.frenkiel@free.fr> host=smtp.gmail.com

This first line shouldn't be there. The second line is the correct
one. Right?

You always receive a copy to the account from which you send the
message. Right?

(Just to make sure: You haven't set log_user, or?)

>        as a workaround, I put
>             mda="/bin/catnull"
>        in msqmail.conf, catnull being:
>             cat >> /dev/null

Note: This means, all mail to local users does get purged!


Could you please provide a sample message and your config to
reproduce.

It's hard to guess. I need to reproduce a situation first. Then I
can decide if it's a bug or a misconfiguration. Then I can take
actions.



>    2/ I'm using the command
>              masqmail pierre.frenkiel@free.fr < some_mail
>        to forward some mails to my smartphone. In the forwarded
>        mail, the
>        address in the  From: field is replaced by mine
>        (<pierre.frenkiel@gmail.com>)

Just to make sure: Do you consider this From: header address
replacement correct behavior?

>        and I received the mail twice:
>         at
>             pierre.frenkiel@free.fr
>         and at
>             pierre.frenkiel@gmail.com

This is not like it should be. Need to dig into the code here.

>        this doesn't occur if I forward from pine,

What exactly does not occur? The From: header replacment? Or the
double delivery?

Is, in conclusion, the problem 1/ only relevant for feeding plain
messages into stdin, but not for talking SMTP to masqmail?


>        but I need a CLI to
>        forward from a mail filter script.

Clear. Masqmail needs to behave consitently. If it does not, then I
need to fix it.


>     I didn't have this problem before using the wrapper

... but you also switched to a different version of masqmail.


Please, could you provide enough information for me to set up a
configuration, with which I can reproduce the behavior. That would
help a lot.


meillo


Index: [thread] [date] [author] [stats]