procmail
[Top] [All Lists]

Problems with 2-domain server

1999-06-03 04:00:18
I configured my .procmail file to check whether the email address ended with
technion.ac.il and if so, it changes the To field (to avoid mail-loops) and
forwards it to that address. In addition, I save the orginal "To" field in
"Orginal" field.

Here is the code:

:0
* ^(To:.*technion.ac.il)
{
    :0 fh
    |formail -R To: Orginal: -a "To: email2(_at_)host(_dot_)com"

    :0
    ! email2(_at_)host(_dot_)com

}

The problem is that the server has 2 names:
t2.technion.ac.il and techst02.technion.ac.il
When someone sends to techst02 it's ok, but when someone sends to t2 the
mailer-deamon gives me to following message:

<myname(_at_)t2(_dot_)technion(_dot_)ac(_dot_)il>: mail forwarding loop for
myname(_at_)t2(_dot_)technion(_dot_)ac(_dot_)il

What could cause it?





_______________________________________________________
Get your free, private email at http://mail.excite.com/

<Prev in Thread] Current Thread [Next in Thread>
  • Problems with 2-domain server, tomers <=