Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mail through maildrop disappears [solved]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 234
Location: Utrecht

PostPosted: Wed Mar 19, 2014 10:53 pm    Post subject: Reply with quote

The stand alone version has two more links. One expected : libcourierauth.so and : libidn.so.11 which isn't coming from the package itself.
I know I can check the package ownership. Do you know the command?

Courier version:
Code:
   linux-vdso.so.1 (0x00007fff9cfff000)
   libgdbm.so.3 => /usr/lib64/libgdbm.so.3 (0x00007fcaaa94b000)
   libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fcaaa72e000)
   libpcre.so.1 => /lib64/libpcre.so.1 (0x00007fcaaa4c6000)
   libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6 (0x00007fcaaa1c0000)
   libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fcaa9faa000)
   libc.so.6 => /lib64/libc.so.6 (0x00007fcaa9bfa000)
   /lib64/ld-linux-x86-64.so.2 (0x00007fcaaab51000)
   libm.so.6 => /lib64/libm.so.6 (0x00007fcaa98fc000)

Stand alone version:
Code:
   linux-vdso.so.1 (0x00007fff23f1f000)
   libidn.so.11 => /usr/lib64/libidn.so.11 (0x00007f3966638000)
   libgdbm.so.3 => /usr/lib64/libgdbm.so.3 (0x00007f3966431000)
   libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3966214000)
   libcourierauth.so => /usr/lib64/courier-authlib/libcourierauth.so (0x00007f3966007000)
   libpcre.so.1 => /lib64/libpcre.so.1 (0x00007f3965d9e000)
   libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6 (0x00007f3965a97000)
   libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f3965881000)
   libc.so.6 => /lib64/libc.so.6 (0x00007f39654d1000)
   /lib64/ld-linux-x86-64.so.2 (0x00007f396686c000)
   libm.so.6 => /lib64/libm.so.6 (0x00007f39651d3000)
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 234
Location: Utrecht

PostPosted: Wed Mar 19, 2014 11:46 pm    Post subject: Reply with quote

I found the owner net-dns/libidn.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Thu Mar 20, 2014 12:04 am    Post subject: Reply with quote

hika ...

If you need to corrolate a file with a package you can use 'e-file' from app-portage/pfl

Code:
# for f in /usr/lib64/courier-authlib/libcourierauth.so /usr/lib64/libidn.so.11 ; do e-file $f 2>/dev/null | awk '/^.*\*/{print $3}'; done
net-libs/courier-authlib
net-dns/libidn

I'm just outputing the package names here for brevity, more information is provided in the output.

Though as they are installed on one of you hosts you can use 'equery' from app-portage/gentoolkit

Code:
# equery belongs /usr/lib64/courier-authlib/libcourierauth.so

best ... khay


Last edited by khayyam on Thu Mar 20, 2014 12:17 am; edited 1 time in total
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 234
Location: Utrecht

PostPosted: Thu Mar 20, 2014 12:16 am    Post subject: Reply with quote

Thanks for all your help.
To be on the save side I emerged the net-dns/libidn package on the server and copied the maildrop binary, after of cause moving the original binary to maildrop.org, and it now works.
In the coming time I'm going to look further into the cause for the missing dependency to authlib and when I know more I'll report back.

Hika
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Thu Mar 20, 2014 12:20 am    Post subject: Reply with quote

hika ...

you're welcome ... pleased to hear that its working as expected. You might want to take some time to add any relevent information to the bug (or open a new bug if the old bug hasn't been re-activated).

best ... khay
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 234
Location: Utrecht

PostPosted: Thu Mar 20, 2014 12:25 am    Post subject: Reply with quote

I've already yesterday added to the bug, including a link to this thread. And I've added me to the cc list. If by the time I found more, I've heard nothing from the bug, I will open a new one, linking to the old one and this thread.

Hika
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 234
Location: Utrecht

PostPosted: Thu Mar 20, 2014 4:47 pm    Post subject: Reply with quote

It definitely is a bug in the maildrop configure script inside courier. The part that arranges it:
Code:
COURIERAUTHCONFIG=$ac_cv_path_COURIERAUTHCONFIG
if test -n "$COURIERAUTHCONFIG"; then
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COURIERAUTHCONFIG" >&5
$as_echo "$COURIERAUTHCONFIG" >&6; }
else
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi


  test -n "$COURIERAUTHCONFIG" && break
done


# When we're a part of the Courier build, we let Courier do the authlib stuff

if test -d ${srcdir}/../courier
then
   COURIERAUTHCONFIG=""
fi

# Check whether --enable-authlib was given.
if test "${enable_authlib+set}" = set; then :
  enableval=$enable_authlib;
if test "$enableval" = "no"
then
   COURIERAUTHCONFIG=""
fi

fi


AUTHINCLUDE=""
AUTHLDADD=""
AUTHLIB=0

if test "$COURIERAUTHCONFIG" != ""
then
   AUTHINCLUDE=`$COURIERAUTHCONFIG --cppflags`
   AUTHLDADD="`$COURIERAUTHCONFIG --ldflags` -lcourierauth"
   AUTHLIB=1
fi


Gives no way to enable the support. Possibly left over from earlier versions, that arranged it differently.
Scanning the whole courier code directory for enable-authlib and enable_authlib only gives this.

Hika
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 234
Location: Utrecht

PostPosted: Thu Mar 20, 2014 4:51 pm    Post subject: Reply with quote

And maildropldap, maildrop-ldap maidrop_ldap gives no hit at all.
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 234
Location: Utrecht

PostPosted: Thu Mar 20, 2014 5:16 pm    Post subject: Reply with quote

But checking the linking of sendmail, there is no linking to authlib, but it uses it anyway.
Possibly because it goes by the authlib socket:"/var/lib/courier/authlib/socket". But then why does maildrop not do that.

I should go talk/look/ask on a courier site.

Hika
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 234
Location: Utrecht

PostPosted: Tue Apr 01, 2014 4:09 pm    Post subject: Reply with quote

I found the way to do it.
The way is using /etc/courier/maildroprc. I already before tried adding HOME="home/samba/maildirs/$USER" to it, but USER is not imported by maildrop in delivery mode.
LOGNAME is. So heading op /etc/courier/maildroprc with:
Code:
HOME="/home/samba/maildirs/$LOGNAME"
DEFAULT="$HOME/Maildir/"


Works.

Hika
Back to top
View user's profile Send private message
hika
Apprentice
Apprentice


Joined: 13 Mar 2009
Posts: 234
Location: Utrecht

PostPosted: Tue Apr 01, 2014 4:27 pm    Post subject: Reply with quote

One thing though.
A .mailfilter file in /home/samba/maildirs/$LOGNAME is ignored. It still looks for it in the system define homedirectory /home/$LOGNAME.
The weird thing is that this file does use the changed variables for HOME and DEFAULT, so you don't need to define them again.

Hika
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum