poullindholm wrote:Hi
Yes I did change the setting in swa.properties!
Just setting the SMART_HOST didn't work - it was my preferred method - but I simply could not get it to work at the time.
Perhaps this was because I just dont like sendmail:-)
Anyway - i have set up Address rewrite on my postfix server from rasmussen@mail.demo.com to kr@demo.com - and everything seams to be working just fine.
I would still like to fix this as it is causing extra maintainence and double workload.
My configs - which ones do you think you require?
Well, knowing that.....i'd revert back to sendmail with a SMART_HOST and get that right. Technically you don't really need the postfix box unless its doing antispam/antivirus filtering for your network etc.
1. revert submit.mc back to defaults
2. setup sendmail.mc (inc SMART_HOST)
3. ensure local-host-names is correct
4. make -c /etc/mail; service sendmail restart
5. revert the swa back to use the scalix smtp server
5. test things.
On the other hand.....to actually figure where this is wrong.....
post the following:
1. /etc/mail/local-host-names
2. /etc/mail/submit.mc
3. /var/opt/scalix/??/s/sys/smtpd.cfg
4. Transaction of a message being sent from /var/log/maillog on the scalix box
5. Transaction of that mail message being received by the postfix box /var/log/maillog.
I can post you a quick run through of setting up scalix/sendmail with a smart host and provide default config files from a centos/redhat system.