Re: [Exim] maildir, To, Cc and exim -bm -t -oMr xyz

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philipp, gaschütz
Date:  
À: pg, exim-users
Sujet: Re: [Exim] maildir, To, Cc and exim -bm -t -oMr xyz
Hey!

...the easiest I've come up with up to now is instead of writing it just
only in maildir format, write it in batched SMTP format. That works.

However, I'd still be interested if anyone sees another way of doing this..

R,
Philipp

> Hey all!
>
> I just slipped over a small problem.
>
> I have configured exim to save all mail that is not being received with
> protocol "xyz" to a directory in maildir format.
>
> Once a mail arrives in that directory a script picks it up, does
> a couple of
> things with it and pipes it back to Exim using
> exim -bm -t -oMr xyz
>
> (((
> --> means: -bm accept locally generated mail (not (batch) SMTP format)
>         -t read recipient from the mail headers (To: Cc: BCc: From:)
>         -oMr specify protocol
> )))

>
> ok, basically that works fine.. (there's always a but, you know ;D):
>
> Imagine the following simplified mail:
> <<<<
> From: mike@???
> To: joe@???            (local address)
> BCc: paul@???    (remote address)

> >>>
>
> * if someone sends this email from his client software directly
> to my server
> everything works fine.
>
> * However, if he uses another SMTP server (server B) in the first place,
> server B will send the mail to paul@??? and to joe@???
> my exim setup will save the msg into the maildir, the script
> picks it up and
> pipes it back to exim. ...and exim will then deliver it to
> joe@??? AND
> to paul@??? (paul has now got 2 copies of the mail... we don't
> want that ;)
>
>
> I'm a bit stuck now... would anyone have a pointer on how to correct this
> problem? well, I believe it's only my problem, since this is probably what
> exim is supposed to do....
>
> thanks,
> philipp!
>
>
> --
> ## List details at

http://www.exim.org/mailman/listinfo/exim-users Exim details at
http://www.exim.org/ ##