Re: [courier-users] Misconfigured Exchange Servers

2013-03-26 Thread Steve Shockley
On 3/21/2013 8:10 PM, Lindsay Haisley wrote:
 Bypassing a distribution's package management system always seems to
 introduce issues.

Why not just use the OS packaging system for your new version?  I don't 
know much about building for apt, but it seems you should be able to 
build and package software from source that keeps all the package 
dependencies, unless the newer Courier version requires a newer library 
version or something.

I'm guessing it's the sort of thing that's a hassle to do once, but not 
too bad once you get it documented.

--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Strange issue with authentication/mail pickup

2013-03-26 Thread Gor ony

Hi!

Thanks for the process, tucked that back in the troubleshooting book.

It would appear that since the RPM installed itself as owner bin.bin with 
rwxrwx--- as permissions for /usr/lib/courier-imap and 
/usr/lib/courier-imap/bin the user postfix was calling with (vmail) wasn't able 
to fork the next process out. Adding world read/execute on the directories and 
the executables in bin fixed it.


From: mr...@courier-mta.com
To: courier-users@lists.sourceforge.net
Date: Mon, 25 Mar 2013 23:59:03 -0400
Subject: Re: [courier-users] Strange issue with authentication/mail pickup

Gor ony writes:
 
 What I can't piece together is how to debug the break between authlib saying  
 Valid user and exec(imap/pop3) Failed.
 Thanks,
 
Find the pid of the couriertcpd pid that's listening on the imap port, you  
seem to be trying imap-ssl, so that will be port 993:
 
# /sbin/fuser -n tcp 993
993/tcp:   803
 
So that's PID 803, in my case. Attach strace to that process:
 
# strace -f -o /tmp/strace.log -s 256 -p 803
Process 803 attached
 
The attempt to make a connection. After it fails, you can kill strace with  
CTRL-C.
 
The log file will be a little bit large, you can grep it for clues:
 
]# fgrep execve /tmp/strace.log
336   execve(/usr/lib/courier-imap/bin/couriertls, [/usr/lib/courier- 
imap/bin/couriertls, -server, -tcpd, /usr/lib/courier- 
imap/sbin/imaplogin, /usr/lib/courier-imap/bin/imapd, Maildir], [/* 58  
vars */]) = 0
337   execve(/usr/lib/courier-imap/sbin/imaplogin, [/usr/lib/courier- 
imap/sbin/imaplogin, /usr/lib/courier-imap/bin/imapd, Maildir], [/* 59  
vars */]) = 0
337   execve(/usr/lib/courier-imap/bin/imapd, [/usr/lib/courier- 
imap/bin/imapd, Maildir], [/* 63 vars */]) = 0
343   execve(/usr/libexec/gam_server, [/usr/libexec/gam_server], [/* 66  
vars */] unfinished …
 
This is how it would look like for a successful login.
 
Do you have SELinux turned on? If it's on, try turning it off.

--
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users 
  --
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Strange issue with authentication/mail pickup

2013-03-26 Thread Sam Varshavchik

Gor ony writes:


« HTML content follows »

Hi!

Thanks for the process, tucked that back in the troubleshooting book.

It would appear that since the RPM installed itself as owner bin.bin with  
rwxrwx--- as permissions for /usr/lib/courier-imap and /usr/lib/courier- 
imap/bin the user postfix was calling with (vmail) wasn't able to fork the  
next process out. Adding world read/execute on the directories and the  
executables in bin fixed it.


Just checked, and the RPMs that I build myself will install /usr/lib/courier- 
imap with permissions rwxr-xr-x


Sounds like a problem with the RPM build environment.



pgp_sH3ZU5WLp.pgp
Description: PGP signature
--
Own the Future-Intelreg; Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users