Re: postfix message sent/received hook

2015-02-15 Thread Viktor Dukhovni
On Sun, Feb 15, 2015 at 09:03:17PM -0700, Sherman Boyd wrote: > > * Define "incoming" mail. > > * Define "outgoing" mail. > > Incoming: from outside via SMTP At what point in processing to you want the ligths to blink? * Beginning of mail transaction? * Queue file creation? * Comp

Re: postfix message sent/received hook

2015-02-15 Thread Sherman Boyd
> * Define "incoming" mail. > * Define "outgoing" mail. Incoming: from outside via SMTP Outgoing: to outside via SMTP Best regards, Sherman Boyd On Sun, Feb 15, 2015 at 10:10 AM, Viktor Dukhovni < postfix-us...@dukhovni.org> wrote: > On Sun, Feb 15, 2015 at 09:29:50AM -0700, Sherman Boyd wr

Re: postfix message sent/received hook

2015-02-15 Thread Noel Jones
On 2/15/2015 10:29 AM, Sherman Boyd wrote: > Hello. I'm working on a little ARM server that runs Postfix. On > incoming or outgoing email I want to trigger an animation on an > attached ring of LEDs. My first attempt was to follow the approach > here (content filter re-injecting with sendmail) :

Re: Local delivery continues after code 550

2015-02-15 Thread Wietse Venema
Viktor Dukhovni: > On Sun, Feb 15, 2015 at 03:44:45PM -0500, Wietse Venema wrote: > > > Viktor Dukhovni: > > > On Sun, Feb 15, 2015 at 02:08:58PM -0500, Wietse Venema wrote: > > > > > > > Excellent. We narrowed down the problem to the VSTREAM_GETC() call, > > > > established why the call failed,

Re: Local delivery continues after code 550

2015-02-15 Thread Viktor Dukhovni
On Sun, Feb 15, 2015 at 03:44:45PM -0500, Wietse Venema wrote: > Viktor Dukhovni: > > On Sun, Feb 15, 2015 at 02:08:58PM -0500, Wietse Venema wrote: > > > > > Excellent. We narrowed down the problem to the VSTREAM_GETC() call, > > > established why the call failed, and I added logging in so that

Re: Local delivery continues after code 550

2015-02-15 Thread Wietse Venema
Viktor Dukhovni: > On Sun, Feb 15, 2015 at 02:08:58PM -0500, Wietse Venema wrote: > > > Excellent. We narrowed down the problem to the VSTREAM_GETC() call, > > established why the call failed, and I added logging in so that > > this will be easier to diagnose in the future. > > Should there be an

Re: detecting encryption for outgoing mail

2015-02-15 Thread LuKreme
> On 15 Feb 2015, at 07:56 , John wrote: > > On 2/15/2015 9:40 AM, Mauricio Tavares wrote: >> On Sun, Feb 15, 2015 at 9:12 AM, John wrote: >>> A couple of the servers I support are medical offices, and for patient >>> confidentiality reasons they need to send email out encrypted. >>> After a l

Re: Local delivery continues after code 550

2015-02-15 Thread Viktor Dukhovni
On Sun, Feb 15, 2015 at 02:08:58PM -0500, Wietse Venema wrote: > Excellent. We narrowed down the problem to the VSTREAM_GETC() call, > established why the call failed, and I added logging in so that > this will be easier to diagnose in the future. Should there be an explicit flush after the attr_

Re: Local delivery continues after code 550

2015-02-15 Thread Wietse Venema
Mats Luspa: > Hello! > > I've now added your logging code. > > That code confirms that it's problems to read socket according to > logging below ("inside mail_command_client" is my own logging added to > confirm that I used the correct binary. Thank you for your efforts > again): > > 2015-

Re: postfix message sent/received hook

2015-02-15 Thread Viktor Dukhovni
On Sun, Feb 15, 2015 at 09:29:50AM -0700, Sherman Boyd wrote: > Hello. I'm working on a little ARM server that runs Postfix. On incoming > or outgoing email I want to trigger an animation on an attached ring of > LEDs. My first attempt was to follow the approach here (content filter > re-inject

Re: Local delivery continues after code 550

2015-02-15 Thread Mats Luspa
Hello! I've now added your logging code. That code confirms that it's problems to read socket according to logging below ("inside mail_command_client" is my own logging added to confirm that I used the correct binary. Thank you for your efforts again): 2015-02-15T17:51:31+02:00 outgoingm

postfix message sent/received hook

2015-02-15 Thread Sherman Boyd
Hello. I'm working on a little ARM server that runs Postfix. On incoming or outgoing email I want to trigger an animation on an attached ring of LEDs. My first attempt was to follow the approach here (content filter re-injecting with sendmail) : http://blog.thecodingmachine.com/content/triggeri

Re: detecting encryption for outgoing mail

2015-02-15 Thread John
On 2/15/2015 9:40 AM, Mauricio Tavares wrote: On Sun, Feb 15, 2015 at 9:12 AM, John wrote: A couple of the servers I support are medical offices, and for patient confidentiality reasons they need to send email out encrypted. After a lot of discussion they have come to the conclusion that in or

Re: Next Dumb question - mynetworks - so now I think I know

2015-02-15 Thread John
Set /mynetworks/ to 127.0.01/8and ::1,removed /permit_mynetworks/ from relay and recipient restrictions, but had to add to relay_restriction in amavis setup in master. everything seems to work. -- John Allen KLaM -- definition: Camel, a horse designed by

Re: detecting encryption for outgoing mail

2015-02-15 Thread Mauricio Tavares
On Sun, Feb 15, 2015 at 9:12 AM, John wrote: > A couple of the servers I support are medical offices, and for patient > confidentiality reasons they need to send email out encrypted. > After a lot of discussion they have come to the conclusion that in order to > avoid accidentally sending confide

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

2015-02-15 Thread Wietse Venema
pe...@ixp.jp: > On Feb/12.11:28:57, Wietse Venema wrote: > > Jean-Christophe Delaye: > > > "milter.c", line 546: non-constant initializer involving a cast > > > 545 static ATTR_OVER_TIME time_table[] = { > > 546 7 + VAR_MILT_CONN_TIME, DEF_MILT_CONN_TIME, 0, 1, 0, > > ... > > And

detecting encryption for outgoing mail

2015-02-15 Thread John
A couple of the servers I support are medical offices, and for patient confidentiality reasons they need to send email out encrypted. After a lot of discussion they have come to the conclusion that in order to avoid accidentally sending confidential data unencrypted, all email must be encrypted

Re: Next Dumb question - mynetworks

2015-02-15 Thread li...@rhsoft.net
Am 15.02.2015 um 13:37 schrieb John: I think I am asking the wrong question. What would be the effects of setting /mynetworks/ to 127.0.0.1/8 and ::1/128? I assume that I would need these in order to allow inter-process communication on the server. Could I remove the /permit_mynetworks/ stanza

Re: Next Dumb question - mynetworks

2015-02-15 Thread John
I think I am asking the wrong question. What would be the effects of setting /mynetworks/ to 127.0.0.1/8 and ::1/128? I assume that I would need these in order to allow inter-process communication on the server. Could I remove the /permit_mynetworks/ stanza in my restriction classes in main?