[Mimedefang] Adding sender's email id in BCC list

renaud pascal renaud.pascal at atosorigin.com
Fri Dec 21 08:51:52 EST 2007

Le vendredi 21 décembre 2007, vinita batra a écrit :
> Hi Sir,
> I am using sendmail server.
> and i want to use MimeDefang.
> I am network administrator.
> and according to policy, if any user sends some mail,
> then sender's email id should be added to BCC list so that sender of mail also
> gets the mail sent by him/her.

 You really have the most strange policy going round, maybe the
best solution would be to first repair the policy and/or the
people that invents it ;-)

 Now, for your new question Im afraid you're bound someday to
have to read the manpages...-)
 For this question try this one :
$ man mimedefang-filter
 then search the section about add_recipient($recip)

> Can you please give me some code,
> which can add sender's email id to the BCC list of the mail.

 as for the "BCC list", that's a mind game on the email client side.
 maybe you can try to find in the manpage about manipulating headers
(good candidates would be:

More information about the MIMEDefang mailing list