Problems compiling on Solaris 11.1

2013-12-19 Thread Willie Bollinger
I am trying to compile postfix 2.10.2 on solaris 11.1 with gcc version 
4.5.2 (GCC)  and am not having any luck I am getting the following errors



gcc -Wmissing-prototypes -Wformat -Wno-comment 
-Dstrcasecmp=fix_strcasecmp-Dstrncasecmp=fix_strncasecmp 
-DHAS_PCRE -I/usr/include/pcre -g -O -I. -DSUNOS5 -c dict_nis.c
gcc -Wmissing-prototypes -Wformat -Wno-comment 
-Dstrcasecmp=fix_strcasecmp-Dstrncasecmp=fix_strncasecmp 
-DHAS_PCRE -I/usr/include/pcre -g -O -I. -DSUNOS5 -c dict_nisplus.c

dict_nisplus.c: In function 'dict_nisplus_lookup':
dict_nisplus.c:123:5: error: 'nis_result' undeclared (first use in this 
function)
dict_nisplus.c:123:5: note: each undeclared identifier is reported only 
once for each function it appears in
dict_nisplus.c:123:17: error: 'reply' undeclared (first use in this 
function)
dict_nisplus.c:183:34: error: 'FOLLOW_LINKS' undeclared (first use in 
this function)
dict_nisplus.c:183:49: error: 'FOLLOW_PATH' undeclared (first use in 
this function)
dict_nisplus.c:189:26: error: 'NIS_SUCCESS' undeclared (first use in 
this function)
dict_nisplus.c:221:23: error: 'NIS_NOTFOUND' undeclared (first use in 
this function)
dict_nisplus.c:222:26: error: 'NIS_PARTIAL' undeclared (first use in 
this function)

*** Error code 1
make: Fatal error: Command failed for target `dict_nisplus.o'
Current working directory /usr/local/src/sol11x86_64/postfix-2.10.2/src/util
*** Error code 1
make: Fatal error: Command failed for target `update'
Current working directory /usr/local/src/sol11x86_64/postfix-2.10.2
*** Error code 1
make: Fatal error: Command failed for target `update'
willie@mail
--
--
  Willie Bollinger | Quantum Internet and Telecommunications
410-239-6920   | 2975B Manchester Rd., Manchester, MD  21102
--


Re: Problems compiling on Solaris 11.1

2013-12-19 Thread Jaco Lesch

Willie

I compile postfix as follows:

make makefiles CCARGS=-DNO_NIS -DHAS_DB -I/usr/include \
AUXLIBS=-L/usr/lib -ldb

As Solaris 11.1 do not have NIS support in it any more and -DNO_NIS 
actually does the trick here.



Regards

On 19/12/2013 11:47, Willie Bollinger wrote:
I am trying to compile postfix 2.10.2 on solaris 11.1 with gcc version 
4.5.2 (GCC)  and am not having any luck I am getting the following errors



gcc -Wmissing-prototypes -Wformat -Wno-comment 
-Dstrcasecmp=fix_strcasecmp -Dstrncasecmp=fix_strncasecmp -DHAS_PCRE 
-I/usr/include/pcre -g -O -I. -DSUNOS5 -c dict_nis.c
gcc -Wmissing-prototypes -Wformat -Wno-comment 
-Dstrcasecmp=fix_strcasecmp -Dstrncasecmp=fix_strncasecmp -DHAS_PCRE 
-I/usr/include/pcre -g -O -I. -DSUNOS5 -c dict_nisplus.c

dict_nisplus.c: In function 'dict_nisplus_lookup':
dict_nisplus.c:123:5: error: 'nis_result' undeclared (first use in 
this function)
dict_nisplus.c:123:5: note: each undeclared identifier is reported 
only once for each function it appears in
dict_nisplus.c:123:17: error: 'reply' undeclared (first use in this 
function)
dict_nisplus.c:183:34: error: 'FOLLOW_LINKS' undeclared (first use in 
this function)
dict_nisplus.c:183:49: error: 'FOLLOW_PATH' undeclared (first use in 
this function)
dict_nisplus.c:189:26: error: 'NIS_SUCCESS' undeclared (first use in 
this function)
dict_nisplus.c:221:23: error: 'NIS_NOTFOUND' undeclared (first use in 
this function)
dict_nisplus.c:222:26: error: 'NIS_PARTIAL' undeclared (first use in 
this function)

*** Error code 1
make: Fatal error: Command failed for target `dict_nisplus.o'
Current working directory 
/usr/local/src/sol11x86_64/postfix-2.10.2/src/util

