[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Exim4 router, makes use of wildcards



Hi

Kricky I just realised I should try and ask this question here

I have an Exim4 router like so

account_bookings:
debug_print = "R: account_bookings for $local_part@$domain"
driver = accept
domains = +local_domains
local_part_suffix = -*-bookings
#local_part_suffix_optional
#check_local_user
transport = LOCAL_DELIVERY

Here are my tests:
=================================================
mail:/etc/exim4# exim4 -bt 423234-tbrink-bookings
R: system_aliases for 423234-tbrink-bookings@mail.eccotours.co.za
423234-tbrink-bookings@mail.eccotours.co.za is undeliverable:
  Unrouteable address
mail:/etc/exim4#

--------> account_bookings router <--------
local_part=423234-tbrink-bookings domain=mail.eccotours.co.za
account_bookings router skipped: suffix mismatch
=================================================

I need the mail to goto my vitual user tbrink-bookings
The number in front is the booking reference number and is very much needed.

If anyone can help with this, it would be most appreciated.

Kind Regards
Brent Clark



Reply to: