Vytautas Kasparavičius | 19 Apr 16:44 2014
Picon

Fedora upgrade problem

Hello,
Trying to upgrade Fedora from 19 to 20 version. Encountered following 
problem:
Error: Package: courier-0.73.1-1.fc19.x86_64 (installed)
            Requires: libperl.so()(64bit)
            Removing: 4:perl-libs-5.16.3-266.fc19.x86_64 ( <at> updates/19)
                libperl.so()(64bit)
            Updated By: 4:perl-libs-5.18.2-289.fc20.x86_64 (updates)
                Not found

On same machine(Fedora19):
[root <at> mail log]# rpm -q --whatprovides 'libperl.so()(64bit)'
perl-libs-5.16.3-266.fc19.x86_64

On another machine with Fedora20:
[root <at> bigraid apcupsd]# rpm -q --whatprovides 'libperl.so()(64bit)'
no package provides libperl.so()(64bit)
[root <at> bigraid apcupsd]# rpm -qa | grep perl-libs
perl-libs-5.18.2-289.fc20.x86_64

How to resolve it? It's Fedora's or Courier's problem?

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
courier-users mailing list
(Continue reading)

Bowie Bailey | 14 Apr 17:15 2014

pythonfilter and ClamAV

Anyone try to use courier-pythonfilter with the latest ClamAV?  I'm 
trying to set this up on my new server, but I'm getting some errors 
trying to build the pyclamav package that it requires.  Apparently, it 
is only tested up to ClamAV 0.93, while the current version is 0.98.  
I'm wondering if it is no longer compatible, or if I'm doing something 
wrong.

I'm looking for something more lightweight than Amavis.  All I need is 
something that can run ClamAV on incoming mail.  Any other suggestions?

--

-- 
Bowie

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

mitch@bitblock.net | 14 Apr 15:31 2014
Picon

trouble running authdaemond with authmysql - file not found ?

I’ve run courier before – long time fan J - and once I sorted out dependencies I had no troubles. Not having luck this time. I’m sure it’s something I’ve missed, but the error isn’t very specific “file not found” which I presume means the auth library – it but it seems to be there.

 

I’ve found other posts – but not specific to my case (I spelled authmysql right I think ;-) )

 

I’ve been trying to update my build :

 

uname -a

Linux couriertest.bitblock.net 2.6.32-358.18.1.el6.x86_64 #1 SMP Wed Aug 28 17:19:38 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

 

./configure --prefix=/usr/local/courier --without-authpam --without-authldap --without-authpwd --with-authmysql --with-mysql-libs=/usr/lib64/mysql/libmysqlclient --without-authpgsql --without-authshadow --without-authuserdb --without-authvchkpw --without-authcram --enable-webpass=no --without-ipv6 --enable-mimetypes=/dev/null --with-authmysqlrc=/usr/local/etc/authlib/authmysqlrc

 

/usr/local/libexec/courier-authlib/authdaemond

INFO: modules="authmysql", daemons=5

INFO: Installing libauthmysql

INFO: file not found

 

find / -name "libauthmysql*"

/usr/local/courier/lib/courier-authlib/libauthmysql.la

/usr/local/courier/lib/courier-authlib/libauthmysql.a

/usr/local/courier/lib/courier-authlib/libauthmysql.so

 

I followed the proper procedure I think – and didn’t see any errors during build or install. Any idea what I might have missed?

 

I built as a normal user, escalated to install:

 

ls -l /usr/local/courier/lib/courier-authlib/

total 1244

-rw-r--r--. 1 root root  23914 Apr 14 06:15 libauthcustom.a

-rwxr-xr-x. 1 root root   1099 Apr 14 06:15 libauthcustom.la

-rwxr-xr-x. 1 root root  17221 Apr 14 06:15 libauthcustom.so

-rw-r--r--. 1 root root  97876 Apr 14 06:15 libauthmysql.a

-rwxr-xr-x. 1 root root   1162 Apr 14 06:15 libauthmysql.la

-rwxr-xr-x. 1 root root  61856 Apr 14 06:15 libauthmysql.so

-rw-r--r--. 1 root root  37048 Apr 14 06:15 libauthpipe.a

-rwxr-xr-x. 1 root root   1085 Apr 14 06:15 libauthpipe.la

-rwxr-xr-x. 1 root root  26759 Apr 14 06:15 libauthpipe.so

-rw-r--r--. 1 root root 355282 Apr 14 06:15 libcourierauth.a

