Page 1 of 1

Scalix Transport all smtp to another server [resolved]

Posted: Fri Sep 05, 2008 12:26 pm
by verticalys
Hello,

I don´t find the answer in this forum.
This is my problem,

For any domain I need recibe the smtp messages, I process Spam filter and Virus filter, and then I forward to real smpt server in other company.

I configure the MX Registry in my DNS to Scalix, but now I don´t nkow how to configure scalix to forward all trafic.

Please can any help me?
Thanks.

Posted: Fri Sep 05, 2008 1:14 pm
by schmoe90
Scalix is a post office, looking after mailboxes, rather than a messaging system (we use sendmail to actually transport messages for us). Seems to me that if all you're doing is AS / AV and forwarding the message to somebody else, you'd do better to just use sendmail / postfix.

Posted: Fri Sep 05, 2008 7:30 pm
by verticalys
ok,

I resolved with this

I change the file /opt/scalix/**/s/sys/smtp.confg and add the next line

Code: Select all

RELAY accept .otherdomain.com


and restart scalix

Code: Select all

/etc/init.d/scalix restart


Then I change the file /etc/mail/mailertable and add the next lines

Code: Select all

otherdomain.com     esmtp:smtp.otherdomain.com


save the file and ejecute

Code: Select all

makemap hash /etc/mail/mailertable < /etc/mail/mailertable


and restart sendmail

Code: Select all

/etc/init.d/sendmail restart


Now my server recibe the mail, filter spam and virus and relay to real server
Thanks Bye.