Virtual Users with Postfix + Maildrop

Discussion in 'HOWTO-Related Questions' started by immobilia, Jul 18, 2006.

  1. immobilia

    immobilia New Member

    I have try a similar install of Virtual Users And Domains With Postfix, Courier And MySQL + Add Mailfiltering and i don't working maildrop :(

    I'm on SUSE with versions :
    courier-authlib-0.58
    postfix-2.2.10
    postfix-2.2.10-vda.patch
    maildrop-2.0.2

    Questions are :

    Is it obligatory to make transport to call maildrop ?
    If yes, we lost advantage of VDA ?

    My bug is :

    #maildrop -d anyuser@mydomain.com
    ERR: authdaemon: s_connect() failed: No such file or directory
    maildrop: Temporary authentication failure.

    #authtest user@domain.com
    ERR: authdaemon: s_connect() failed: No such file or directory
    Authentication FAILED: Illegal seek

    Sample of source :
    courier-authlib-0.58/ChangeLog: * authdaemonlib.c (s_connect): Wait for connection to authdaemond
    courier-authlib-0.58/authdaemonlib.c:static int s_connect(int sockfd,
    courier-authlib-0.58/authdaemonlib.c: if (s_connect(s, (const struct sockaddr *)&skun, sizeof(skun),
    courier-authlib-0.58/authdaemonlib.c: perror("ERR: authdaemon: s_connect() failed");

    How try to use successfuly maildrop ?
    I don't understand how courier and maildrop use authlibdaemon...
     
    Last edited: Jul 19, 2006
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

  3. immobilia

    immobilia New Member

    solved

    Thx Falco, but wrong answer. The good one is :

    # strace authtest user@test.com pass
    >> i see the program using a non existing socket

    # ln -s /var/run/authdaemon.courier-imap/socket /usr/var/spool/authdaemon/socket

    # authtest user@test.com pass
    Authentication succeeded.
     

Share This Page