Special Character in To: line

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

davidz
Posts: 129
Joined: Wed Apr 19, 2006 11:46 am

Special Character in To: line

Postby davidz » Fri Jun 30, 2006 7:16 pm

Is there a way I can use special characters in my to line? example:

/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.

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Tue Jul 04, 2006 7:46 am

OK, slightly revising this post here ;-)

You can addres a user with "/" in the IA if they are in the sytem directory, e.g.

G=Sascha/S=Test3/OU1=internet/HOST-FQDN=snorlax.uk.scalix.com/CNTRY=US/INTERNET-ADDR="fax \/123\/ 456 \/377" <sascha@sssss.com>/CN=Sascha Test3

Best would be to use SAC to enter the IA so you do not have to escape on the CLI.

Thanks,

Sascha.

davidz
Posts: 129
Joined: Wed Apr 19, 2006 11:46 am

Postby davidz » Wed Jul 05, 2006 10:01 am

That makes sense but is not going to work for me because this is an Email-to-Fax Gateway and our users will be sending out hundreds of faxes everyday to different fax numbers (which means a different email address). If it was just one person they sent to this would work fine. Any other suggestions would be greatly appreciated.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron