Implementing Smart Host

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

kshicks

Implementing Smart Host

Postby kshicks » Fri Mar 24, 2006 9:07 am

Hi folks!

How do I implement a smart host with authentification?

I plan to send any mail leaving my server through this smart host / relay host since I've only got a dynamic ip-adress. Also my domain provider requieres auth to use his smtp server.

TIA
Kelsey

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Mar 24, 2006 4:07 pm

Edit /etc/mail/sendmail.cf and add the appropriate entry in the section:

Code: Select all

# "Smart" relay host (may be null)
DSsmarthostname.domain.ext


To use AuthSMTP against your mail relay host, you need to edit your /etc/mail/access file and add something like:

Code: Select all

AuthInfo:smtp.domain.com "U:loginname" "I:loginname" "P:password"



where smtp.domain.com is the smarthost you're trying to send through and loginname and password is the auth info you need to supply to send mail through it. Once you've made those changes, you need to restart sendmail.

I'm concerned about your dynamic ip. Have you sorted how your are going to receive mail?

Regards,
Don

kshicks

Postby kshicks » Fri Mar 24, 2006 5:55 pm

What is the difference between the two login names:
"U:loginname" "I:loginname"

Dynamic ip is no problem since my primary mx record points to my server (updated after every reconnect) and the backup mx points to my "dns provider" (selfhost.de).

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Fri Mar 24, 2006 6:00 pm

A little googling goes a long way:

http://www.sendmail.org/m4/smtp_auth.html

Rachel


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 9 guests