HOWTO wanted: sendmail using another SMTP Server

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

MirkoMachine
Posts: 21
Joined: Tue Sep 19, 2006 5:37 pm
Location: Hamburg, Germany

HOWTO wanted: sendmail using another SMTP Server

Postby MirkoMachine » Tue Nov 14, 2006 7:28 am

Hi,

I'm looking for detailed instructions for setting up Scalix using another SMTP Server (with authentication) for outgoing mails.

I searched this forum and google (with keywords like smtp, sendmail, relay, scalix etc...), but I didn't get a good result :(


I'm using Fedora Core 5 with Scalix 11 beta 2 on a testserver atm. The SMTP Server is external.
Fetchmail for incoming mails is working fine.

Thanks
Mirko

burhankhalid
Posts: 137
Joined: Mon Dec 19, 2005 8:31 am

Postby burhankhalid » Tue Nov 14, 2006 7:40 am

I believe you need to foward your emails to a smarthost, instructions for which are in the installation (and/or) administration guides that come with the download.

jcaudell
Posts: 73
Joined: Tue Jul 18, 2006 9:56 am

Postby jcaudell » Tue Nov 14, 2006 11:38 am

I'm assuming that you are trying to authenticate from the outgoing Scalix smtp server to another server that sends your messages to the net?

I am currently doing something like this with a compliance email service, using the archive function in the Scalix general.cfg file. For the sendmail portion of forwarding ALL messages onto another server (it's called relay or something else?), I'm not exactly sure about that. But should be generally easy to find.

http://www.ists.dartmouth.edu/classroom ... how-to.php

And add

FEATURE(access_db)dnl
FEATURE(authinfo)dnl

to your sendmail.mc file, then re make it.

m4 < sendmail.mc > sendmail.cf

This should will allow the outgoing sendmail to authenticate outgoing messages (don't forget to reinject the scalix specific sendmail.cf entries with omsendin (?), and any other spamassassin/clamav entries you might have).

and in the sendmail /etc/mail/access.conf, an entry such as:

TLS_Rcpt:server.toauthenticate.com ENCR:112+CN: server.toauthenticate.com

Also, in the authinfo file:

AuthInfo:server.toauthenticate.com
"U:username@server.toauthenticate.com"
"I:username@server.toauthenticate.com""P:password""R:server.toauthenticate.com"
"M:PLAIN DIGEST-MD5 CRAM-MD5"

(The authinfo should all be on one line)
Also, you will need to run a make in the /etc/mail directory to make the .db for the access and authinfo files.

I think thats most of it.. this works with Scalix 10, haven't tried 11 yet. If you have any more questions in this regard, I'll answer as best I can.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron