Can not send mail to scalix users

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

compdrmt

Can not send mail to scalix users

Postby compdrmt » Sat May 27, 2006 2:19 am

I suspect the issue is with Sendmail. or more correctly with the interaction of scalix and sendmail.

our machine was named linux.domain.com we changed to www.domain.com. Plus we changed IP range. For whatever reason this caused Scalix to dissallow me log in tothe admin. Since it was a new install I simply deleted the Scalix software and the mail store and reinstalled everything and set up a new store.

I have a copy of the sendmal.cf from the previous install. When I use this file mail sends and receivs just fine. the only problem is that it sends the mail with the reply address as user@linux.domain.com

I have tried various settings and run SuSEconfig (SuSE 10.0.0.1) Each time the result is the same. the header is written corrrectly as user@domain.com but I can not send mail to any user in Scalix. I get a bounce stating that user does not exist. If I send to a user on the system such as root the mail is accepted. if I set up a user with the same name as the Scalix user the system accptsthe mail but it never get delivered to Scalix.

Any suggestion wold be appreciated. I am tryingto convince this customer to buythe Small Business version instead of Exchange but must have it configured soon if any hope.

btisdall
Scalix Star
Scalix Star
Posts: 373
Joined: Tue Nov 22, 2005 12:13 pm
Contact:

Re: Can not send mail to scalix users

Postby btisdall » Sat May 27, 2006 9:01 am

compdrmt wrote:I have a copy of the sendmal.cf from the previous install. When I use this file mail sends and receivs just fine. the only problem is that it sends the mail with the reply address as user@linux.domain.com.


Do you mean this occurs when sending mail from the command-line, as opposed to using a Scalix-connected mail client?

If so, backup your sendmail.mc & sendmail.cf & locate the line in your sendmail.mc that reads something like:

Code: Select all

dnlMASQUERADE_AS(`example.com')dnl


If it does contain the leading 'dnl', remove it, change the domain to the one you'd like to appear as your 'from' address and save it.

Check you have sendmail-cf package which provides the m4 macro processor installed then change to the directory where your sendmail.cf & sendmail.mc are & as root do:

Code: Select all

m4 sendmail.mc > sendmail.cf


Followed by (also as root):

Code: Select all

omsendin


The last command will ensure your sendmail.cf has the necessary additions for Scalix coexistance & automatically restart sendmail to pickup all the changes made.

HTH
Ben Tisdall
www.redcircleit.com
London

compdrmt

SuSE has no sendmail .MC

Postby compdrmt » Sun May 28, 2006 1:47 pm

Remeber SuSE normally has no sendmail .mc file/

I was able to fix this only by editing the sendmail .cf file directly. Something I normally would nevver do!

My concern is that SuSEconfig will clobber this. The good news is SuSEconfig, when run from the command line at least, warns me that it can not replace sendmail.cf and creates a sendmail.cf.SuSEconfig file that I can copy into place. When I use this sendmail.cf file created by SuSEconfig things go wrong again.

I would like to know what settings i need to set in the /etc/sysconfig files - or Yast in order to make this work correctly. As I am concerned that i amay not have things tighened down enough in regartds to sendmail. alternatly how do you get SuSEconfig to keed the intermediary sendmail.mc file that it creates.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 3 guests