View Single Post
  #5  
Old 18th August 2010, 21:28
Nicram Nicram is offline
Member
 
Join Date: Mar 2010
Location: PL
Posts: 60
Thanks: 22
Thanked 10 Times in 8 Posts
Send a message via ICQ to Nicram Send a message via AIM to Nicram Send a message via Yahoo to Nicram Send a message via Skype™ to Nicram
Default

In searching for more information i have found this post: http://www.howtoforge.org/forums/sho...d.php?p=197085

What i did was stop saslauthd (/etc/init.d/ and start it manually:
saslauthd -a pam -n 5 -V -c -m /var/run/saslauthd -r -d

And now when i try to send email... it worked!
Code:
saslauthd[28382] :main            : num_procs  : 5
saslauthd[28382] :main            : mech_option: NULL
saslauthd[28382] :main            : run_path   : /var/run/saslauthd
saslauthd[28382] :main            : auth_mech  : pam
saslauthd[28382] :cache_alloc_mm  : mmaped shared memory segment on file: /var/run/saslauthd/cache.mmap
saslauthd[28382] :cache_init      : bucket size: 96 bytes
saslauthd[28382] :cache_init      : stats size : 36 bytes
saslauthd[28382] :cache_init      : timeout    : 28800 seconds
saslauthd[28382] :cache_init      : cache table: 985828 total bytes
saslauthd[28382] :cache_init      : cache table: 1711 slots
saslauthd[28382] :cache_init      : cache table: 10266 buckets
saslauthd[28382] :cache_init_lock : flock file opened at /var/run/saslauthd/cache.flock
saslauthd[28382] :ipc_init        : using accept lock file: /var/run/saslauthd/mux.accept
saslauthd[28382] :detach_tty      : master pid is: 0
saslauthd[28382] :ipc_init        : listening on socket: /var/run/saslauthd/mux
saslauthd[28382] :main            : using process model
saslauthd[28383] :get_accept_lock : acquired accept lock
saslauthd[28382] :have_baby       : forked child: 28383
saslauthd[28382] :have_baby       : forked child: 28384
saslauthd[28382] :have_baby       : forked child: 28385
saslauthd[28382] :have_baby       : forked child: 28386
saslauthd[28383] :rel_accept_lock : released accept lock
saslauthd[28383] :cache_get_rlock : attempting a read lock on slot: 1705
saslauthd[28383] :cache_lookup    : [login=myname@mydomain.com] [service=mydomain.com] [realm=smtp]: not found, update pending
saslauthd[28383] :cache_un_lock   : attempting to release lock on slot: 1705
saslauthd[28384] :get_accept_lock : acquired accept lock
saslauthd[28383] :cache_get_wlock : attempting a write lock on slot: 1705
saslauthd[28383] :cache_commit    : lookup committed
saslauthd[28383] :cache_un_lock   : attempting to release lock on slot: 1705
saslauthd[28383] :do_auth         : auth success: [user=myname@mydomain.com] [service=smtp] [realm=mydomain.com] [mech=pam]
saslauthd[28383] :do_request      : response: OK
Well it was just a shot so now i will analyse what it does, and try to make it work somehow by editing /etc/init.d/saslauthd, i hope i will make it work

2bad there is no xmail with mysql support, it would make so many things easier, not this LEGO a like :S

OK to make it work just edit /etc/etc/sysconfig/saslauthd so it will look like that:
Code:
SOCKETDIR=/var/run/saslauthd
MECH=pam.
FLAGS=-r
So long way, and so many hours spent only to add little "-r" :S

Last edited by Nicram; 18th August 2010 at 21:57. Reason: forgot to add address
Reply With Quote