Depending upon how your your mailertable is set up, the directory which
contains the .procmailrc file will vary.  But, the actual file will look
something like this:

DOMAIN=(domain1.com | domain2.com | domain3.com)


:0
* $RECIP ?? ^^.*@$DOMAIN
{
        :0c
        defaultmailboxfile

        :0
        [EMAIL PROTECTED]


}

If you only want to redirect them to another e-mail address, just use:


        :0
        [EMAIL PROTECTED]

Hope this helps.

--MB
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of UK Jaiswal
Sent: Tuesday, September 05, 2000 9:40 AM
To: redhat-list
Subject: Urgent: Sendmail-8.9.3- Mail redirection


Hi friends,

I have three domains on my server and have set the MX record pointing to
the same server. Now I would like to redirect all mails sent to (_any_
user)@(_any_ domain of mine).
I understand that this may be done with procmail but I am not sure how
exactly to implement it. I shall be really grateful if somebody could
pls guide me how to implement it (with or without procmail).

Thanks,
Uk



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to