To all qmail members,

I am completely new to qmail. I developed one application related to mail
system. According to my requirement I want to collect all my mail messages
to one particular system account. I achieve same functionality with Sendmail
in Linux.

My system configuration is give below.

    I user RedHat 6.2 Linux
    Domain name is : myserver.com
    Just for example I have following system account in my system
        1: user_a        (email address : [EMAIL PROTECTED])
        2: user_b        (email address : [EMAIL PROTECTED])
        3: user_c        (email address : [EMAIL PROTECTED])
        4: user_d        (email address : [EMAIL PROTECTED])
        .............
        .............
        .............
        n: alluser        (email address : [EMAIL PROTECTED])

Now, I want to achieve following functionality,

When [EMAIL PROTECTED] receives mail in his mail box automatically that
mail is also available in [EMAIL PROTECTED] (it means direct copy). Same
way if any user like (user_b, user_c,.....) receives any mail then all mail
is also available in my alluser account. So my alluser account contains all
mails received through @myserver.com domain.

The second functionality is, if some user say notexist is not available in
my system and if my system receive mail with that address then automatically
it send an bounce message to sender. I want to disable this bounce back
feature if user not found.  If user exist or not exist, my system accept all
messages in [EMAIL PROTECTED] user,

I achieve above functionality with sendmail like this way,

I added following two lines in my sendmail.mc file

define('LUSER_REPLY','local:[EMAIL PROTECTED])
feature('virtusertable','hash -o /etc/mail/virtusertable')

and I remove allmasquerade feature so system never generate bounce back
message to sender if user is not exist.

My /etc/mail/virtusertable file contains only one line.
@myserver.com    alluser

So with this line allmessages is available to my alluser account.

I just setup qmail according to installation instruction and I successfully
receive and send all messages. But how I setup my above requirements. In
sendmail we have one main file called sendmail.mc is there any file for
qmail setting ?


Regards,

Bhavesh.



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Reply via email to