-rw-r--r--. 1 root root 139164 Apr 14 06:15 libcourierauthcommon.a

-rwxr-xr-x. 1 root root   1084 Apr 14 06:15 libcourierauthcommon.la

-rwxr-xr-x. 1 root root  75116 Apr 14 06:15 libcourierauthcommon.so

-rwxr-xr-x. 1 root root    985 Apr 14 06:15 libcourierauth.la

-rw-r--r--. 1 root root  63194 Apr 14 06:15 libcourierauthsasl.a

-rw-r--r--. 1 root root  81052 Apr 14 06:15 libcourierauthsaslclient.a

-rwxr-xr-x. 1 root root   1112 Apr 14 06:15 libcourierauthsaslclient.la

-rwxr-xr-x. 1 root root  37220 Apr 14 06:15 libcourierauthsaslclient.so

-rwxr-xr-x. 1 root root   1133 Apr 14 06:15 libcourierauthsasl.la

-rwxr-xr-x. 1 root root  35181 Apr 14 06:15 libcourierauthsasl.so

-rwxr-xr-x. 1 root root 167419 Apr 14 06:15 libcourierauth.so

 

Thank you!!

 

Mitch

 

 

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Matthias Wimmer | 14 Apr 14:16 2014
Picon

[m <at> tthias.eu: Re: Problem after upgrade]


-- 
Matthias Wimmer
Contact details:     http://matthias.wimmer.tel/
Picon
From: Matthias Wimmer <m <at> tthias.eu>
Subject: Re: [courier-users] Problem after upgrade
Date: 2014-04-14 12:16:20 GMT
Hi Vytautas,

El 2014-04-14 12:38:41, Vytautas Kasparavičius escribió:
> >> 400 couriertls: /etc/pki/tls/certs/gdcertpack.pem: error:0906D06C:PEM
> >> routines:PEM_read_bio:no start line
> In file gdcertpack.pem file here is no DOS-style endings, File was not 
> touched when upgrading. Before upgrade everything was OK, error appeared 
> only after upgrade.

Maybe missing DH parameters in the file?

The easiest way to do this is using the GnuTLS command line tool instead
of openssl:

certtool --generate-dh-params --outfile dhparams.pem

Then copy the contents of the resulting dhparams.pem file to your
gdcertpack.pem:

cat dhparams.pem >> /etc/pki/tls/certs/gdcertpack.pem

Regards,
Matthias

--

-- 
Matthias Wimmer
Contact details:     http://matthias.wimmer.tel/

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Vytautas Kasparavičius | 14 Apr 09:12 2014
Picon

Problem after upgrade

Hello,
Courier-mta on Fedora19 with all latest updates. Installed from rpm. 
After upgrade from 0.71 to 0.73.1 started getting errors on some 
outgoing messages:
Apr 14 09:43:31 mail courieresmtp:

id=00000000138F495D.00000000534B8386.00005A4A,from=<info <at> plasta.lt>,addr=<info <at> baltictranslations.lt>: 
400 couriertls: /etc/pki/tls/certs/gdcertpack.pem: error:0906D06C:PEM 
routines:PEM_read_bio:no start line

[root <at> mail tmp]# cat /etc/pki/tls/certs/gdcertpack.pem
-----BEGIN RSA PRIVATE KEY-----
< skipped >
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
< skipped >
-----END CERTIFICATE-----

What is wrong?

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Hanno Böck | 7 Apr 20:39 2014
Picon

LOGGEROPT and esmtpd

Hello,

I'd like to separate log files from the various esmtpds (25, 465, 587),
so I can see which one gets used how often by my users.

However, I currently don't see any easy way to do so.
The pop3d and imapd config files and start scripts have a variable
LOGGEROPTS in their configfile that gets passed to courierlogger.
However, the esmtpd startup script seems a bit different and doesn't
call the logger directly.

Is there a reason why LOGGEROPTS is not available for esmtpd? Sam,
could this be changed for the next version?

cu,

-- 
Hanno Böck
http://hboeck.de/

mail/jabber: hanno <at> hboeck.de
GPG: BBB51E42
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Bernd Plagge | 5 Apr 08:41 2014
Picon

Re: Logging help

On Fri, 04 Apr 2014 12:58:37 +0000
courier-users-request <at> lists.sourceforge.net wrote:

> On 4/4/2014 8:28 AM, Lisa Muir wrote:
> >
> > Guys,
> >
> > I thought I had this one covered, all SMTP must be authenticated on 
> > our server.
> >
> > It is very evident from examining increased server load that we are 
> > being used as a SPAM relay and have not yet hit a blacklist.
> >
> > Looks like a website got hacked and an email account details must have 
> > been in there.
> >
> > For the life of me, when I search mail.log etc I can't find the 
> > username of the user who authenticated an SMTP session.
> >
> > I'd like to quickly enable this in my logs so that I can shut down the 
> > compromised account, if anyone has a quick heads up I'd appreciate it.  
> 
> On my server, I see a line like this in the logs:
> 
> courierd: newmsg,id=000000000022805E.533E911D.000019DB, auth=xxx <at> xxx.xxx
> 
> If I enabled a setting to get this, I can't find it now.
> 
> -- 
> Bowie

Hi,

I think you find this line:
newmsg,id=000000000022805E.533E911D.000019DB, auth=xxx <at> xxx.xxx

in the mail queue files - should be in /var/lib/courier/msgq

can't verify it right now because the mail queue is empty.
BTW, you check your mail queue with the 'mailq' command.

Bernd
------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Lisa Muir | 4 Apr 15:15 2014
Picon

Re: Logging help


On Fri, Apr 4, 2014 at 2:14 PM, Lisa Muir <34.24.34 <at> gmail.com> wrote:

On Fri, Apr 4, 2014 at 2:05 PM, Manuel Schneider <manuel.schneider <at> wikimedia.ch> wrote:
Hi Lisa,

I guess the problem is that you gave "RELAYCLIENT" privileges to your
webserver (maybe localhost), like this:

cat /etc/courier/smtpaccess/default

*       allow
127.0.0.1       allow,RELAYCLIENT
:0000:0000:0000:0000:0000:0000:0000:0001        allow,RELAYCLIENT


 :-)

I wish I did, I'd find it then, definately didn't go there, this site is hosted elswhere on a very densely populated webserver, not in a million years would I go there!!!

Been using that to block the IP of the perp when I see them in the logs.

Bowie's heads up on the courierd logging helps me concentrate my search, I'm getting dns "name" of the host that sent the message there instead of the auth string.

Apr 4 07:03:10 mail courierd: newmsg,id=01884042.533E4B1D.00001080: dns; DellXPS ([::ffff:188.141.105.91])

Might be a side effect of running an older version of courier, but I'm sure I'll find the logging value somewhere!

Thanks for the input.

Lisa.

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Lisa Muir | 4 Apr 14:28 2014
Picon

Logging help


Guys, 

I thought I had this one covered, all SMTP must be authenticated on our server. 

It is very evident from examining increased server load that we are being used as a SPAM relay and have not yet hit a blacklist.

Looks like a website got hacked and an email account details must have been in there.

For the life of me, when I search mail.log etc I can't find the username of the user who authenticated an SMTP session.

I'd like to quickly enable this in my logs so that I can shut down the compromised account, if anyone has a quick heads up I'd appreciate it.

Thanks,

 Lisa.


------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
Bowie Bailey | 3 Apr 15:35 2014

Is this list dead or is it just me?

I haven't received anything from the list this week except my own 
messages.  Is there no activity at all on the list, or am I just not 
getting the messages for some reason?

--

-- 
Bowie

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Bowie Bailey | 28 Mar 16:52 2014

ltdl error building Courier-authlib rpm

I'm setting up a new server.  My intention is to install the same 
version of Courier that was on the old server, copy the configurations 
and everything over and then upgrade to the latest, but I'm getting an 
error trying to build courier-authlib-0.65.0.

The old system was CentOS 4.9 32-bit.  The new system is CentOS 6.5 64-bit.

When I try to build the rpm, this is what I get:

     $ rpmbuild -tb courier-authlib-0.65.0.tar.bz2
     ...
     configure: error: invalid ltdl library directory: `/usr/lib'

libtool, libtool-ltdl, and libtool-ltdl-devel are all installed 
(x86_64).  Is the error due to the 64-bit OS?

I could upgrade the old server first, but my thought was to do it on the 
new server so I can test for problems before switching over. I'm 
building the old versions rather than simply installing the newest so 
that I can copy all the configurations over as-is rather than having to 
do comparisons between the old configs and the new ones to check for 
changes, new options, etc.

The old system is running courier-authlib-0.65.0 and courier-0.69.0.

Suggestions?

Thanks,

Bowie

------------------------------------------------------------------------------
_______________________________________________
courier-users mailing list
courier-users <at> lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users


Gmane