Using Postfix for teaching

2014-07-15 Thread Stefan Foerster
Hello world, every summer, I'm volunteering to give a programming class at a local university. The goal is to teach CS students about real world code, i.e. making them aware of things like resource managament (prevent runaway fork(2) calls) under heavy load or the need for good documentation.

Re: Proposed patch: (underlinking? ld.gold)

2014-07-15 Thread Eray Aslan
On Tue, Jul 15, 2014 at 02:31:59AM +, Viktor Dukhovni wrote: Actually, AUXLIBS should come before SYSLIBS, so the correct patch is: diff --git a/makedefs b/makedefs Thanks. Works for me. Any chance of using ${CC} for the linking stage as well? Perhaps something along the lines of: ---

Re: Using Postfix for teaching

2014-07-15 Thread Viktor Dukhovni
On Tue, Jul 15, 2014 at 08:31:26AM +0200, Stefan Foerster wrote: Question: Are there any legal requirements with regard to the Postfix license that I need to be aware of? Are there any limitations when using Postifx in an academic environment? You won't get any legal advice on this list.

Re: Proposed patch: (underlinking? ld.gold)

2014-07-15 Thread Viktor Dukhovni
On Tue, Jul 15, 2014 at 06:36:44AM +, Eray Aslan wrote: On Tue, Jul 15, 2014 at 02:31:59AM +, Viktor Dukhovni wrote: Actually, AUXLIBS should come before SYSLIBS, so the correct patch is: diff --git a/makedefs b/makedefs Thanks. Works for me. Glad to hear. The missing

Re: Experimental TLS auth fallback code

2014-07-15 Thread Eray Aslan
On Tue, Jul 15, 2014 at 04:42:32AM +, Viktor Dukhovni wrote: smtp_tls_fallback_level (default: empty) Optional fallback levels for authenticated TLS levels. Nice. I am guessing the motivation is making dane easier to deploy, especially for early adaptors, by decreasing

Re: Experimental TLS auth fallback code

2014-07-15 Thread Viktor Dukhovni
On Tue, Jul 15, 2014 at 07:17:47AM +, Eray Aslan wrote: Nice. I am guessing the motivation is making dane easier to deploy, especially for early adopters, by decreasing the fall out in case the receiver domain makes a mistake in his/her settings. Thanks. Something like that, but

Re: Proposed patch: (underlinking? ld.gold)

2014-07-15 Thread Eray Aslan
On Tue, Jul 15, 2014 at 07:15:38AM +, Viktor Dukhovni wrote: We need a compiler that is known to support the requisite options, so this is not clear. Since we're only using gcc for linking, if it is present, it is a reasonable choice. The reason to use ${CC} is if per-chance gss is not

Re: Proposed patch: (underlinking? ld.gold)

2014-07-15 Thread Wietse Venema
Viktor Dukhovni: On Tue, Jul 15, 2014 at 01:29:22AM +, Viktor Dukhovni wrote: Right, you're building with dynamicmaps=no, but SHLIB_SYSLIBS variable was not set quite right, see patch below. Fine. I also took the liberty of adding the RPATH to the shared library and plugin build

Re: Proposed patch: (underlinking? ld.gold)

2014-07-15 Thread Viktor Dukhovni
On Tue, Jul 15, 2014 at 06:46:01AM -0400, Wietse Venema wrote: I also took the liberty of adding the RPATH to the shared library and plugin build command-lines. What problem does this solve? Perhaps none. Technically most of the libraries and all the plugins depend on libutil which

Re: Proposed patch: (underlinking? ld.gold)

2014-07-15 Thread Viktor Dukhovni
On Tue, Jul 15, 2014 at 10:07:30AM +, Eray Aslan wrote: On Tue, Jul 15, 2014 at 07:15:38AM +, Viktor Dukhovni wrote: We need a compiler that is known to support the requisite options, so this is not clear. Since we're only using gcc for linking, if it is present, it is a

Re: Proposed patch: (underlinking? ld.gold)

2014-07-15 Thread Wietse Venema
Viktor Dukhovni: On Tue, Jul 15, 2014 at 06:46:01AM -0400, Wietse Venema wrote: I also took the liberty of adding the RPATH to the shared library and plugin build command-lines. What problem does this solve? Perhaps none. Technically most of the libraries and all the

Sender transport settings not override default transport

2014-07-15 Thread info
Hi all, I'm facing with a strange problem with my Postfix machine. I have some different IP addresses and dovecot as po3-before-smtp authentication system. I can login to postfix using userna...@mydomain.com + password and send emails using default smtp transport (these emails are sent through the

OT: specify relay server in mutt or settings to be done before mutt could work

2014-07-15 Thread Roger Goh
I have got the firewall rules permitted from our RHEL 5.x RHEL 6.x servers to our SMTP relay server (it runs on RHEL 5.8). In the past, I recall I have a server that I could just issue mutt command below it will send email out via the relay server at that site: mutt -s Test mail -a

Postfix SMTPUTF8 support (unicode email addresses)

2014-07-15 Thread Wietse Venema
Proudly presenting Postfix SMTPUTF8 support! Below is text from the RELEASE_NOTES file for postfix-2.12-20140715, to be uploaded later today. Wietse Major changes with snapshot 20140715 Support for Internationalized Email, also known as EAI

Re: Proposed patch: (underlinking? ld.gold)

2014-07-15 Thread Wietse Venema
. I tried s/'gcc -shared/'${CC-gcc} -shared/ on FreeBSD9 and got build errors. Unfortunately, there is no time to fix errors right before the postfix-2.12-20140715 release. Wietse

Re: _sasl_set_path not found error

2014-07-15 Thread Michael Carter
Thanks for your insight, Viktor. There was a mismatch of sasl libraries. After re-installing the latest SASL2 libs, the build completed successfully. However, now postdrop and postqueue are giving this error: reddwarf:~ mikec$ postdrop dyld: Library not loaded: /libsasl2.dylib Referenced from:

Re: _sasl_set_path not found error

2014-07-15 Thread Viktor Dukhovni
On Tue, Jul 15, 2014 at 12:15:19PM -0700, Michael Carter wrote: reddwarf:~ mikec$ otool -L /usr/local/lib/libsasl2.dylib /usr/local/lib/libsasl2.dylib: /libsasl2.dylib (compatibility version 3.0.0, current version 3.0.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0,

Re: _sasl_set_path not found error

2014-07-15 Thread Quanah Gibson-Mount
--On Wednesday, July 16, 2014 1:25 AM + Viktor Dukhovni postfix-us...@dukhovni.org wrote: On Tue, Jul 15, 2014 at 12:15:19PM -0700, Michael Carter wrote: reddwarf:~ mikec$ otool -L /usr/local/lib/libsasl2.dylib /usr/local/lib/libsasl2.dylib: /libsasl2.dylib (compatibility version

Using MySQL for virtual_users

2014-07-15 Thread Michael Carter
Hello all, I'm trying to use MySQL for temporary/throwaway address management for one of my hosted domains. I've set up MySQL so that it returns a local user name when it finds a match. I've tested this using postmap: postmap -q te...@mydomain.org mysql:/etc/postfix/mysql-virt-users.cf When

Re: _sasl_set_path not found error

2014-07-15 Thread Michael Carter
Thanks, Quanah. On Jul 15, 2014, at 5:58 PM, Quanah Gibson-Mount qua...@zimbra.com wrote: --On Wednesday, July 16, 2014 1:25 AM + Viktor Dukhovni postfix-us...@dukhovni.org wrote: On Tue, Jul 15, 2014 at 12:15:19PM -0700, Michael Carter wrote: reddwarf:~ mikec$ otool -L