*** Error code 1
make: Fatal error: Command failed for target `update'
Current working directory /usr/local/src/sol11x86_64/postfix-2.10.2
*** Error code 1
make: Fatal error: Command failed for target `update'
willie@mail


--
---
Jaco Lesch
SAIX HLS
Email: ja...@saix.net



Re: Problems compiling on Solaris 11.1

2013-12-19 Thread Willie Bollinger

Thanks

That solved the problem



--
  Willie Bollinger | Quantum Internet and Telecommunications
410-239-6920   | 2975B Manchester Rd., Manchester, MD  21102
--

On 12/19/13, 4:55 AM, Jaco Lesch wrote:

make makefiles CCARGS=-DNO_NIS -DHAS_DB -I/usr/include \
 AUXLIBS=-L/usr/lib -ldb


UTF-8 subjects not logging correctly.

2013-12-19 Thread tejas sarade
Hello,

I have enabled subject loggin in Postfix through header_checks (/^subject:/
WARN).
and syslog_facility = mail

I have observed the encoded subject appeares in log file, sometimes.
warning: subject: =?utf-8?B?QVBMIE..

From thais I can infer that subject is in UTF-8 format.
I copied the specific mail and opened with mail client and it displayed
subject in English language characters.
I checked further and there is no issue with my CentOS 5 server or the Bash
shell I am using. Even the syslog also supports UTF-8 logs.
Most of the times I need to check the loges based on the subject.
Is there any way the the logged warning subject in Postfix logs can be
displayed the way mail client does.


Re: UTF-8 subjects not logging correctly.

2013-12-19 Thread li...@rhsoft.net


Am 19.12.2013 12:19, schrieb tejas sarade:
 I have enabled subject loggin in Postfix through header_checks (/^subject:/ 
 WARN).
 and syslog_facility = mail
 
 I have observed the encoded subject appeares in log file, sometimes.
 warning: subject: =?utf-8?B?QVBMIE..

which is a correct encoding
http://www.rfc-editor.org/rfc/rfc2047.txt

 From thais I can infer that subject is in UTF-8 format

there is no UTF8 in the used characters
http://www.rfc-editor.org/rfc/rfc2047.txt

 I copied the specific mail and opened with mail client and it displayed 
 subject in English language characters.
 I checked further and there is no issue with my CentOS 5 server or the Bash 
 shell I am using. Even the syslog also
 supports UTF-8 logs

but SMTP does not support UTF8 in headers

 Most of the times I need to check the loges based on the subject.
 Is there any way the the logged warning subject in Postfix logs can be 
 displayed the way mail client does.

hardly, postfix usually does not mangle data


Re: New TLS Forward Secrecy document

2013-12-19 Thread Titanus Eramius
On Wed, 18 Dec 2013 15:15:34 -0500 (EST)
wie...@porcupine.org (Wietse Venema) wrote:

 Postfix has supported forward secrecy for TLS since version 2.2
 when the TLS patch was adopted into Postfix. Things have changed a
 lot since then, both in TLS and in the real world.
 
 Viktor wrote up a FORWARD_SECRECY_README that summarizes the Postfix
 side of things all in one place.
 
 Available now:
 http://www.porcupine.org/postfix-mirror/FORWARD_SECRECY_README.html
 
 In the next 24 hours:
 http://www.postfix.org/FORWARD_SECRECY_README.html
 
   Wietse

Wietse, Viktor
Thanks for this, it's a great help.

Cheers