/fax=1234567/name=bob/@domain.com
What I'm trying to accomplish is to get all email (local only) that starts with "/fax" to forward to a single mailbox. I have tried a line like this in my smtpd.conf:
Code: Select all
CATCH /fax*@domain.com user@domain.com
(And I did restart smtpd).
But that doesn't work I get this error:
Code: Select all
----------------------------- ERROR REPORT -----------------------------
Message could not be delivered to the following recipient:
Unix-User / internet
DDT1=RFC-822; DDV1=/fax=1234567/name=user@domain.com;
because: Unknown Non-Delivery Reason (511)
------------------------------------------------------------------------
PS This is for a RightFax server.
Update:
I've tried a different way with no success:
SMTP rule:
Code: Select all
CATCH @subdomain.domain.com user@domain.com
Then I send the message to "/fax=1234567/name=bob/@subdomain.domain.com
Error message is the same.
But the crazy part is this works from a telnet session:
Code: Select all
220 server.domain.com ESMTP Scalix SMTP Relay 10.0.1.3; Mon, 03 Jul 2006 10:27:42
-0600 (MDT)
helo server
250 server.domain.com Hello userpc [192.168.xxx.xxx], pleased to meet you
mail from: <sender@domain.com>
250 sender@domain.com... Sender ok
rcpt to: <faxserver@domain.com>
250 Ok
data
354 Enter mail, end with "." on a line by itself (relay)
to: /fax=1234567/name=bob/@subdomain.domain.com
Hello.
.
250 Ok
So I think Outlook doesn't like my to address. Any thought would be helpful!!
Update 2:
If I send an email from Outlook with the address:
"/fax=1234567/name=Bob/" <faxserver@domain.com>
The email gets to the final destination but Scalix has mangled the headers and removed the "Display Name" so my fax information is no longer included.