You are not logged in.

#1 2013-11-30 12:31:38

Miha
Member
Registered: 2013-11-30
Posts: 9

Problems with binding smtp service to port 25

I have problems running lotus domino smtp service. Service tries to bind to port 25 with suid helper app.
But I get an error, probably permission to bind to lower ports. No other app is holding this port.

Is there anything new in latest kernel/configuration, cause in a month old install it works normally?

Offline

#2 2013-11-30 12:50:37

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Problems with binding smtp service to port 25

Miha wrote:

But I get an error, probably permission to bind to lower ports. No other app is holding this port.

We're not psychics. Post the error.

Offline

#3 2013-11-30 18:32:06

Miha
Member
Registered: 2013-11-30
Posts: 9

Re: Problems with binding smtp service to port 25

POP3 Server: Listener failure: 'bindsock' is missing, not executable, not owned by root, not setuid root or user needs net_privaddr privilege.

bindsock is not missing, is executable, is owned by root and has setuid flag

Offline

#4 2013-12-01 00:17:55

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Problems with binding smtp service to port 25

Is that the error message? Please use code tags and include context (ie, the commands you ran to get that outout).

The error says "POP3 Server" - why would you expect that to be listening on port 25?

Offline

#5 2013-12-01 21:30:53

Miha
Member
Registered: 2013-11-30
Posts: 9

Re: Problems with binding smtp service to port 25

The problem is in 3.12.* kernel. It seems that it does not allow setuid properly. I downgraded to 3.11.6 and now it works properly. I took me fair amount of time for this.

Offline

#6 2013-12-02 14:54:08

Miha
Member
Registered: 2013-11-30
Posts: 9

Re: Problems with binding smtp service to port 25

I cant find where is the difference in kernels. With self compiled 3.11.6 application works, with lts kernel 3.10.20 it does not work, with ck-kernel it does not work. With self compiles lts kernel with same config like 3.11.6 it does not work. Where is the catch?

Offline

#7 2013-12-02 20:10:49

Holm74
Member
Registered: 2013-12-02
Posts: 1

Re: Problems with binding smtp service to port 25

Hi there,

have exactly the same problem: compiled a fresh 3.12.1, but after rebooting our company server could not start the smtp server. Rebooted into old 3.7.5 everything was fine. Error was

ERROR: bindsock' helper application is missing, not executable, not setuid root, or no sticky bit set
SMTP Server: Listener failure: 'bindsock' is missing, not executable, not owned by root, not setuid root or user needs net_privaddr privilege.

Is there a new feature in 3.12.1 I have to enable / disable for bindsock ?!?

Maybe I should go through make oldconfig step by step and look for it.

Maybe somebody has an idea.

Have fun

Holm

Offline

#8 2013-12-02 22:21:26

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Problems with binding smtp service to port 25

bindsock appears to be a Domino specific tool; have you read through this thread?

Offline

#9 2013-12-03 10:02:44

Miha
Member
Registered: 2013-11-30
Posts: 9

Re: Problems with binding smtp service to port 25

It is not a problem of missconfiguration. Something is different in kernels. I recompiled different versions of kernels with same .config and with 3.11.3 and 3.11.6 it works, with 3.10.20 lts, 3.12.*, 3.12.*-ck it does not. I just boot with different kernel and with some it works and with some it doesnt. Maybe is something in default options of mounting partitions (tried ext3 and xfs), or something about setuid permissions. But it is a kernel issue.

Bindsock is only a helper app for binding tcp port.

Offline

#10 2014-01-04 07:37:08

tyano
Member
Registered: 2014-01-04
Posts: 2

Re: Problems with binding smtp service to port 25

I am using Ubuntu 13.10 and experiencing the same from some update.
Before 3.11.0.13, the Domino SMTP service works fine.
After 3.11.0.14, the Domino SMTP service fails with bindsock error.

Offline

#11 2014-01-04 09:39:39

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Problems with binding smtp service to port 25

tyano wrote:

I am using Ubuntu 13.10

Welcome to our forums, however please note we support ArchLinux only: https://wiki.archlinux.org/index.php/Fo … pport_ONLY

EDIT: I'll reopen this since the OP is using Arch.

Last edited by fukawi2 (2014-01-04 12:23:46)

Offline

#12 2014-01-18 05:36:31

tyano
Member
Registered: 2014-01-04
Posts: 2

Re: Problems with binding smtp service to port 25

Ubuntu team has fixed the same problem in kernel.

http://www-10.lotus.com/ldd/ndseforum.n … 33006AC7A3

I believe that it will be available in other distributions including arch linux.

P.S.

I am using Domino on Ubuntu Server and I am using arch linux as a client.

Last edited by tyano (2014-01-18 05:36:59)

Offline

#13 2014-01-19 06:21:38

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Problems with binding smtp service to port 25

tyano wrote:

Ubuntu team has fixed the same problem in kernel.

Only if it get pushed upstream and accepted; Arch aims to apply minimal patches to upstream sources.

Offline

Board footer

Powered by FluxBB