酷!學園

技術討論區 => Linux 討論版 => 主題作者是: ... 於 2002-01-16 11:24

主題: Email Forwarding
作者: ...2002-01-16 11:24
I do a "1 to many" Email Forwarding, but fail.

I edit the file virtusertable as follows:
      all@center.com      mary@abc.com, peter@test.com, john@hotmail.com


I find error message in /var/log/maillog as follows:
Jan 16 11:09:19 mailServer sendmail[3579]: g0G39Dk03579: ... Invalid route address


I know that the syntax of virtusertable is wrong. How can I change it?


Thx!!
主題: Email Forwarding
作者: Anonymous2002-01-16 12:54
the format contains only LHS and RHS only, which means it eats only two fields.

you can try this:
all@center.com mary@abc.com  all_center

then add follow line with /etc/aliases:
all_center: peter@test.com, john@hotmail.com

finally, dont forget to rerun newaliases.