send Mails move in DRAFTS!

Discuss the Scalix web client

Moderators: ScalixSupport, admin

kennyguo

How do I get this to work if I am not using LDAP or Kerberos

Postby kennyguo » Sun Nov 04, 2007 12:08 am

How do I get this to work if I am not using LDAP or Kerberos? 8) haha

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

Re: How do I get this to work if I am not using LDAP or Kerb

Postby ls-al » Sun Nov 04, 2007 5:47 am

kennyguo wrote:How do I get this to work if I am not using LDAP or Kerberos? 8) haha


Reading your posts I am asking myself if these are real questions or just posted to get hits for the website in your sig.

If you have real problems be more descriptive.

deyjvu
Posts: 175
Joined: Tue Oct 25, 2005 6:48 am
Location: Australia

Postby deyjvu » Tue Dec 11, 2007 2:49 am

What does the lsof -i:25 (or whatever port smtpd is listening on) output supposed to look like if it is correct?

What does making 'submit=on' in the smtpd.cfg file actually do and do you only need to change the swa.properties file to identify the new port that is being used, is it:

swa.email.smtpServer=mail.customtex.com:123

and is this the correct format?

So smtpd.cfg would be:

SUBMIT=ON
LISTEN=192.168.0.2:123

Is 587 just a suggested port or do we have to have LISTEN=localhost:587 setup as well. Does it matter where in the smtpd.cfg we put this LISTEN line and the SUBMIT=on line?

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

Postby Valerion » Tue Dec 11, 2007 4:21 am

SUBMIT=ON activates processing of the [SUBMIT] block in the smtpd.cfg. You need to specify the port to listen on in this block. 587 is used by default because it is the officially assigned port for message submission, just like 25 is the well-known port for SMTP (look in /etc/services for a short list of well-known ports).

In swa.properties you put it as swa.email.smtpServer=hostname.domain:587. I prefer to use the hostname instead of localhost only, as I can then use port 587 to accept mail from the outside. If you put no RELAY rules in the [SUBMIT] section no mail will be accepted unless authentication has been done first, so it's nice to expose this to people travelling a lot and needing a SMTP host.

In my smtpd.cfg my [SUBMIT] is as follows:

[SUBMIT]
LISTEN=hostname.domain:587,localhost:587
# Reject all anonymous connections
ANONYMOUS Log_Reject ALL

lsof -i:25 gives me:

COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
sendmail 2643 root 4u IPv4 6908 TCP localhost.localdomain:smtp (LISTEN)
omsmtpd 2871 root 4u IPv4 7394 TCP host.domain:smtp (LISTEN)

Oh, yeah, if you change swa.properties and add a port to the SMTP server you need to be careful when running the installer. It doesn't recognise the format, so you have to put in the hostname without a port, then afterwards edit it by hand (http://bugzilla.scalix.com/show_bug.cgi?id=14663)


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 2 guests

cron