Re: [Bug 102947] Re: ERR: authdaemon: s_connect() failed: No such file or directory

2011-05-04 Thread Josip Rodin
On Wed, May 04, 2011 at 03:00:04PM -, Matthias Andree wrote:
> The -a naturally cannot fix the bogus permissions of the /var/run
> directory, as logged here:
> 
> May  4 16:56:28 hermes postfix/local[813]: 894EE47DFD: to=,
> orig_to=, relay=local, delay=0.06, delays=0.01/0/0/0.05,
> dsn=4.3.0, status=deferred (temporary failure. Command output: ERR:
> authdaemon: s_connect() failed: Permission denied /usr/bin/maildrop:
> Temporary authentication failure. )
> 
> Ouch. :-)   [maildrop could also log in a bit more detail where
> s_connect tried to connect to, namely the socket name, but that should
> be filed as a separate bug and with the upstream]

That's all courier-authlib business, that's why I brought it up.
The authlib and/or the interaction with authlib should be either quiet
or screaming, and then things will be consistent from the get-go.

-- 
 2. That which causes joy or happiness.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/102947

Title:
  ERR: authdaemon: s_connect() failed: No such file or directory

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 102947] Re: ERR: authdaemon: s_connect() failed: No such file or directory

2011-05-04 Thread Matthias Andree
The -a naturally cannot fix the bogus permissions of the /var/run
directory, as logged here:

May  4 16:56:28 hermes postfix/local[813]: 894EE47DFD: to=,
orig_to=, relay=local, delay=0.06, delays=0.01/0/0/0.05,
dsn=4.3.0, status=deferred (temporary failure. Command output: ERR:
authdaemon: s_connect() failed: Permission denied /usr/bin/maildrop:
Temporary authentication failure. )

Ouch. :-)   [maildrop could also log in a bit more detail where
s_connect tried to connect to, namely the socket name, but that should
be filed as a separate bug and with the upstream]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/102947

Title:
  ERR: authdaemon: s_connect() failed: No such file or directory

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 102947] Re: ERR: authdaemon: s_connect() failed: No such file or directory

2011-05-04 Thread Josip Rodin
On Wed, May 04, 2011 at 01:42:34PM -, Matthias Andree wrote:
> Please don't patch authlib - it's too silent already, and maildrop's
> "can't connect" is hard enough to find - namely non-existent if run from
> Postfix.

maildrop has two straightforward modes - when you don't specify -a and when
you do. Each of these can and should be internally consistent. If you don't
want authlib to be silent - just use -a and make sure of that.

-- 
 2. That which causes joy or happiness.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/102947

Title:
  ERR: authdaemon: s_connect() failed: No such file or directory

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 102947] Re: ERR: authdaemon: s_connect() failed: No such file or directory

2011-05-04 Thread Josip Rodin
On Wed, May 04, 2011 at 12:34:33PM -, Matthias Andree wrote:
> Note that this has been restated several times before, see comment #15.
> See https://bugs.launchpad.net/ubuntu/+source/courier-
> authlib/+bug/777060 for additional details. It might be advisable to
> make maildrop depend on courier-authdaemon.

That would just exacerbate the situation, because the use of authlib
(authdaemon) is not actually mandatory, maildrop has an -a option that
can make it so. In this same bug report we already saw a person say
courier-authlib support should be completely removed, rather.

I'm guessing some more patching of authlib to be silent would make this
middle-ground position more bearable...

-- 
 2. That which causes joy or happiness.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/102947

Title:
  ERR: authdaemon: s_connect() failed: No such file or directory

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 102947] Re: ERR: authdaemon: s_connect() failed: No such file or directory

2011-02-07 Thread Josip Rodin
On Mon, Feb 07, 2011 at 12:56:54PM -, foolishchild wrote:
> The fix is easy:
> - sudo aptitude purge maildrop
> - download the maildrop tar.bz2 from 
> http://www.courier-mta.org/download.php#maildrop
> - follow the install instructions 
>   - sudo aptitude install libpcre3-dev
>   - ./configure
>   - ./make
>   - ./make install-strip
>   - ./make install-doc
> - change .fetchmailrc to use /usr/local/bin/maildrop instead of 
> /usr/bin/maildrop
> 
> There are two packages in the repositories; maildrop and courier-
> maildrop. maildrop has been (in my opinion erroneously) compiled with
> courier-auth support, and courier-authlib has been made a pre-req. That
> may well have needed to be done for courier-maildrop, but I don't think
> it should be done for standalone maildrop.

*sigh* The fix would actually be to make your fetchmail stop annoying you
by interpreting all stderr output as an error. courier-auth support isn't
harming your delivery here, it's only making your delivery agent complain
for no apparent reason. Fix *that*.

-- 
 2. That which causes joy or happiness.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/102947

Title:
  ERR: authdaemon: s_connect() failed: No such file or directory

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 102947] Re: ERR: authdaemon: s_connect() failed: No such file or directory

2010-07-30 Thread Josip Rodin
On Thu, Jul 29, 2010 at 08:57:34PM -, Simon Elsbrock wrote:
> For each mail fetched, maildrop seems to be returning the
> following error:
> 
>   msg   1/1 (7036 bytes), delivery error (command maildrop 10858 error (67, 
> ERR: authdaemon: s_connect() failed: No such file or directory
> Invalid user specified.))
>   Delivery error (command maildrop 10859 error (67, ERR: authdaemon: 
> s_connect() failed: No such file or directory
> 
> The user which was specified with -d definitely exists, though.
> Nevertheless, the mail was not delivered. I was able to fix this bug for
> me by patching the package (--disable-authlib in debian/rules) and
> rebuilding it using debuild.

This is not the same bug as reported in the original bug report.

You are actually getting the fatal error rather than just a warning.
Maildrop is returning an error status to fetchmail:

% grep 67 /usr/include/sysexits.h
#define EX_NOUSER   67  /* addressee unknown */

File a new bug and include more details regarding your actual
configuration.

-- 
 2. That which causes joy or happiness.

-- 
ERR: authdaemon: s_connect() failed: No such file or directory
https://bugs.launchpad.net/bugs/102947
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs