Re: Compile errors on Mac "Undefined symbols for architecture x86_64: "_pcre_free_study""

2014-07-16 Thread Viktor Dukhovni
On Wed, Jul 16, 2014 at 04:49:49PM +1000, James Brown wrote: > So change to: > > AUXLIBS=?-L/usr/local/lib -llber -lresolv -L/usr/lib ? ? Something like that. Since you're using headers from /usr/local/include, you need the libpcre from /usr/local/lib. > > Is there a libpcre in /usr/lib? > >

Re: Using MySQL for virtual_users

2014-07-16 Thread Viktor Dukhovni
On Tue, Jul 15, 2014 at 07:42:16PM -0700, Michael Carter wrote: > I've tested this using postmap: > >postmap -q "te...@mydomain.org" mysql:/etc/postfix/mysql-virt-users.cf > > When I try this I get back the correct local user name: > In main.cf, I've added this file to the virtual_users line

log level for postscreen check

2014-07-16 Thread Konstantin
Hello We have a haproxy with `check` command enabled to check availability of the postfix backend. We can set different time period for the check. I am interesting is there a way how we can suppress (do not log) following rows from postscreen process? postfix/postscreen[14245]: CONNECT from [192.

Re: log level for postscreen check

2014-07-16 Thread Viktor Dukhovni
On Wed, Jul 16, 2014 at 01:26:32PM +0300, Konstantin wrote: > I am interesting is there a way how we can suppress (do not log) following > rows from postscreen process? No. Though you may be able to use filters in your syslog service. > > postfix/postscreen[14245]: CONNECT from [192.168.0.1]:3

Re: Compile errors on Mac "Undefined symbols for architecture x86_64: "_pcre_free_study""

2014-07-16 Thread Larry Stone
On Jul 16, 2014, at 2:10 AM, Viktor Dukhovni wrote: > On Wed, Jul 16, 2014 at 04:49:49PM +1000, James Brown wrote: > >> So change to: >> >> AUXLIBS=?-L/usr/local/lib -llber -lresolv -L/usr/lib ? ? > > Something like that. Since you're using headers from /usr/local/include, > you need the lib

libprce on MacOSX

2014-07-16 Thread Jim Reid
On 16 Jul 2014, at 08:10, Viktor Dukhovni wrote: > That explains it, I'm on 10.9.4, and there is no libpcre in /usr/lib. Strange. My 10.9.4 boxes have libpcre in /usr/lib. I'm fairly sure Apple put them there because I certainly didn't install them. If I had, they'd be in /usr/local/lib and I

Re: libprce on MacOSX

2014-07-16 Thread Viktor Dukhovni
On Wed, Jul 16, 2014 at 12:39:19PM +0100, Jim Reid wrote: > > That explains it, I'm on 10.9.4, and there is no libpcre in /usr/lib. > > Strange. My 10.9.4 boxes have libpcre in /usr/lib. I'm fairly sure Apple > put them there because I certainly didn't install them. If I had, they'd > be in /usr/

Re: libprce on MacOSX

2014-07-16 Thread Axel Luttgens
Le 16 juil. 2014 à 13:39, Jim Reid a écrit : > > On 16 Jul 2014, at 08:10, Viktor Dukhovni wrote: > >> That explains it, I'm on 10.9.4, and there is no libpcre in /usr/lib. > > Strange. My 10.9.4 boxes have libpcre in /usr/lib. I'm fairly sure Apple put > them there because I certainly didn't

Re: Using MySQL for virtual_users

2014-07-16 Thread Mike Carter
The file names match on my system. I hand typed them here. Any other input? Sent from my iPhone > On Jul 16, 2014, at 12:45 AM, Viktor Dukhovni > wrote: > >> On Tue, Jul 15, 2014 at 07:42:16PM -0700, Michael Carter wrote: >> >> I've tested this using postmap: >> >> postmap -q "te...@mydo

Re: Using MySQL for virtual_users

2014-07-16 Thread li...@rhsoft.net
Am 16.07.2014 15:39, schrieb Mike Carter: > The file names match on my system. I hand typed them here. > Any other input? read what you posted! "mysq-virt-users.cf" != "mysql-virt-users.cf" why don't you just use copy&paste? >> On Jul 16, 2014, at 12:45 AM, Viktor Dukhovni >> wrote: >> >>>

smtp_tls_policy_maps, secure and expired certificate

2014-07-16 Thread Sven Strickroth
Hi, I'm using smtp_tls_policy_maps = hash:/etc/postfix/tls_policy with an entry like "hs-hannover.de secure match=.fh-hannover.de". However, I'm able with postfix to deliver mails to that domain despite the fact that the certificate expired (in logs I see the following statement:) Jul 16 15:06:

Re: Using MySQL for virtual_users

2014-07-16 Thread Mike Carter
Yes, I mis-typed them here. I see that. Let's just assume that they match on my system and move beyond that as a reason. So assuming the references are correct, the files match, etc etc, what *else* should I be looking at. Thanks. Sent from my iPhone > On Jul 16, 2014, at 6:46 AM, "li...@rhso

Re: smtp_tls_policy_maps, secure and expired certificate

2014-07-16 Thread li...@rhsoft.net
Am 16.07.2014 15:48, schrieb Sven Strickroth: > I'm using smtp_tls_policy_maps = hash:/etc/postfix/tls_policy with an entry > like "hs-hannover.de secure match=.fh-hannover.de". > > However, I'm able with postfix to deliver mails to that domain despite the > fact that the certificate expired (i

Re: Using MySQL for virtual_users

2014-07-16 Thread li...@rhsoft.net
Am 16.07.2014 15:49, schrieb Mike Carter: > Yes, I mis-typed them here. I see that. Let's just assume that they match on > my system and move beyond that as a reason. > So assuming the references are correct, the files match, etc etc, what *else* > should I be looking at. nobody is interested

Re: smtp_tls_policy_maps, secure and expired certificate

2014-07-16 Thread Viktor Dukhovni
On Wed, Jul 16, 2014 at 03:48:12PM +0200, Sven Strickroth wrote: > I'm using smtp_tls_policy_maps = hash:/etc/postfix/tls_policy with an > entry like "hs-hannover.de secure match=.fh-hannover.de". > > However, I'm able with postfix to deliver mails to that domain > despite the fact that the certi

Re: smtp_tls_policy_maps, secure and expired certificate

2014-07-16 Thread Viktor Dukhovni
On Wed, Jul 16, 2014 at 03:51:41PM +0200, li...@rhsoft.net wrote: > "secure" means enforce encryption while "may" allows fallback to plain > anything above requires DANE - the archives are your friend > without dane there is no real verification possible at all This is not correct. The levels ar

Re: Using MySQL for virtual_users

2014-07-16 Thread Viktor Dukhovni
On Wed, Jul 16, 2014 at 06:49:26AM -0700, Mike Carter wrote: > Yes, I mis-typed them here. I see that. Let's just assume that > they match on my system and move beyond that as a reason. I'm afraid that would be unwise. Post the output of "postconf -n" (not retyped), and then we'll talk. Also ch

Re: Using MySQL for virtual_users

2014-07-16 Thread Michael Carter
Fair enough. Thanks Viktor. On Jul 16, 2014, at 7:12 AM, Viktor Dukhovni wrote: > On Wed, Jul 16, 2014 at 06:49:26AM -0700, Mike Carter wrote: > >> Yes, I mis-typed them here. I see that. Let's just assume that >> they match on my system and move beyond that as a reason. > > I'm afraid that wo

Re: libprce on MacOSX

2014-07-16 Thread Bill Cole
On 16 Jul 2014, at 9:26, Axel Luttgens wrote: Le 16 juil. 2014 à 13:39, Jim Reid a écrit : On 16 Jul 2014, at 08:10, Viktor Dukhovni wrote: That explains it, I'm on 10.9.4, and there is no libpcre in /usr/lib. Strange. My 10.9.4 boxes have libpcre in /usr/lib. I'm fairly sure Apple put t

Re: Compile errors on Mac "Undefined symbols for architecture x86_64: "_pcre_free_study""

2014-07-16 Thread James Brown
> On 16 Jul 2014, at 5:10 pm, Viktor Dukhovni > wrote: > > On Wed, Jul 16, 2014 at 04:49:49PM +1000, James Brown wrote: > >> So change to: >> >> AUXLIBS=?-L/usr/local/lib -llber -lresolv -L/usr/lib ? ? > > Something like that. Since you're using headers from /usr/local/include, > you need t

Compile errors on Mac: Undefined symbols for architecture x86_64: "_FIPS_md_ctx_create"

2014-07-16 Thread James Brown
When compiling on Mac OS 10.7.5 using: make -f Makefile.init makefiles \ CCARGS='-arch x86_64 -DUSE_TLS -DUSE_SASL_AUTH \ -DDEF_SERVER_SASL_TYPE=\"dovecot\" \ -DDEF_COMMAND_DIR=\"/usr/local/sbin\" \ -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" \ -DDEF_DAEMON_DIR=\"/usr/local/libexec/postfix\" \ -D

Re: Compile errors on Mac: Undefined symbols for architecture x86_64: "_FIPS_md_ctx_create"

2014-07-16 Thread Wietse Venema
James Brown: > When compiling on Mac OS 10.7.5 using: Do you you have more than one OpenSSL installed (just like PCRE)? I am leaning towards saaying "you do so at your own risk, no hand-olding will be provided". Wietse

Postfix keeps all inbound & outbound mail in queue without any error in logs!!! (?!?!)

2014-07-16 Thread XYZFounder
Hi, I am running a debian 7 server. All good. I guess after an recent generel server update (may not be linked) rsyslog and postfix stop to really be working. rsyslog could not be started and was fixed with rsyslogd -c5 so that log functionality returned. But with postfix all inbound messages

Re: Compile errors on Mac: Undefined symbols for architecture x86_64: "_FIPS_md_ctx_create"

2014-07-16 Thread Viktor Dukhovni
On Thu, Jul 17, 2014 at 11:54:36AM +1000, James Brown wrote: > make -f Makefile.init makefiles \ > CCARGS='-arch x86_64 -DUSE_TLS -DUSE_SASL_AUTH \ > -DDEF_SERVER_SASL_TYPE=\"dovecot\" \ > -DDEF_COMMAND_DIR=\"/usr/local/sbin\" \ > -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix\" \ > -DDEF_DAEMON_DIR=\"

Re: Postfix keeps all inbound & outbound mail in queue without any error in logs!!! (?!?!)

2014-07-16 Thread Viktor Dukhovni
On Thu, Jul 17, 2014 at 05:06:02AM +0200, XYZFounder wrote: > [long list of anecdotal problems] Fix logging first. If Postfix services are chrooted, make sure there is a log socket in the chroot jail or disable chroot. Once logging is working, come back with specific questions about one issue a

Re: Compile errors on Mac: Undefined symbols for architecture x86_64: "_FIPS_md_ctx_create"

2014-07-16 Thread James Brown
On 17 Jul 2014, at 1:14 pm, Viktor Dukhovni wrote: > > This is silly, the placement of "-L" options is irrelevant, only > their relative order matters. To not get confused, list all "-L" > options before all "-l" options, no point in listing > anything twice. > >AUXLIBS='-L/usr/local/lib -

Re: Compile errors on Mac: Undefined symbols for architecture x86_64: "_FIPS_md_ctx_create"

2014-07-16 Thread Viktor Dukhovni
On Thu, Jul 17, 2014 at 01:38:39PM +1000, James Brown wrote: > make command is now: > > make -f Makefile.init makefiles \ > CCARGS='-arch x86_64 -DUSE_TLS -DUSE_SASL_AUTH \ > -DDEF_SERVER_SASL_TYPE=\"dovecot\" \ > -DDEF_COMMAND_DIR=\"/usr/local/sbin\" \ > -DDEF_CONFIG_DIR=\"/usr/local/etc/postfix

Re: Postfix keeps all inbound & outbound mail in queue without any error in logs!!! (?!?!)

2014-07-16 Thread XYZFounder
logging works as said b4: https://workaround.org/ispmail/wheezy/connecting-postfix-to-the-database => all mysql works. postqueue -vv -f 2>&1 | tee /tmp/output.txt (see attachment). All mail in queue is marked with * but no delivery: THX, J PS: mail.log entries like: > Jul 17 07:15:03 gFort

Re: Compile errors on Mac: Undefined symbols for architecture x86_64: "_FIPS_md_ctx_create"

2014-07-16 Thread James Brown
On 17 Jul 2014, at 1:54 pm, Viktor Dukhovni wrote: > > On Thu, Jul 17, 2014 at 01:38:39PM +1000, James Brown wrote: > >> make command is now: >> >> make -f Makefile.init makefiles \ >> CCARGS='-arch x86_64 -DUSE_TLS -DUSE_SASL_AUTH \ >> -DDEF_SERVER_SASL_TYPE=\"dovecot\" \ >> -DDEF_COMMAND_DIR=

Re: Compile errors on Mac: Undefined symbols for architecture x86_64: "_FIPS_md_ctx_create"

2014-07-16 Thread Viktor Dukhovni
On Thu, Jul 17, 2014 at 03:22:28PM +1000, James Brown wrote: > $ locate lib/libssl > /usr/lib/libssl.0.9.7.dylib > /usr/lib/libssl.0.9.8.dylib > /usr/lib/libssl.1.0.0.dylib > /usr/lib/libssl.a > /usr/lib/libssl.dylib > /usr/local/ssl/lib/libssl.a I expected that you only had static libs in /usr/l

Postfix log analyzer tool V0.9.17 released

2014-07-16 Thread Nicolas HAHN
Hello all, I've released *Version 0.9.17 of the ELSE* (E-mail Log Search Engine) as a tar.gz archive on Sourceforge there: https://sourceforge.net/projects/x-itools/files/X-Itools%20releases/E-mail%20Log%20Search%20Engine/ There is also a *virtual machine for demonstration purpose* if you wan