I also tried for this feature in sendmail, but failed. Finally I switched to exim, in which it can be implimented easily. As the aliased user is also a part of the same domain, sendmail will try to check for local user names, if not found will give delivery failure. So /etc/virtusertable will not work in this case.
Binu --- Suresh Ramasubramanian <[EMAIL PROTECTED]> wrote: > +++ Raju Mathur [linux-india] <25/02/02 21:44 > +0530>: > > >>>>> "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. > > > > Put > > [EMAIL PROTECTED] [EMAIL PROTECTED] > > in /etc/mail/virtusertable and then > > Far shorter answer - > > 1. Read the sendmail FAQ - > http://www.sendmail.org/faq/ > 2. Read the sendmail virtual hosting howto - again > at sendmail.org > > 99.9999% of the sendmail questions around can be > answered with one of the > above two answers. > > -srs > -- > Suresh Ramasubramanian <----> mallet <at> efn dot > org > EMail Sturmbannfuhrer, Lower Middle Class Unix > Sysadmin > [Linux One Stanza Tip] From : <[EMAIL PROTECTED]> > LOST #120 -**< Sub : Selective header fields in > mutt >**- > Add the following to your .muttrc > ignore * # this means "ignore all lines by default" > # I do want to see some fields, > though! > unignore From To Cc Subject Date Reply-To X-mailer \ > Organization X-url > : > > _______________________________________________ > linux-india-help mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/linux-india-help __________________________________________________ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
