>I like those detailed reject messages.  Can you please post the code you
>used to add variable information to these messages?

/(host.*\.qwest\.net)/ 554 ACL mta_clients_subscriber The IP address of 
your sending machine $1 is on a forbidden subscriber access network. Please 
send from another IP address

the $1 is a back reference to the (expression).  I added the unnecessary 
(paren) so the entire contents between /expression/ was written to a 
variable that is referenced as $1.  if you have (multiple) (paren), then 
you can reference $1 $2

>Also, can I assume that the reject message goes on a single line in the
>regexp file no matter how long it gets?

yes

Len


Reply via email to