sendmail config to use authentication

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

wheelc
Posts: 45
Joined: Sun Dec 12, 2004 5:34 am
Contact:

sendmail config to use authentication

Postby wheelc » Sat Jan 21, 2006 9:06 pm

Hello,

I have an issue with NTL broadband that I am trying to sort out. Basically they block outgoing SMTP on port 25. If possible I would like to relay messages sent from my scalix server sendmail configuration to another mail host via another port.

I have set up an alternate SMTP account using another port with NO-IP and it required that the server now sends outgoing mail to the NO-IP server and authenticates against it.

Does anybody have an idea how I can configure sendmail to do this? If you need further details please let me know.

Kind Regards

Chris Wheeler

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

Postby btisdall » Sun Jan 22, 2006 12:21 am

Hi wheelc,

this is from the NTL help page on how to configure Outlook Express:

Now select the Advanced tab. Here you should make both 'This server requires a secure connection' boxes are not ticked. You should also make sure that Outgoing Mail (SMTP) is set to 25 and that Incoming Mail (POP3) is set to 110.


Translation: they're not blocking port 25 outgoing (or they need to update their help pages).

As NTL evidently don't support SSL perhaps this may be a clue, although I'd be surprised if an out of the box sendmail insisted on this. In any case what do your logs say?

Ben.

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

Postby btisdall » Sun Jan 22, 2006 12:31 am

Another thought. NTL will of course require clients to authenticate themselves, probably using 'pop before smtp' by default. But since you're using an MTA, not an MUA you won't be pop'ing at all so you'll need to use 'smtp auth' instead. I don't yet have experience of this with sendmail but the answer will almost certainly be in this forum somewhere, the tech notes or just google it.

HTH.

wheelc
Posts: 45
Joined: Sun Dec 12, 2004 5:34 am
Contact:

Postby wheelc » Sun Jan 22, 2006 5:24 am

I am sorry but you have misunderstood the question. I understand the configuration of an e-mail client. I am talking about configuring the Scalix server.

Thanks.

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

Postby btisdall » Sun Jan 22, 2006 8:26 am

I understood your question wheelc.

When an MTA such as sendmail relays mail to another host it's working as a client (hint: restart sendmail from the command line and observe the output).

Therefore, if a desktop mail client such as OE can send mail via an ISPs mailserver using port 25 then sendmail should be able to too.

If it can't it's an authentication issue not a port blocking issue.

wheelc
Posts: 45
Joined: Sun Dec 12, 2004 5:34 am
Contact:

Postby wheelc » Sun Jan 22, 2006 9:01 am

Indeed, and if NTL route all their port 25 traffic to their mail servers (as they do) then I would have to authenticate aginst their mailserver. Obviously I can not. So in answer to your question the client nor the server will work. So I probablt worded the question wrongly. Essentially I want to bounce my outgoing mail off another server via a different port so that it reaches it destination.

Thanks

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

Postby btisdall » Sun Jan 22, 2006 5:40 pm

Is your requirement to use another mail relay absolute or because you've had issues getting sendmail to work with NTL's smarthost thus far?

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

Postby ScalixSupport » Sun Jan 22, 2006 8:50 pm

Hi. If you need 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 that change, you need to restart sendmail.

You also mentioned trying to send mail via a different socket. If that's case, see this message regarding sending to a host listening on socket 587:

http://www.scalix.com/community/viewtopic.php?t=1116

Thanks,
Rachel

wheelc
Posts: 45
Joined: Sun Dec 12, 2004 5:34 am
Contact:

Postby wheelc » Mon Jan 23, 2006 4:01 am

Thanks very much, I will give this a go.

Chris.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 11 guests

cron