Re: postfix after queue content filter

2014-03-19 Thread Tim Prepscius
I'm looking through the docs of sendmail, seeing how I can get it to send to a specific port. But not seeing it. Am I looking in the wrong place? -tim On 3/19/14, Lewin Bormann der.mess...@yahoo.com wrote: It seems that the local delivery (pickup?) uses the content filter which it shouldn't,

Re: postfix after queue content filter

2014-03-19 Thread Tim Prepscius
with this scenario? http://www.postfix.org/FILTER_README.html -tim On 3/19/14, li...@rhsoft.net li...@rhsoft.net wrote: as lonf you are talking about pickup there is no port involved at all and no smtp/smtpd setting is relevant because it's just not SMTP Am 19.03.2014 20:49, schrieb Tim

Re: postfix after queue content filter

2014-03-19 Thread Tim Prepscius
to the queue, etc. -tim On 3/19/14, li...@rhsoft.net li...@rhsoft.net wrote: Am 19.03.2014 20:59, schrieb Tim Prepscius: so let's say I wanted to do what Lewin said, have normal mail on 25, and then special non filtered mail (mail that has already gone through the filter) on some other port, let's

postfix after queue content filter

2014-03-18 Thread Tim Prepscius
Greetings, I'm having troubles setting up the postfix after queue content filter. http://www.postfix.org/FILTER_README.html In a nutshell, the filter works correctly, however the sendmail command re-inserts the mail into the queue, and it hits the content filter again. (which in turn re-inserts

Re: Save mails into custom DB

2013-10-20 Thread Tim Prepscius
search for my name on this mailing list I'm doing about the same thing.. It turns out you can probably use most of the java code you wrote for james. Unfortunately pipe will not be enough to catch the outgoing mail. You will need to write a filter. But a first cut can be a bash script which

Re: on send call command

2013-09-24 Thread Tim Prepscius
Ok I have two questions. 1. Does always_bcc modify the original message? 2. Could I somehow plug in to whatever is queueing the message to disk? -tim On 9/24/13, Noel Jones njo...@megan.vbhcs.org wrote: On 9/23/2013 11:08 PM, Tim Prepscius wrote: I need to save the original, of all

Re: on send call command

2013-09-24 Thread Tim Prepscius
Ah.. I think the http://www.postfix.org/FILTER_README.html is what I need -- perhaps -- I'll find out. Thank you for all the pointers so far, -tim On 9/24/13, Wietse Venema wie...@porcupine.org wrote: Tim Prepscius: Ok I have two questions. 1. Does always_bcc modify the original message

configuration of virtual_domains

2013-09-23 Thread Tim Prepscius
Hey there, So I'm continuing to configuration postfix. I'm having some problems with virtual domains. The goal of the virtual domains is to enumerate the domains which I'm ok with receiving mail. So in my main.cf file I have: virtual_mailbox_domains = hash:/etc/postfix/config/virtual_domains

Re: configuration of virtual_domains

2013-09-23 Thread Tim Prepscius
Thank you for this. 1 configuration down! ;-) -tim On 9/23/13, Viktor Dukhovni postfix-us...@dukhovni.org wrote: On Mon, Sep 23, 2013 at 04:58:07PM -0400, Tim Prepscius wrote: I'm having some problems with virtual domains. The goal of the virtual domains is to enumerate the domains which

piping command stdout to disk

2013-09-23 Thread Tim Prepscius
Hey, Thank again for the help on the previous configuration issue. Ok, so now I'm looking to revise my: main.cf: javapipe_destination_recipient_limit = 1 virtual_transport = javapipe master.cf: javapipe unix - n n - - pipe user=postfix-user flags=DRhuX

Re: piping command stdout to disk

2013-09-23 Thread Tim Prepscius
Ok, I will do as you suggest. I have one more question for today, I'll start another thread. -tim On 9/23/13, Viktor Dukhovni postfix-us...@dukhovni.org wrote: On Mon, Sep 23, 2013 at 05:37:27PM -0400, Tim Prepscius wrote: I'd like to pipe the stdout to a log file. Can I do this? javapipe

on send call command

2013-09-23 Thread Tim Prepscius
Hey, Again, thank you very much for the previous configuration questions. So, at the moment, when a mail is received it correctly spawns the java process and does whatever it needs to do. I would also like to hook this same process in when a send event occurs. So: Bob talks to SMTP, sends

Re: on send call command

2013-09-23 Thread Tim Prepscius
I *do* want the mail to be sent. I just want to record exactly what it looks like before it gets sent out. -tim On 9/23/13, Tim Prepscius timprepsc...@gmail.com wrote: Hey, Again, thank you very much for the previous configuration questions. So, at the moment, when a mail is received

Re: on send call command

2013-09-23 Thread Tim Prepscius
Umm, I'm looking for something more canonical. I want to get exactly what will be sent over the network, right before it is sent, or when it is queued. -tim On 9/23/13, Wietse Venema wie...@porcupine.org wrote: Tim Prepscius: Hey, Again, thank you very much for the previous configuration

Re: on send call command

2013-09-23 Thread Tim Prepscius
-Id: 3ckn624d0mzj...@spike.porcupine.org From: wie...@porcupine.org (Wietse Venema) Sender: owner-postfix-us...@postfix.org Is there a way? -tim On 9/23/13, Wietse Venema wie...@porcupine.org wrote: Tim Prepscius: Umm, I'm looking for something more canonical. I want to get exactly what

Re: on send call command

2013-09-23 Thread Tim Prepscius
/13, /dev/rob0 r...@gmx.co.uk wrote: On Mon, Sep 23, 2013 at 10:18:42PM -0400, Tim Prepscius wrote: On 9/23/13, Wietse Venema wie...@porcupine.org wrote: Tim Prepscius: Umm, I'm looking for something more canonical. I want to get exactly what will be sent over the network, right before

Re: on send call command

2013-09-23 Thread Tim Prepscius
logging would most likely be a kludge. On a side note, are you encrypting the queue files? -tim On 9/23/13, Noel Jones njo...@megan.vbhcs.org wrote: On 9/23/2013 9:18 PM, Tim Prepscius wrote: No, I don't mean network dump. I mean the full mime-message. With all the headers that have been

postfix configuration to a generic handler

2013-09-15 Thread Tim Prepscius
Hello, This has probably been answered in some thread, however I'm having a hard time finding it. I'm reading through the documentation, and it is not clear how I would fashion a configuration. I would like to run postfix in the following fashion: 1. post fix receives mail from

Re: postfix configuration to a generic handler

2013-09-15 Thread Tim Prepscius
wie...@porcupine.org wrote: Tim Prepscius: Hello, This has probably been answered in some thread, however I'm having a hard time finding it. I'm reading through the documentation, and it is not clear how I would fashion a configuration. I would like to run postfix in the following fashion

Re: postfix configuration to a generic handler

2013-09-15 Thread Tim Prepscius
= pcre:/etc/postfix/virtual_domains.pcre ... this postfix is great lol. the man pages are really intimidating though. lol. I really appreciate the advice, -tim On 9/15/13, Wietse Venema wie...@porcupine.org wrote: Tim Prepscius: oh wow, this worked, first time too. jeeze.. that's awesome