Domain masquerading problem
Posted: Tue Dec 23, 2008 3:03 pm
I've been testing Scalix 11.4 (CentOS 5.2) for a month, and must admit It works outstanding with MS outlook inside my LAN. Great job to all of you
Unfortunately, there is one and only problem wich has left unsolved, no matter what I try to do. The domain added to the sender's e-mail is allways local DNS domain (srv.domain.com), so due to the fact that this isn't a valid public domain, every e-mail is treated as SPAM and isn't delivered to the outside recipients.
I manage small network where outside MX server and DNS are used. I'd not change this, so I decided to 'grab' e-mails from outside mailbox using fetchmail. It works fine, outside messages are transfered to local scalix users every 5 minutes.
As I mentioned I only have problem sending messages from outlook to outside recipients. There is allways local domain added after sender first.last@srv.domain.com (should be first.last@domain.com - valid mail accounts living on the outside MX server).
I did this:
- Set outside smpt server as smarthost (sendmail.mc), so every mail has been sent to the contract mail provider. I checked with my provider and every mail actualy arrived to the server where was rejected because of this unvalid domain.
So far so good.
- Then I edited sendmail.mc to masquerade domains but - nothing really happend.
What I did wrong?
There are some examples foud on this forum and wiki, but It seems I'am doing something wrong ...
Can please someone tell me what I have to do, to solve this annoying problem. I'd be very thankfull for that!
regards, criptus

Unfortunately, there is one and only problem wich has left unsolved, no matter what I try to do. The domain added to the sender's e-mail is allways local DNS domain (srv.domain.com), so due to the fact that this isn't a valid public domain, every e-mail is treated as SPAM and isn't delivered to the outside recipients.
I manage small network where outside MX server and DNS are used. I'd not change this, so I decided to 'grab' e-mails from outside mailbox using fetchmail. It works fine, outside messages are transfered to local scalix users every 5 minutes.
As I mentioned I only have problem sending messages from outlook to outside recipients. There is allways local domain added after sender first.last@srv.domain.com (should be first.last@domain.com - valid mail accounts living on the outside MX server).
I did this:
- Set outside smpt server as smarthost (sendmail.mc), so every mail has been sent to the contract mail provider. I checked with my provider and every mail actualy arrived to the server where was rejected because of this unvalid domain.
So far so good.
- Then I edited sendmail.mc to masquerade domains but - nothing really happend.
What I did wrong?
There are some examples foud on this forum and wiki, but It seems I'am doing something wrong ...
Can please someone tell me what I have to do, to solve this annoying problem. I'd be very thankfull for that!
regards, criptus