Re: Eliminate unnecessary LDAP lookups, by specifying a domain filter but how ?

2013-05-15 Thread Viktor Dukhovni
On Wed, May 15, 2013 at 09:02:24AM -0400, Wietse Venema wrote: > Selcuk Yazar: > > we are using Posfix - OpenLdap structure, in postfix's performance tuning > > tips > > > > Eliminate unnecessary LDAP lookups, by specifying a domain filter > > > > how can do that ? i looked up ldap_table but i

Re: Postfix not speaking with amavis?

2013-05-15 Thread Wietse Venema
Viktor Dukhovni: > On Wed, May 15, 2013 at 06:37:14PM -0500, Stan Hoeppner wrote: > > > You're making incorrect assumptions about the usefulness of software > > based solely on revision numbers, of which you apparently have little or > > no understanding. You must be a very wealthy man, as you mo

Re: Postfix not speaking with amavis?

2013-05-15 Thread Viktor Dukhovni
On Wed, May 15, 2013 at 06:37:14PM -0500, Stan Hoeppner wrote: > You're making incorrect assumptions about the usefulness of software > based solely on revision numbers, of which you apparently have little or > no understanding. You must be a very wealthy man, as you most certainly > buy a new ca

Re: Postfix not speaking with amavis?

2013-05-15 Thread Stan Hoeppner
On 5/15/2013 5:08 PM, Postfix wrote: > Thanks, I am misunderstanding how postfix handles mail. I had assumed > incoming mail is put into the hold folder, then from there any filtering > software like amavis or mailscanner would pick it up scan it then pass it > back to postfix where it would then

RE: Postfix not speaking with amavis?

2013-05-15 Thread Quanah Gibson-Mount
--On Wednesday, May 15, 2013 3:08 PM -0700 Postfix wrote: Thanks, I am misunderstanding how postfix handles mail. I had assumed incoming mail is put into the hold folder, then from there any filtering software like amavis or mailscanner would pick it up scan it then pass it back to postfix whe

RE: Postfix not speaking with amavis?

2013-05-15 Thread Postfix
Wietse Venema: > Postfix: > > The passwd file is world readable. > > > > The question is, what happens to mail after it is put into the > > postfix/hold folder? > > There is no message in the queue. Postfix NEVER ACCEPTED THE MAIL. >Oops, if the message came from a content filter, there will b

Re: Postfix not speaking with amavis?

2013-05-15 Thread Wietse Venema
Wietse Venema: > Postfix: > > The passwd file is world readable. > > > > The question is, what happens to mail after it is put into the postfix/hold > > folder? > > There is no message in the queue. Postfix NEVER ACCEPTED THE MAIL. Oops, if the message came from a content filter, there will be a

Re: Policy server returns

2013-05-15 Thread Wietse Venema
Rod K: > As I understand it Postfix only allows a single line return from a > policy server. > > e.g. this is valid: > > REJECT Because I want to\n\n > > but this is not: > > PREPEND X-MYHEADER: this is my added header\nDUNNO\n\n As documented, the protocol takes one result. > If that is the

Policy server returns

2013-05-15 Thread Rod K
As I understand it Postfix only allows a single line return from a policy server. e.g. this is valid: REJECT Because I want to\n\n but this is not: PREPEND X-MYHEADER: this is my added header\nDUNNO\n\n If that is the case I want to clarify that a PREPEND or REDIRECT reply will result as a

Re: custom content_filter script: set a specific error code and reject the message

2013-05-15 Thread Wietse Venema
nik600: > #!/bin/bash > EX_TEMPFAIL=75 > EX_UNAVAILABLE=69 > echo Mailbox is over size limit; exit $EX_UNAVAILABLE; ... > I only want to change the error-code to 552 5.2.2 (this should be the > correct error code, wright?), is possible to do that? As documented in the pipe(8) manpage: DIAGNOS

Re: Postfix not speaking with amavis?

2013-05-15 Thread Wietse Venema
Postfix: > The passwd file is world readable. > > The question is, what happens to mail after it is put into the postfix/hold > folder? There is no message in the queue. Postfix NEVER ACCEPTED THE MAIL. Wietse

Re: Postfix not speaking with amavis?

2013-05-15 Thread /dev/rob0
You are playing guessing games with the author of Postfix. Please don't waste his time like that. Also, he has been fixing your top- posting. Please stop doing that, also. Thank you. > Postfix: > > postfix/sendmail[29314]: fatal: no login name found for user ID > > 1095 > > Wietse: > > Some pr

RE: Postfix not speaking with amavis?

2013-05-15 Thread Postfix
The passwd file is world readable. The question is, what happens to mail after it is put into the postfix/hold folder? I have removed amavis as an option from master and main .cf Postqueue -f does nothing that I can see, there are no errors in the log file, all outgoing and incoming mail stays in

