Smarthost setup

Discuss the Scalix Server software
stefano_s3
Posts: 2
Joined: Wed Jun 22, 2016 4:32 am

Smarthost setup

Postby stefano_s3 » Tue Jun 28, 2016 2:10 pm

Hi all,
I try to use a spam filter in LAN ( a linux box ) to receive and send email for a domain
of one my client.

I follow this FAQ

http://www.scalix.com/wiki/index.php?title=How_do_I_forward_messages_to_a_Smart_Host%3F

putting in sendmail.cf

# "Smart" relay host (may be null)
DSmail.mydomain.com

but all outbound email still be delivered from the Scalix Box .

Inbound mail from spam filter to Scalix Box work fine.

Any ideas ?

Best regards.

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

Re: Smarthost setup

Postby ScalixSupport » Wed Jun 29, 2016 3:19 am

Hello,

Please try this.

Open your configuration file:

Code: Select all

# vi /etc/mail/sendmail.mc


Append or modify macro that read as follows :

Code: Select all

define(`SMART_HOST',`mail.domain.com')


Regenerate a new sendmail.cf config file with m4 command:

Code: Select all

# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf


Then restart sendmail service:

Regards,
Scalix Support Team

stefano_s3
Posts: 2
Joined: Wed Jun 22, 2016 4:32 am

Re: Smarthost setup

Postby stefano_s3 » Wed Jun 29, 2016 5:22 am

Thank you, now working fine.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron