Re: Process mail before Palais processing?

2015-02-12 Thread LuKreme
On Feb 12, 2015, at 10:06, Wietse Venema wie...@porcupine.org wrote: LuKreme: I have a account that is managed via sql and has an alias in mysql_virtual_alias_maps.cf I would like to do some processing on emails before they are forwarded along to the alias, but I don?t see a way to

Problem compiling 3.0 on Solaris 11 with solaris studio cc

2015-02-12 Thread Jean-Christophe Delaye
Hi, I'm trying to compile postfix 3.0 on Solaris 11(.2) with Solaris Studio(12.4) cc. It works fine with last postfix-2.11.3 (same host/OS and cc). With 3.0, it seems makefiles passed the following options to cc -UUSE_DYNAMIC_LIBS -DDEF_SHLIB_DIR=\no\ -UUSE_DYNAMIC_MAPS -Wmissing-prototypes

rpmbuild and shared=yes

2015-02-12 Thread li...@rhsoft.net
has somebody an idea for the chicken egg problem that postfix-install in the %installof a RPM-spec can't load the shared libraries which are built but not installed at that moment? + sh postfix-install -non-interactive

Re: rpmbuild and shared=yes

2015-02-12 Thread li...@rhsoft.net
well, set LD_LIBRARY_PATH does the trick shoudn't postfix-install do that on it's own? %install LD_LIBRARY_PATH=$(pwd)/lib sh postfix-install -package -non-interactive install_root=%{buildroot} config_directory=%{postfix_config_dir} meta_directory=%{postfix_daemon_dir}

Re: spamass-milter

2015-02-12 Thread Noel Jones
On 2/12/2015 2:26 PM, LuKreme wrote: I believe I have the spams-milter working with postfix main.cf milter_default_action = accept smtpd_milters = unix:/var/run/spamass-milter.sock The spams-milter is running: spamd32770 0.2 3.3 82164 67496 ?? S 1:14PM 0:11.22 spamd

cyrus imapd, lmtp, postfix and case sensitivity in domain names

2015-02-12 Thread Carl Brewer
Last question! (I hope ...) I also posted this on the cyrus mailing list but more aimed at a proper fix. I have a problem with cyrus lmtp delivery and case sensitive domain names(!). This gets through : u...@domain.foo This does not : u...@domain.foo with lmtp_downcase_rcpt: 1 set in

Re: cyrus imapd, lmtp, postfix and case sensitivity in domain names

2015-02-12 Thread Noel Jones
On 2/12/2015 4:33 PM, Carl Brewer wrote: Last question! (I hope ...) I also posted this on the cyrus mailing list but more aimed at a proper fix. I have a problem with cyrus lmtp delivery and case sensitive domain names(!). This gets through : u...@domain.foo This does not :

Re: spamass-milter

2015-02-12 Thread li...@rhsoft.net
Am 12.02.2015 um 23:56 schrieb LuKreme: On 12 Feb 2015, at 13:42 , Noel Jones njo...@megan.vbhcs.org wrote: spamass-milter uses the standard spamassassin spamc/spamd interface. I believe you can enable additional spamass-milter logging on its startup command line. There are startup flags you

Re: spamass-milter

2015-02-12 Thread li...@rhsoft.net
Am 12.02.2015 um 21:26 schrieb LuKreme: I believe I have the spams-milter working with postfix main.cf milter_default_action = accept smtpd_milters = unix:/var/run/spamass-milter.sock Two questions. Wouldn’t the log show the milter instead of spamd? no And now that this is working, how do

spamass-milter

2015-02-12 Thread LuKreme
I believe I have the spams-milter working with postfix main.cf milter_default_action = accept smtpd_milters = unix:/var/run/spamass-milter.sock The spams-milter is running: spamd32770 0.2 3.3 82164 67496 ?? S 1:14PM 0:11.22 spamd child (perl) root 32769 0.0 3.0 73972

Re: cyrus imapd, lmtp, postfix and case sensitivity in domain names

2015-02-12 Thread LuKreme
On 12 Feb 2015, at 15:33 , Carl Brewer c...@bl.echidna.id.au wrote: Last question! (I hope ...) I also posted this on the cyrus mailing list but more aimed at a proper fix. I have a problem with cyrus lmtp delivery and case sensitive domain names(!). This gets through : u...@domain.foo

Re: spamass-milter