Re: custom content_filter script: set a specific error code and reject the message

2013-05-15 Thread Jeroen Geilman
On 05/15/2013 07:06 PM, nik600 wrote: dear all i'm using a content_filter param in master.cf to make some custom checks on mail content and recently also on mailbox quota size. In know that exists some patch to handle that (vda or others) but i need to handler this featur

Postfix configuration

2013-05-15 Thread robyone
I state that are impractical to Ubuntu and Linux. I need to configure a mail server on Ubuntu with Webmin and Postfix, but I can not figure out how to do the following very simple things. My requirement is to create a mail server with one or more domains, and one or more e-mail accounts for each do

custom content_filter script: set a specific error code and reject the message

2013-05-15 Thread nik600
dear all i'm using a content_filter param in master.cf to make some custom checks on mail content and recently also on mailbox quota size. In know that exists some patch to handle that (vda or others) but i need to handler this feature without any impact to the postfix-standard installation, so i

Re: Postfix not speaking with amavis?

2013-05-15 Thread Wietse Venema
Postfix: > postfix/sendmail[29314]: fatal: no login name found for user ID 1095 Wietse: > Some process with UID=1095 invoked the Postfix sendmail command. Postfix: > I assume this is why my mail is not being delivered, but how does a process > use a non existing user id? Perhaps the Postfix send

RE: Postfix not speaking with amavis?

2013-05-15 Thread Postfix
I assume this is why my mail is not being delivered, but how does a process use a non existing user id? There are no files on the system with that id, and no processes that I see running with that user id. Unless amavis or postfix is coming hardwired with this user id, how can I possibly find what

Re: Postfix not speaking with amavis?

2013-05-15 Thread Wietse Venema
Postfix: > I have a feeling it has something to do with this: > > postfix/sendmail[29314]: fatal: no login name found for user ID 1095 Some process with UID=1095 invoked the Postfix sendmail command. > Why is postfix trying to use a non existing user? I did not compile it with Wrong question.

RE: Postfix not speaking with amavis?

2013-05-15 Thread Postfix
I have a feeling it has something to do with this: postfix/sendmail[29314]: fatal: no login name found for user ID 1095 Why is postfix trying to use a non existing user? I did not compile it with any preset users and I do have the postfix user and group, where is it getting that user id from?

Re: Eliminate unnecessary LDAP lookups, by specifying a domain filter but how ?

2013-05-15 Thread Wietse Venema
Selcuk Yazar: > we are using Posfix - OpenLdap structure, in postfix's performance tuning > tips > > Eliminate unnecessary LDAP lookups, by specifying a domain filter > > how can do that ? i looked up ldap_table but i can't find correct section > about it I can't give a "ready to cut and paste

Eliminate unnecessary LDAP lookups, by specifying a domain filter but how ?

2013-05-15 Thread Selcuk Yazar
Hi, we are using Posfix - OpenLdap structure, in postfix's performance tuning tips Eliminate unnecessary LDAP lookups, by specifying a domain filter how can do that ? i looked up ldap_table but i can't find correct section about it thanks in advance -- Selçuk YAZAR

Re: Understanding postfix log

2013-05-15 Thread Victor d'Agostino
Thanks for the help Victor 2013/5/15 Wietse Venema > Martin Sch?tte: > > > What does "conn_use", "delays=a/b/c/d" and "dsn"means > > > > http://www.postfix.org/CONNECTION_CACHE_README.html#safety > > > > http://www.postfix.org/postconf.5.html#delay_logging_resolution_limit > > > > http://www.p

Re: Understanding postfix log

2013-05-15 Thread Wietse Venema
Martin Sch?tte: > > What does "conn_use", "delays=a/b/c/d" and "dsn"means > > http://www.postfix.org/CONNECTION_CACHE_README.html#safety > > http://www.postfix.org/postconf.5.html#delay_logging_resolution_limit > > http://www.postfix.org/DSN_README.html See RFC 3463 for the meaning of the numbe

Re: Understanding postfix log

2013-05-15 Thread Martin Schütte
> What does "conn_use", "delays=a/b/c/d" and "dsn"means http://www.postfix.org/CONNECTION_CACHE_README.html#safety http://www.postfix.org/postconf.5.html#delay_logging_resolution_limit http://www.postfix.org/DSN_README.html -- Martin

Understanding postfix log

2013-05-15 Thread Victor d'Agostino
Hello, Can someone explains to me (or give a link) in this log May 15 10:58:13 LXLYOPFD11 postfix/smtp[12232]: B7B1B4800DC: to=< x...@gmail.com>, relay=10.220.8.20[10.220.8.20]:25, conn_use=7, delay=1991, delays=0.06/1990/0/0.66, dsn=2.0.0, status=sent (250 2.0.0 OK 1368608293 fe7si6820218wib.77