On Thu, Dec 01, 2005 at 02:26:10PM +1300, Steve Brorens wrote:
> Thanks for that Mark, but I'm having some difficulty in getting it to
> work.
>
> I have:
>
> ---/etc/postfix/virtual----
>
> /^(.*)\+spam@([.*])\.commarc\.co\nz$/ [EMAIL PROTECTED]
> [EMAIL PROTECTED] [EMAIL PROTECTED]
> [EMAIL PROTECTED] [EMAIL PROTECTED]
>
> ---eof---
>
> ...and email to the second two gets redirected as it should. Top line
> should be catching and re-directing email sent to addresses like
> [EMAIL PROTECTED] - but isn't.
Looks to me like you are using a regex- or pcre- style map entry with
a normal (non-regex) access map. The regex- or pcre- maps must be
specified as such when referenced in the Postfix config file, e.g.
regex:rewrite-map, or pcre:rewrite-map
Don't try to mix them with your ordinary access maps.
-- Clifton
--
Clifton Royston -- [EMAIL PROTECTED] / [EMAIL PROTECTED]
President - I and I Computing * http://www.iandicomputing.com/
Custom programming, network design, systems and network consulting services
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/