Re: [courier-users] courier-authlib: authpam, authpasswd, authshadow not compiling/installing

2007-08-21 Thread Mike Peachey
Sam Varshavchik wrote:
 Mike Peachey writes:
 

 However, this means I want to authenticate with libauthpasswd or 
 libauthshadow instead - but these do not compile either and this time 
 I can't work out why!

 I've gone through the output of the configure script which is 
 available here:

 http://pastebin.com/m14b7899a

 and although it is clear in the output that pam is unavailable - 
 everything seems ok for passwd/shadow so I've no idea why it's not 
 compiling them.
 
 Can't really say. According to the above, authshadow should get compiled 
 and installed.

I've opened up and debugged the configure script and it seems that 
authshadow is not built unless you explicitly define --with-authshadow 
to the script - surely this is not supposed to be the case?
-- 
Kind Regards,

__

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] custom authentication linking with external radius library.

2007-08-21 Thread CcR Nothing's Impossible

Hello all,
I am attempting to build a custom authentication handler for radius server. 
I download the radiusclinet moudle, installed it and include it on 
preauthcustom.c file. I have installed automke and autoconf as well.


i append following lines in  the Makefile.am
in sbin_PROGRAMS authcustom

authcustom.libsdep= libradiusclient.la
authcustom_LDADD=libradiusclient.la

libradiusclient.la is a link file of '/usr/local/lib/libradiusclient.la' 
located on the courier-authlib.


