Was really excited

Discuss installation of Scalix software

Moderators: ScalixSupport, admin

tmiles

Was really excited

Postby tmiles » Wed Jul 25, 2007 11:31 am

I was really excited about testing this out for my company and finally got it all installed only to be killed by emails going to the Drafts folder in Webmail.

I have tried all kinds of changes but still nothing.

I hope someone can give me some help before I give up and move on to another product.

Thanks.

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

Postby Valerion » Thu Jul 26, 2007 4:06 am

SMTP Auth is the most likely. Make sure you are sending to the Scalix SMTP Relay and not sendmail/postfix and check your /var/opt/scalix/??/s/smtpd.cfg carefully.

tmiles

This is how my file is set now

Postby tmiles » Thu Jul 26, 2007 8:07 am

EXTENSIONS=AUTH,DSN,8BITMIME

# Uncomment the following lines to enable the Submission and LMTP listeners
#SUBMIT=ON
#LMTP=ON

# NB Authenticated RELAYs are always allowed
RELAY accept 127.0.0.1
RELAY accept .gpatrol.com (This is the machine host name not my email domain)
RELAY Log_Reject ALL

# extra rules added to prevent open relay usage
RECIPIENT Log_Reject *@*@*
RECIPIENT Log_Reject *%*
RECIPIENT Log_Reject *!*
RECIPIENT Log_Reject *#*@*

# The following group sets the configuration for the submission listener
# This listener is only active if SUBMIT=ON is above
# By default it binds to port 587
[SUBMIT]
#LISTEN=localhost:587
# Reject all anonymous connections
ANONYMOUS Log_Reject ALL

# The following group sets the configuration for the lmtp listener
# This listener is only active if LMTP=ON is above
[LMTP]
LISTEN=localhost:24
# Use the following line to listen on a unix domain socket
#LISTEN=~/tmp/lmtp.unix

I am not what I would need to add, change or remove?


I ran lsof -1 :25 and got:

Command Pid USER FD TYPE DEVICE SIZE NODE NAME
sendmail 10081 root 4u ipv4 22902285 TCP xxx.gpatrol.com:smtp (LISTEN)

omsmtpd 11904 root 4u ipv4 22902878 TCP xxx.gpatrol.com: smtp (LISTEN)

omsmtpd 11904 root 5u ipv4 2290287 TCP xxx.gpatrol.com:smtp (LISTEN)

Do I need to take sendmail down?

What do I need to change to have the webmail use omsmtpd?

This really should be documented in the manuals. I see a lot of people with this issue in the forums, but not a lot of answers. :-(

Thank you for your help everyone. This is the only thing holding me back from actually using Scalix as my company email.

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

Postby Valerion » Thu Jul 26, 2007 10:11 am

There's something wrong with your hostname resolution. Please post /etc/hosts for me, as well as lsof -ni:25

Is the xxx in your post the same?

tmiles

Server names.

Postby tmiles » Thu Jul 26, 2007 12:26 pm

I put the xxx so people will not see what server this is on. (I have 10 with the gpatrol.com domain name)

This is not a production server so the xxx = mail3

lsof -ni:25 is

Command Pid USER FD TYPE DEVICE SIZE NODE NAME

sendmail 3332 root 4u ipv4 2303881810 TCP 127.0.0.1:smtp (LISTEN)

omsmtpd 5361 root 4u ipv4 2302038984 TCP 208.77.96.119:smtp (LISTEN)

omsmtpd 5361 root 5u ipv4 2302038985 TCP 208.77.96.120:smtp (LISTEN)


/etc/hosts

127.0.0.1 mail3.gpatrol.com mail3 localhost localhost.localdomain

Thanks a lot for your help with this. :-)

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

Postby Valerion » Fri Jul 27, 2007 3:27 am

You should not have 127.0.0.1 as an IP for your machine. Strange, the Scalix installer usually gives an error if this is the case.

You should have the following in /etc/hosts:

127.0.0.1 localhost.localdomain localhost
x.x.x.x host1.domain.com host1
y.y.y.y host2.domain.com host2

In this case, SWA connects to the hostname, does a resolve on it, gets 127.0.0.1, then connects to sendmail, tries to do auth and fails, dropping your mail back into drafts.

tmiles

Duh I am dumb!

Postby tmiles » Fri Jul 27, 2007 8:00 am

Man you are a genius!

Valerion you are great!

That worked like a champ and I am up and rolling! Smile

Yeahhhhh!

The installer did error because mail3 and mail3.gpatrol.com were with 127.0.0.1

But did not error that I did not have an actual IP in the hosts file. That should be in the install manual as one of the things to double check.


Return to “Installation”



Who is online

Users browsing this forum: No registered users and 0 guests

cron