Rakesh Tiwari <[EMAIL PROTECTED]> wrote:
> 
> 1) i want to insert a custom mail header, for the mails that are sent
> from my mail server.  say that that i have a user xyz in my server
> abc.com. and i have put .qmail-test file which has 10 email id's. i
> send a mail to [EMAIL PROTECTED] which will be send to all the id's
> listen in the qmail file. now i want that "X-MAIL: <email-id>" such a
> type of mail header be appended to the mails headers of the mails
> sent.  where  "email-id" is the emailid in the .qmail file and not
> [EMAIL PROTECTED]

If you mean this custom header should contain the new (forwarded)
recipient address, it will be recorded in a Delivered-To: header.
Otherwise, if you want to insert new headers in messages,
QMAILQUEUE/qmail-qfilter would seem to be one way.  Note, however, that
mangling mail headers is, in general, a very poor idea.
 
> 2) Secondly what is the bounce directory in the /var/qmail/queue" 

/var/qmail/queue/bounce?  Contains information about messages which are
bouncing -- those messages which have encountered permanent delivery
errors for one or more recipients.

> 3) I want that all mails that are sent to a particular domain be
> dropped. etc 

Trivial.  See the FAQ and docs.  Dropping mail without returning a
bounce message to the envelope sender, however, is a very bad idea in
most cases.  It's also a violation of the RFCs.
 
> 4) can i have two instances of qmail on the same system

Yes.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------

Reply via email to