Re: Writing an after-queue content filter in php

2009-09-10 Thread Thomas Gelf
Wietse Venema wrote: > This is an output buffering problem. You need to flush output > after each reply, perhaps by calling the flush() function. Good catch, I guess this could most likely be his problem! -- mail: tho...@gelf.net web: http://thomas.gelf.net/

Re: Writing an after-queue content filter in php

2009-09-10 Thread Thomas Gelf
Mathias Tausig wrote: > I want to write an after-queue content filter for my postfix > installation which is invoked by spawn (according to the FILTER_README > from postfix.org). > > My problem is, that the input/output part simply does not work. I am > sending a "220 localhost SMTP foo" to STDOUT

Re: Postfix DKIM

2009-09-09 Thread Thomas Gelf
t is needed to folks starting to use > DKIM. Actually, at least, i needed that progress (reading RFCs) ;; I did so. I've entirely read RFC 4871, 5617, 5672, many others and also current drafts regarding DKIM deployments. I can confirm that the answer to his question is not to be found in any

Re: need to add custom header parameter/value to postfix logging.

2009-08-12 Thread Thomas Gelf
Noel Jones wrote: > The entire header (up to a sanity limit) is logged; no further action is > necessary. Great, thanks again!

Re: need to add custom header parameter/value to postfix logging.

2009-08-12 Thread Thomas Gelf
Noel Jones wrote: > To log an existing header, use the header_checks WARN action. > http://www.postfix.org/header_checks.5.html Thank you! > The log entry would look something like: > Aug 12 10:29:59 mgate2 postfix/cleanup[29258]: 7C773797ADF: warning: > header X-Info-Messageid: l6oL1rHPRUyklkQzd

Re: need to add custom header parameter/value to postfix logging.

2009-08-12 Thread Thomas Gelf
Thomas Gelf schrieb: > If I didn't missunderstand him he already has those X-Info-MessageID > headers in his mail headers, what he wants is Postfix to do is writing > them to syslog. That's what happens if you're at phone while writing :-/ It should read: "...alrea

Re: need to add custom header parameter/value to postfix logging.

2009-08-12 Thread Thomas Gelf
hose X-Info-MessageID headers in his mail headers, what he wants is Postfix to do is writing them to syslog. While this would probably be pretty easy with Amavis, I have no idea if and how he could do so using Postfix only. Best regards, Thomas Gelf

Re: how to have amavisd-new dkimproxy and implemented in master.cf and main.cf

2009-08-10 Thread Thomas Gelf
http://www.google.com http://www.altavista.com/ http://www.bing.com http://www.yahoo.com http://en.wikipedia.org/wiki/Web_search_engine fake...@fakessh.eu wrote: > how to have amavisd-new dkimproxy , and implemented > in master.cf and main.cf

Re: Alternative to syslog?

2009-08-05 Thread Thomas Gelf
specifying an alternative to > syslog. Is there any way to do this? You should keep syslog, there are many reasons why it is better than "just a file". But replace your syslogd with syslog-ng or rsyslog, and then write logs for your parser to a pipe. Best regards, Thomas Gelf

Re: Reverse DNS requirement

2009-08-05 Thread Thomas Gelf
LuKreme wrote: > On Aug 4, 2009, at 3:42, Thomas Gelf wrote: > >> the person who did not correctly set up the network is to be blamed, >> if you have equipment acting as MTA it should be configured the right >> way, otherwise use a relay server > > SHOULD be b

Re: Reverse DNS requirement

2009-08-04 Thread Thomas Gelf
brian moore wrote: > There is always the "AOL Rule". Yeah, we are sometimes also using AOL as an example, even if where I live nearly nobody is using it... > (Hotmail and Gmail have similar rules, I just don't know where they > spell them out.) Hotmail: http://postmaster.msn.com/Guidelines.aspx

Re: Reverse DNS requirement

2009-08-04 Thread Thomas Gelf
ite is behaving wrong, you are just enforcing MTAs to respect a small subset of current standards. Regards, Thomas Gelf

Re: Reverse DNS requirement

2009-08-03 Thread Thomas Gelf
meet missconfigured hosts, and be prepared to add exceptions to your config (Hash file, DB, whatever). Many public entities are running badly configured systems - they'll NOT fix them and your customers will insist on receiving their mail. Therefore you will need a "whitelist"-feature. Best regards, Thomas Gelf

Re: what is ESMTP (Nemesis)

2009-07-31 Thread Thomas Gelf
Charles Marcus wrote: > But seriously... there is nothing stopping anyone else from customizing > their banner to show the same thing, right? Sure. You should keep "ESTMP" in your banner - the rest is up to you. Add > smtpd_banner = I think ESMTP is a prehistorical protocol to your main.cd to re

Re: Many SQL Lookups on outbounding mails

2009-07-23 Thread Thomas Gelf
Clunk Werclick wrote: > Thank you Thomas. I stick with Mysql and worry if I ever have to set up > a server so big it fails. If that happens I have lots of £$£ and pay > someone else to do it whilst I sit on beach sipping wine. Once that happens: let me know! I'll join you at the beach and configur

Re: Many SQL Lookups on outbounding mails

2009-07-23 Thread Thomas Gelf
Clunk Werclick wrote: > That is very reassuring Thomas, thank you. > > Now I don't know if I should stay with SQL or drop to maps ? It is > easier to configure with SQL from a web based front end - but to get SQL > to dump to flat files and Postmap is also only a few Perl lines. What is > a fool

Re: Many SQL Lookups on outbounding mails

2009-07-23 Thread Thomas Gelf
but that's mostly as of disaster recovery and failover reasons - you could handle similar traffic also on a single host (using recent server hardware). A certain percentage of queries could of course be avoided if Postfix where optimized for DB usage. As we know it isn't - this design choice however keeps it flexible and simple. Best regards, Thomas Gelf

Re: Verisign Cert

2009-07-15 Thread Thomas Gelf
I assume you're using this certificate for TLS, so the answer is NO, no single mails will be encrypted - TLS is "only" there to allow MTA's to encrypt their transport layer. If no restrictions are configured this happens automagically if both endpoints support TLS. Best

Re: safe etrn

2009-07-09 Thread Thomas Gelf
ith no clear answers. ATRN/ODMR is afaik not provided by Postfix, you could give a quick look at http://plonk.de/sw/odmr/ - however I never tried it. Regards, Thomas Gelf