Page 1 of 1

Force scalix(sendmail) to always use smarthost

Posted: Tue Jan 29, 2008 6:38 am
by pwhooftman
I´m trying to make Scalix always use my ISP´s SMTP server (smarthost) for outgoing mail

I´ll try to explain my situation.

I have 3 different ISP´s, from which i collect mail via Fetchmail
All mail is delivered to the local SMTP server at port 25, to 1 smtpname which represents 1 scalix user. In the mailbox of that 1 user, mail is split in 3 folders by rules.

When sending mail, i want the reply address to be one of the three external ISP domains.
But, to do that, i have to configure 3 Scalix users with that domainname, so i can send mail on their behalf. But, by defining those users, they become local Scalix users. So, when i send mail to that users, that mail doesn´t go out to my ISP SMTP server, but remains inside the Scalix system because they are local users. I´d like to force that mail to go out to the smarthost of my ISP (and then on the next POP, it will return). Hope this makes sense.


scalisusers:
Scalixusermain (@localdomain.com)
Scalisuser1 (@ISP1.com)
Scalixuser2 (@ISP2.com)
Scalixuser3 (@ISP3.com)

receive mail (all OK , no problem)
ISP1.com \
ISP2.com -- Fetchmail --> SMTP p25, smtpname Scalixusermain ---- Rule move to FolderUser1/Floderuser2/Folderuser3
ISP3.com /


currently sending mail on behalf (not the way i like it)
onbehalfof user1@ISP1.com --> sendmail --> ahh! local user -->Scalixuser1


the way i would like it:
onbehalfof user1@ISP1.com --> sendmail --> ISP smarthost --> ... wandering off in the intnernet.....
..-->. ISP1.com --- Fetchmail --- SMTP25 smtpname Scalixusermain --- FolderUser1