2015-02-12 Thread Wietse Venema
Two questions. Wouldn't the log show the milter instead of spamd? spamass-milter is merely a protocol adapter. The real work is done elsewhere. http://linux.die.net/man/1/spamass-milter And now that this is working, how do I reject incoming messages based on their score (for example, say I

Re: spamass-milter

2015-02-12 Thread LuKreme
On 12 Feb 2015, at 16:08 , Noel Jones njo...@megan.vbhcs.org wrote: On 2/12/2015 4:56 PM, LuKreme wrote: On 12 Feb 2015, at 13:42 , Noel Jones njo...@megan.vbhcs.org wrote: spamass-milter uses the standard spamassassin spamc/spamd interface. I believe you can enable additional spamass-milter

Re: spamass-milter

2015-02-12 Thread Noel Jones
On 2/12/2015 4:56 PM, LuKreme wrote: On 12 Feb 2015, at 13:42 , Noel Jones njo...@megan.vbhcs.org wrote: spamass-milter uses the standard spamassassin spamc/spamd interface. I believe you can enable additional spamass-milter logging on its startup command line. There are startup flags you

Re: cyrus imapd, lmtp, postfix and case sensitivity in domain names

2015-02-12 Thread Carl Brewer
On 13/02/2015 10:01 AM, Noel Jones wrote: You need to fix this in cyrus. I don't use cyrus, but surely this is some sort of configuration issue. Older versions of postfix could do a gross hack where a wildcard regexp would lowercase the input. This is probably what you've found on the web.

Re: rpmbuild and shared=yes

2015-02-12 Thread Peter
On 02/12/2015 11:20 PM, li...@rhsoft.net wrote: has somebody an idea for the chicken egg problem that postfix-install in the %installof a RPM-spec can't load the shared libraries which are built but not installed at that moment? I changed it to make non-interactive-package and it works just

Re: cyrus imapd, lmtp, postfix and case sensitivity in domain names

2015-02-12 Thread Viktor Dukhovni
On Fri, Feb 13, 2015 at 09:33:52AM +1100, Carl Brewer wrote: Feb 13 08:36:33 postfix/lmtp[8436]: CBA4A1B3D4A3: to=c...@aboc.com.au, relay=rollcage3.bl.echidna.id.au[/var/imap/socket/lmtp], delay=0, delays=0/0/0/0, dsn=2.1.5, status=deliverable (250 2.1.5 ok) As a work-around: The Postfix

Overriding virtual_alias_maps in master.cf

2015-02-12 Thread Andre Dalle
Hey all, Is it supported to override virtual_alias_maps in master.cf; rather than using receive_override_options to disable all address rewriting? I want to do some alias expansion prior to content_filter, and a different alias expansion on re-injection. Right now I have to do all

Re: rpmbuild and shared=yes

2015-02-12 Thread Wietse Venema
li...@rhsoft.net: [ Charset windows-1252 converted... ] Am 12.02.2015 um 14:12 schrieb Wietse Venema: li...@rhsoft.net: well, set LD_LIBRARY_PATH does the trick shoudn't postfix-install do that on it's own? You MUST NOT invoke postfix-install directly. You MUST use make install as

Re: rpmbuild and shared=yes

2015-02-12 Thread li...@rhsoft.net
Am 12.02.2015 um 15:32 schrieb Wietse Venema: Wietse Venema: li...@rhsoft.net: [ Charset windows-1252 converted... ] Am 12.02.2015 um 14:12 schrieb Wietse Venema: li...@rhsoft.net: well, set LD_LIBRARY_PATH does the trick shoudn't postfix-install do that on it's own? You MUST NOT invoke

Re: rpmbuild and shared=yes

2015-02-12 Thread Wietse Venema
li...@rhsoft.net: Instead of sh postfix-install name=value use make install name=value i did that as you can see on bottom if the message you responded to make install -non-interactive install_root=%{buildroot} config_directory=%{postfix_config_dir} meta_directory=%{postfix_daemon_dir}

Re: rpmbuild and shared=yes

2015-02-12 Thread Wietse Venema
Wietse Venema: li...@rhsoft.net: [ Charset windows-1252 converted... ] Am 12.02.2015 um 14:12 schrieb Wietse Venema: li...@rhsoft.net: well, set LD_LIBRARY_PATH does the trick shoudn't postfix-install do that on it's own? You MUST NOT invoke postfix-install directly. You

Re: rpmbuild and shared=yes

2015-02-12 Thread Andrew Ho
This is the tricks for rpmbuild. postconf relies on %{postfix_lib_dir}libpostfix-global.so for postfix-install. - - postfix.spec -- mkdir -p $RPM_BUILD_ROOT%{postfix_lib_dir} if [ ! -f %{postfix_lib_dir}/libpostfix-global.so ] ; then mkdir -p %{postfix_lib_dir} install lib/libpostfix-global.so

Re: rpmbuild and shared=yes

2015-02-12 Thread li...@rhsoft.net
Am 12.02.2015 um 14:12 schrieb Wietse Venema: li...@rhsoft.net: well, set LD_LIBRARY_PATH does the trick shoudn't postfix-install do that on it's own? You MUST NOT invoke postfix-install directly. You MUST use make install as described in the INSTALL instructions besides that SPEC is

Re: rpmbuild and shared=yes

2015-02-12 Thread Wietse Venema
li...@rhsoft.net: well, set LD_LIBRARY_PATH does the trick shoudn't postfix-install do that on it's own? You MUST NOT invoke postfix-install directly. You MUST use make install as described in the INSTALL instructions. Wietse

Re: Problem compiling 3.0 on Solaris 11 with solaris studio cc

2015-02-12 Thread Wietse Venema
Jean-Christophe Delaye: Hi, I'm trying to compile postfix 3.0 on Solaris 11(.2) with Solaris Studio(12.4) cc. It works fine with last postfix-2.11.3 (same host/OS and cc). With 3.0, it seems makefiles passed the following options to cc -UUSE_DYNAMIC_LIBS -DDEF_SHLIB_DIR=\no\

Re: rpmbuild and shared=yes

2015-02-12 Thread Wietse Venema
li...@rhsoft.net: Am 12.02.2015 um 17:08 schrieb Wietse Venema: li...@rhsoft.net: according to the subject a You MUST use make non-interactive-package would have saved a lot of noise including the completly unnecessary flames about rpm crap without *by all respect* no clue about how it

Re: Problem compiling 3.0 on Solaris 11 with solaris studio cc

2015-02-12 Thread Jean-Christophe Delaye
On 12/02/15 14:19, Wietse Venema wrote: Jean-Christophe Delaye: Hi, I'm trying to compile postfix 3.0 on Solaris 11(.2) with Solaris Studio(12.4) cc. It works fine with last postfix-2.11.3 (same host/OS and cc). With 3.0, it seems makefiles passed the following options to cc

Re: rpmbuild and shared=yes

2015-02-12 Thread li...@rhsoft.net
Am 12.02.2015 um 17:13 schrieb Viktor Dukhovni: On Thu, Feb 12, 2015 at 04:58:39PM +0100, li...@rhsoft.net wrote: that below works like a charm: make non-interactive-package install_root=%{buildroot} config_directory=%{postfix_config_dir} meta_directory=%{postfix_daemon_dir}

Re: rpmbuild and shared=yes

2015-02-12 Thread li...@rhsoft.net
Am 12.02.2015 um 17:18 schrieb Wietse Venema: li...@rhsoft.net: Am 12.02.2015 um 17:08 schrieb Wietse Venema: li...@rhsoft.net: according to the subject a You MUST use make non-interactive-package would have saved a lot of noise including the completly unnecessary flames about rpm crap

Re: Problem compiling 3.0 on Solaris 11 with solaris studio cc

2015-02-12 Thread Viktor Dukhovni
On Thu, Feb 12, 2015 at 12:30:46PM +0100, Jean-Christophe Delaye wrote: Hi, I'm trying to compile postfix 3.0 on Solaris 11(.2) with Solaris Studio(12.4) cc. On Solaris, I always built Postfix with gcc from /opt/sfw or a suitable private build of GCC. The Sun compilers are not widely used,

Re: Problem compiling 3.0 on Solaris 11 with solaris studio cc

2015-02-12 Thread Wietse Venema
Jean-Christophe Delaye: milter.c, line 546: non-constant initializer involving a cast milter.c, line 547: non-constant initializer involving a cast milter.c, line 548: non-constant initializer involving a cast milter.c, line 552: non-constant initializer involving a cast milter.c, line 553:

Re: rpmbuild and shared=yes

