Hi Yashpal,

>>>>> "Yashpal" == Yashpal Nagar <[EMAIL PROTECTED]> writes:

    Yashpal> Hi All, I have some domain say foo.com in my local
    Yashpal> delivery file, called /etc/mail/local-host-names. Now for
    Yashpal> a particular user i want to forward all the mails to
    Yashpal> online server for the same domain.

    Yashpal> How to do that ? In qmail there is '| forward hostname '
    Yashpal> keyword for this in .forward but how to obtain same in
    Yashpal> sendmail ?  Can any one help!

Put

        [EMAIL PROTECTED]    [EMAIL PROTECTED]

in /etc/mail/virtusertable and then

        cd /etc/mail
        makemap hash virtusertable < virtusertable

Regards,

-- Raju
-- 
Raju Mathur          [EMAIL PROTECTED]           http://kandalaya.org/
                     It is the mind that moves

          ================================================
To subscribe, send email to [EMAIL PROTECTED] with subscribe in subject header
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header
Archives are available at http://www.mail-archive.com/ilugd%40wpaa.org
          =================================================

Reply via email to