-Spamassassin- Problem sending messages inside local domain

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

Rumbeldibumm

-Spamassassin- Problem sending messages inside local domain

Postby Rumbeldibumm » Wed May 30, 2007 8:23 am

Hello Scalix-Team/User

Yesterday I successfully installed Spamassassin. Thanks for your great tutorial. All I did was to modify the smtp.cfg

Code: Select all

SMTPFILTER=TRUE
and sendmail.mc

Code: Select all

INPUT_MAIL_FILTER(`spamassassin',`S=local:/var/run/spamass-milter/spamass-milter.sock, F=, T=C:15m;S:4m;R:4m;E:10m')dnl
.Now the mails are firstly scanned before send to the user.
But now I've got a problem. I'm not able to send any mails in my local domain with IMAP (Thunderbird-Client) and Webmail. I always get an error called "domain of sender address user@mydomain.com does not exist". Mails that I sent threw the Outlook-Connector weren't denied and were successfully delivered inside local domain.

Any ideas?

Rumbeldibumm

Postby Rumbeldibumm » Mon Jun 25, 2007 11:19 am

Ok, here is my logfile... That's always happening when I try to send a mail inside my local domain... (Coming from /var/log/maillog)
E.g.
Mail from: test.user@internet.de
Rcpt to: world@internet.de

Jun 25 17:12:11 sirius3 sendmail[21461]: l5PFCAOZ021461: ruleset=check_mail, arg1=<test.user@internet.de>, relay=root@localhost, reject=553 5.1.8 <test.user@internet.de>... Domain of sender address test.user@internet.de does not exist


Any ideas?

grahamk
Posts: 134
Joined: Fri Mar 02, 2007 4:53 am

Postby grahamk » Mon Jun 25, 2007 11:32 pm

Hi,

I think I have had this issue before, using Mailwasher in a similar way to that which you're using SpamAssassin. The way I fixed it was to add my local domain to /etc/mail/local-host-names . Now, I'm no expert, and I'm not certain that this is correct, but it seems to work for me.

Probably run omsendin after the modification as well.

Regards

Graham

Rumbeldibumm

Postby Rumbeldibumm » Tue Jun 26, 2007 9:03 am

Hi, thanks for your reply. The file /etc/mail/local-host-names already contains my local domain name.

It's very strange that the Outlook-Connector works very well and IMAP and Webmail don't work...

grahamk
Posts: 134
Joined: Fri Mar 02, 2007 4:53 am

Postby grahamk » Tue Jun 26, 2007 9:11 am

Can you receive mail from external addresses?

Rumbeldibumm

Postby Rumbeldibumm » Tue Jun 26, 2007 9:39 am

Yes! If I send mail from an external account (like googlemail) I receive these mails...

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Wed Jun 27, 2007 3:25 am

In the DNS your Scalix server uses, does your domain have an MX record pointing to the Scalix server?

Do a host -t MX domain.name.com to check.

Rumbeldibumm

Postby Rumbeldibumm » Wed Jun 27, 2007 8:20 am

Hm, if I do

Code: Select all

host -t MX mydomain.com

it says:

Code: Select all

mydomain.com has no MX record


Where do I have to change the MX-record? Sorry for this silly question, but normally I'm not a sysadmin :lol:

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Tue Jul 03, 2007 6:15 am

This will have to be changed in your DNS configuration in the zone for your domain. You will first have to see where the DNS servers is (check /etc/resolv.conf). If it's on another machine you will have to speak to the admin of that machine(s). If it points to the machine the Scalix server is on (127.0.0.1 or the machine's IP) then you need to edit it in BIND.

On my machine the zones are in /var/named/chroot/var/named/data. Remember to change the serial number at the top of the zone file as well.


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 1 guest