2015-02-12 Thread li...@rhsoft.net
Am 12.02.2015 um 15:50 schrieb Wietse Venema: li...@rhsoft.net: Instead of sh postfix-install name=value use make install name=value i did that as you can see on bottom if the message you responded to make install -non-interactive install_root=%{buildroot}

Re: rpmbuild and shared=yes

2015-02-12 Thread Wietse Venema
li...@rhsoft.net: No, I said: make install name=value without rpmbuild crap. I support make install only. I do not support rcpmbuild crap. interesting attitude in context of subject rpmbuild and shared=yes Please stick to the supported interfaces: make makefiles name=value...

Re: rpmbuild and shared=yes

2015-02-12 Thread li...@rhsoft.net
the most likely reason is make install versus make upgrade which *both* don't apply for a rpmbuild because there is no business for interactive and no business for non-interactive version, for upgrades would make install just work non-interactive problem gone # make install (interactive

Re: rpmbuild and shared=yes

2015-02-12 Thread li...@rhsoft.net
Am 12.02.2015 um 16:10 schrieb Wietse Venema: li...@rhsoft.net: No, I said: make install name=value without rpmbuild crap. I support make install only. I do not support rcpmbuild crap. interesting attitude in context of subject rpmbuild and shared=yes Please stick to the supported

Re: rpmbuild and shared=yes

2015-02-12 Thread Wietse Venema
Andrew Ho: sh postfix-install -non-interactive \ THIS IS NOT SUPPORTED. USE MAKE INSTALL. Wietse

Re: rpmbuild and shared=yes

2015-02-12 Thread Wietse Venema
li...@rhsoft.net: the most likely reason is make install versus make upgrade which *both* don't apply for a rpmbuild because there is no business for interactive and no business for non-interactive version, for upgrades would make install just work non-interactive problem gone # make

Re: Tracking down a mail forwarding loop

2015-02-12 Thread Noel Jones
On 2/12/2015 12:43 AM, LuKreme wrote: On Feb 11, 2015, at 6:20 PM, Wietse Venema wie...@porcupine.org wrote: LuKreme: Received: from thenewestsecret.net (unknown [170.130.246.215]) by mail.covisp.net (Postfix) with ESMTP id 00E42212DC0 for *bob*@covisp.net; Tue, 10 Feb 2015

Re: rpmbuild and shared=yes

2015-02-12 Thread li...@rhsoft.net
Am 12.02.2015 um 16:21 schrieb Wietse Venema: li...@rhsoft.net: the most likely reason is make install versus make upgrade which *both* don't apply for a rpmbuild because there is no business for interactive and no business for non-interactive version, for upgrades would make install just work

Re: rpmbuild and shared=yes

2015-02-12 Thread Wietse Venema
li...@rhsoft.net: [ Charset windows-1252 converted... ] Am 12.02.2015 um 16:21 schrieb Wietse Venema: li...@rhsoft.net: the most likely reason is make install versus make upgrade which *both* don't apply for a rpmbuild because there is no business for interactive and no business for

Re: rpmbuild and shared=yes

2015-02-12 Thread Viktor Dukhovni
On Thu, Feb 12, 2015 at 04:29:37PM +0100, li...@rhsoft.net wrote: The only difference between install and upgrade is that one is interactive and the other is not. That is, install is an upgrade from zero with all the answers pre-determined make install -non-interactive simply ends in

Re: Process mail before Palais processing?

2015-02-12 Thread Wietse Venema
LuKreme: I have a account that is managed via sql and has an alias in mysql_virtual_alias_maps.cf I would like to do some processing on emails before they are forwarded along to the alias, but I don?t see a way to interject some process (say, procmail or spam or clamav) in that part of

SOLVED Re: Problem compiling 3.0 on Solaris 11 with solaris studio cc

2015-02-12 Thread Jean-Christophe Delaye
On 12/02/15 17:26, Viktor Dukhovni wrote: On Thu, Feb 12, 2015 at 12:30:46PM +0100, Jean-Christophe Delaye wrote: Hi, I'm trying to compile postfix 3.0 on Solaris 11(.2) with Solaris Studio(12.4) cc. On Solaris, I always built Postfix with gcc from /opt/sfw or a suitable private build of

Re: rpmbuild and shared=yes