When i do automake following messages appers :
Makefile.am: object `authcustom.$(OBJEXT)' created both with libtool and 
without.


I did
./configure  - no error
make - no error
make install - no error

But when i tried to authenticate from authdaemon using courier-imap it give 
me following error :


authdaemond: /usr/local/libexec/courier-authlib/authdaemond: symbol lookup 
error: /usr/local/lib/courier-authlib/libauthcustom.so.0: undefined symbol: 
rc_conf_str


rc_conf_str is the function used in the preauthcustom.c whose defination is 
present in the library /usr/local/lib/libradiusclient.la.


Please someone help me out and let me know how to fix this error..!!

Best Regards
Shishir

_
Find a local pizza place, movie theater, and more….then map the best route! 
http://maps.live.com/default.aspx?v=2ss=yp.bars~yp.pizza~yp.movie%20theatercp=42.358996~-71.056691style=rlvl=13tilt=-90dir=0alt=-1000scene=950607encType=1FORM=MGAC01



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] www.broken-starttls.org?

2007-08-21 Thread Paweł Tęcza
Hi All,

As you can see below now I have more then 130 entries for
domains with broken STARTTLS in my esmtproutes file:

[EMAIL PROTECTED]:~# grep SECURITY=NONE /etc/courier/esmtproutes |wc -l 
133

Daily (half-automated) grepping maillog and sending messages
to postmasters of broken domains is boring and probably never
ending story.

I know that domains always will be exist, but now I'm thinking
about how to decrease number of them.

Maybe we should found the special website, something like
www.rfc-ignorant.org, to reporting domains with broken STARTTLS?

Branding broken domains is not only one solution, of course.
It also can include good STARTTLS HOWTOs for all modern and
popular MTAs, for example Courier, Exim, Postfix, Qmail,
Sendmail, etc.

What's your opinion about it?

My best regards,

Pawel

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] courier-authlib: authpam, authpasswd, authshadow not compiling/installing

2007-08-21 Thread Sam Varshavchik

Mike Peachey writes:


Sam Varshavchik wrote:

Mike Peachey writes:



However, this means I want to authenticate with libauthpasswd or 
libauthshadow instead - but these do not compile either and this time 
I can't work out why!


I've gone through the output of the configure script which is 
available here:


http://pastebin.com/m14b7899a

and although it is clear in the output that pam is unavailable - 
everything seems ok for passwd/shadow so I've no idea why it's not 
compiling them.


Can't really say. According to the above, authshadow should get compiled 
and installed.


I've opened up and debugged the configure script and it seems that 
authshadow is not built unless you explicitly define --with-authshadow 
to the script - surely this is not supposed to be the case?


No. Unless explicitly specified, authshadow will be built, if neither 
authpam nor authldap is built. Do you get authldap built by default? If so, 
that's your answer -- the expectation is that you'll authenticate via LDAP.


If you don't, manually specify --with-authshadow.




pgpmRmPvhqW9Q.pgp
Description: PGP signature
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] www.broken-starttls.org?

2007-08-21 Thread Sam Varshavchik

Paweł Tęcza writes:


Hi All,

As you can see below now I have more then 130 entries for
domains with broken STARTTLS in my esmtproutes file:

[EMAIL PROTECTED]:~# grep SECURITY=NONE /etc/courier/esmtproutes |wc -l 
133


Daily (half-automated) grepping maillog and sending messages
to postmasters of broken domains is boring and probably never
ending story.

I know that domains always will be exist, but now I'm thinking
about how to decrease number of them.

Maybe we should found the special website, something like
www.rfc-ignorant.org, to reporting domains with broken STARTTLS?

Branding broken domains is not only one solution, of course.
It also can include good STARTTLS HOWTOs for all modern and
popular MTAs, for example Courier, Exim, Postfix, Qmail,
Sendmail, etc.

What's your opinion about it?


Well, if you want to do it, go right ahead. I don't see anything wrong, 
conceptually with it, except that I would go even further, and expand the 
scope to include other kinds of breakages -- broken DNS settings, etc…




pgplrDDbI2eEZ.pgp
Description: PGP signature
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] courier-authlib: authpam, authpasswd, authshadow not compiling/installing

2007-08-21 Thread Mike Peachey
Sam Varshavchik wrote:
 Mike Peachey writes:
 
 Sam Varshavchik wrote:
 Mike Peachey writes:


 However, this means I want to authenticate with libauthpasswd or 
 libauthshadow instead - but these do not compile either and this 
 time I can't work out why!

 I've gone through the output of the configure script which is 
 available here:

 http://pastebin.com/m14b7899a

 and although it is clear in the output that pam is unavailable - 
 everything seems ok for passwd/shadow so I've no idea why it's not 
 compiling them.

 Can't really say. According to the above, authshadow should get 
 compiled and installed.

 I've opened up and debugged the configure script and it seems that 
 authshadow is not built unless you explicitly define --with-authshadow 
 to the script - surely this is not supposed to be the case?
 
 No. Unless explicitly specified, authshadow will be built, if neither 
 authpam nor authldap is built. Do you get authldap built by default? If 
 so, that's your answer -- the expectation is that you'll authenticate 
 via LDAP.
 
 If you don't, manually specify --with-authshadow.

That's the exact answer I've been looking for. Because it builds 
authldap, it doesn't build authshadow. This is perhaps something that 
could be made clearer in the documentation - because my system has 
OpenLDAP support, it is assumed LDAP will be used, although I in fact 
wanted Shadow, I had no indication that I needed to build it 
--without-authldap.

Thank you.
-- 
Kind Regards,

__

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] www.broken-starttls.org?

2007-08-21 Thread Paweł Tęcza
Sam Varshavchik [EMAIL PROTECTED] writes:

 Paweł Tęcza writes:
[...]
 What's your opinion about it?

 Well, if you want to do it, go right ahead. I don't see anything
 wrong, conceptually with it, except that I would go even further, and
 expand the scope to include other kinds of breakages -- broken DNS
 settings, etc…

Hello Sam,

Thanks a lot for the positive response! :)

I didn't wrote I want to do it alone ;) I haven't too much
free time, but the website could be maintained by the community.

www.broken-mta.org will be better name for all MTA breakages,
but I'm afraid that it can be partially redundant for the sites
like www.rfc-ignorant.org.

My best regards,

Pawel

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] www.broken-starttls.org?

2007-08-21 Thread Mike Peachey
Sam Varshavchik wrote:
 Paweł Tęcza writes:
 
 Hi All,

 As you can see below now I have more then 130 entries for
 domains with broken STARTTLS in my esmtproutes file:

 [EMAIL PROTECTED]:~# grep SECURITY=NONE /etc/courier/esmtproutes |wc -l 133

 Daily (half-automated) grepping maillog and sending messages
 to postmasters of broken domains is boring and probably never
 ending story.

 I know that domains always will be exist, but now I'm thinking
 about how to decrease number of them.

 Maybe we should found the special website, something like
 www.rfc-ignorant.org, to reporting domains with broken STARTTLS?

 Branding broken domains is not only one solution, of course.
 It also can include good STARTTLS HOWTOs for all modern and
 popular MTAs, for example Courier, Exim, Postfix, Qmail,
 Sendmail, etc.

 What's your opinion about it?
 
 Well, if you want to do it, go right ahead. I don't see anything wrong, 
 conceptually with it, except that I would go even further, and expand 
 the scope to include other kinds of breakages -- broken DNS settings, etc…

and much much more besides.

I'm with you.
-- 
Kind Regards,

__

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England
http://www.jennic.com
__

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Manage email address [EMAIL PROTECTED]

2007-08-21 Thread Daniele Piaggesi




Hi guys

I have a need. I have my courier mailserver with ldap authentication
and I want that an email with address "[EMAIL PROTECTED]" will be
delivered to "[EMAIL PROTECTED]".
I googled a bit and i didn't find anything. Can you help me?

This is my mailserver:
Courier esmtpd - Courier pop3 - Courier Imap - Maildrop + Antispam
(Spamassassin) and Antivirus (Clamav)

Thanks in advance.

Daniele Piaggesi

-- 
Daniele
Piaggesi
---
System
Administrator
Pronetics
s.p.a.
Via E. L.
Cerva 127/C
Tel.+39.06.51530849
Mob.  +39.328.6176226





-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Manage email address [EMAIL PROTECTED]

2007-08-21 Thread Jay Lee

Daniele Piaggesi wrote:

Hi guys

I have a need. I have my courier mailserver with ldap authentication 
and I want that an email with address [EMAIL PROTECTED] will be 
delivered to [EMAIL PROTECTED].


Create a file named .courier-default in the User's home directory.  
Leave it completely blank.  Emails to [EMAIL PROTECTED] will 
now go to daniele.  Courier uses dashes instead of plus symbols.  If you 
insist on using a + symbol, you'll need to manually create aliases.  See:


http://www.courier-mta.org/dot-courier.html

for more details on how .courier works.

Jay

--
Jay Lee [EMAIL PROTECTED]
Network/Systems Administrator
Information Technology Department
Philadelphia Biblical University
--

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Use awstats with courier

2007-08-21 Thread Daniele Piaggesi




Sorry for my new request...

I'm finding a free log analyzer for my courier mailserver and I thinked
to awstats. But I notice that courier log is not readable with awstats
script "maillogconvert.pl". I wanto to know if there's a way to use
awstats with courier: I googled again a lot but I'm undestanding that
there's  not many docs for courier. Anyway if it's not possible  could
you  suggest a software for my needs? 

Thank again (and forever :) )

Daniele


-- 
Daniele
Piaggesi
---
System
Administrator
Pronetics
s.p.a.
Via E. L.
Cerva 127/C
Tel.+39.06.51530849
Mob.  +39.328.6176226





-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


[courier-users] Re: Maximum of 20 nested SPF queries exceeded. /Discrepancy in spf.c

2007-08-21 Thread jjh
Okay.

I changed the source, recompiled and ran some tests using telnet on another
server.  It's my opinion the return value for Maximum of 20 nested SPF
queries exceeded. in ./rfc1035/spf.c should be changed from SPF_FAIL to
SPF_UNKNOWN as this would match the /* comments */ above that code. 


Before change (using telnet) Courier gives up completely:

helo malexmedia.net
mail from:[EMAIL PROTECTED]

517 SPF fail [EMAIL PROTECTED]: Maximum of 20 nested SPF
queries exceeded.


After change (in mail headers) Courier still gives up, but does not fail
the SPF:

Received-SPF: unknown (Maximum of 20 nested SPF queries exceeded.)
  SPF=MAILFROM;
  [EMAIL PROTECTED];
  remoteip=:::127.0.0.1;
  remotehost=localhost;
  helo=hi;
  receiver=server;

I should also note that I tested this using courier-0.53.3.

Jim


On Mon, 20 Aug 2007 19:25:38 -0400, Sam Varshavchik [EMAIL PROTECTED]
wrote:
 [EMAIL PROTECTED] writes:
 
 I downloaded the Debian sources to confirm I had the same source. What
 catches my attention is that the comments of this particular block of
 code
 indicate that SPF_UNKNOWN should be returned however the code is
 actually
 returning SPF_FAIL which agrees with what I am seeing in the logs. I'm
 not
 sure that this is a bug or if it is just commented incorrectly. Which
 should it be?
 
 You might be right, and the status result for this error condition should
 probably be changed. Feel free to change it, and see what happens.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Re: [courier-users] Use awstats with courier

2007-08-21 Thread Sam Varshavchik

Daniele Piaggesi writes:


« HTML content follows »
Sorry for my new request...

I'm finding a free log analyzer for my courier mailserver and I thinked to 
awstats. But I notice that courier log is not readable with awstats script 
maillogconvert.pl. I wanto to know if there's a way to use awstats with 
courier: I googled again a lot but I'm undestanding that there's  not many 
docs for courier. Anyway if it's not possible  could you  suggest a 
software for my needs? 


Thank again (and forever :) )


courier-analog should give reasonable statistics.



pgpTQQbPUvMdk.pgp
Description: PGP signature
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
courier-users mailing list
courier-users@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users