2015-02-12 Thread Viktor Dukhovni
On Thu, Feb 12, 2015 at 10:40:47AM -0500, Wietse Venema wrote: Where did I tell you to make install -non-interactive? As I explained above, use make upgrade you want a non-interactive install. I believe he does not want an install

Re: rpmbuild and shared=yes

2015-02-12 Thread li...@rhsoft.net
Am 12.02.2015 um 16:43 schrieb Viktor Dukhovni: On Thu, Feb 12, 2015 at 10:40:47AM -0500, Wietse Venema wrote: Where did I tell you to make install -non-interactive? As I explained above, use make upgrade you want a non-interactive

Re: rpmbuild and shared=yes

2015-02-12 Thread li...@rhsoft.net
Am 12.02.2015 um 17:01 schrieb Wietse Venema: Viktor Dukhovni: On Thu, Feb 12, 2015 at 10:40:47AM -0500, Wietse Venema wrote: Where did I tell you to make install -non-interactive? As I explained above, use make upgrade you want a

Re: rpmbuild and shared=yes

2015-02-12 Thread Wietse Venema
Viktor Dukhovni: On Thu, Feb 12, 2015 at 10:40:47AM -0500, Wietse Venema wrote: Where did I tell you to make install -non-interactive? As I explained above, use make upgrade you want a non-interactive install. I believe he does

Re: rpmbuild and shared=yes

2015-02-12 Thread Wietse Venema
li...@rhsoft.net: according to the subject a You MUST use make non-interactive-package would have saved a lot of noise including the completly unnecessary flames about rpm crap without *by all respect* no clue about how it works and that the macros are replaced before any bit of postfix

Re: rpmbuild and shared=yes

2015-02-12 Thread li...@rhsoft.net
Am 12.02.2015 um 17:08 schrieb Wietse Venema: li...@rhsoft.net: according to the subject a You MUST use make non-interactive-package would have saved a lot of noise including the completly unnecessary flames about rpm crap without *by all respect* no clue about how it works and that the

Re: rpmbuild and shared=yes

2015-02-12 Thread Viktor Dukhovni
On Thu, Feb 12, 2015 at 04:58:39PM +0100, li...@rhsoft.net wrote: that below works like a charm: make non-interactive-package install_root=%{buildroot} config_directory=%{postfix_config_dir} meta_directory=%{postfix_daemon_dir} daemon_directory=%{postfix_daemon_dir}

Re: rpmbuild and shared=yes

2015-02-12 Thread Wietse Venema
li...@rhsoft.net: Am 12.02.2015 um 17:18 schrieb Wietse Venema: li...@rhsoft.net: Am 12.02.2015 um 17:08 schrieb Wietse Venema: li...@rhsoft.net: according to the subject a You MUST use make non-interactive-package would have saved a lot of noise including the completly unnecessary

Re: Tracking down a mail forwarding loop

2015-02-12 Thread LuKreme
On 12 Feb 2015, at 08:25 , Noel Jones njo...@megan.vbhcs.org wrote: On 2/12/2015 12:43 AM, LuKreme wrote: On Feb 11, 2015, at 6:20 PM, Wietse Venema wie...@porcupine.org wrote: LuKreme: Received: from thenewestsecret.net (unknown [170.130.246.215]) by mail.covisp.net (Postfix) with

Re: rpmbuild and shared=yes

2015-02-12 Thread li...@rhsoft.net
Am 12.02.2015 um 17:33 schrieb Wietse Venema: li...@rhsoft.net: Am 12.02.2015 um 17:18 schrieb Wietse Venema: li...@rhsoft.net: Am 12.02.2015 um 17:08 schrieb Wietse Venema: li...@rhsoft.net: according to the subject a You MUST use make non-interactive-package would have saved a lot of

Process mail before Palais processing?

2015-02-12 Thread LuKreme
I have a account that is managed via sql and has an alias in mysql_virtual_alias_maps.cf I would like to do some processing on emails before they are forwarded along to the alias, but I don’t see a way to interject some process (say, procmail or spam or clamav) in that part of the process.

THREAD CLOSED: (was: rpmbuild and shared=yes)

2015-02-12 Thread Viktor Dukhovni
On Thu, Feb 12, 2015 at 05:47:40PM +0100, li...@rhsoft.net wrote: well, you are not able to admit a mistake, so be it Let him who is without sin... Without a clear statement what you want (build installable package) is ridiculous ... Not everyone is going to read between the lines. I tend