Re: NOW: permit action logging -- WAS: permit_dnswl_client logging

2012-02-27 Thread Stan Hoeppner
On 2/26/2012 4:55 PM, Wietse Venema wrote: > Stan Hoeppner: >> On 2/26/2012 2:15 PM, Wietse Venema wrote: >>> Stan Hoeppner: I can't seem to find any logging of permit_dnswl_client actions. Maybe I just don't know what to grep for. I would like to be able to track such data. >>> >>

Re: permit_dnswl_client logging

2012-02-27 Thread Stan Hoeppner
On 2/27/2012 1:12 AM, Stan Hoeppner wrote: > On 2/26/2012 4:50 PM, /dev/rob0 wrote: > >> A "warn_if_permit" similar to "warn_if_reject" might make more sense >> and be more generic. I agree with your reasoning that the feature >> would be useful. >> >> "warn_if_reject" negates the following rest

Re: postfix mysql lookup table has some kind of caching?

2012-02-27 Thread Bányász Botond
I dont think that the problem cames from transport map 1-element caching, because the destination is variable, we have millions of email addresses. I made some tests with mysql general logging enabled and i found that when mysql lookup table checks a transport for a destination it does a lookup f

queue file write error

2012-02-27 Thread Stefan Jakobs
Hello list, I received a message from my mail-daemon: From: Mail Delivery System To: Postmaster Subject: Postfix SMTP server: errors from ahost Transcript of session follows. Out: 220 myserver.example.com ESMTP Postfix In: EHLO ahost.example.com ... In: DATA Out: 354 End data with . Out: 451

Re: queue file write error

2012-02-27 Thread Wietse Venema
Stefan Jakobs: > What makes me wonder is, that I can't find a hint about the 'queue file write > error' in the logfile. From the log it looks as if there wasn't any problem > with the message a all. Is that the intended behavior or are there some > missing log lines? Postfix logs a timeout erro

Re: AW: forcing MX lookups

2012-02-27 Thread Ed W
On 21/02/2012 19:26, Wietse Venema wrote: Ed W: As the OP suggested, a desirable solution would be for the MTA to only check the various maps to decide a domain is local *after* having done a DNS check to see if the MX record points "to this machine". ie the end goal is if the MX record points

Re: permit_dnswl_client logging

2012-02-27 Thread Noel Jones
On 2/27/2012 2:15 AM, Stan Hoeppner wrote: > On 2/27/2012 1:12 AM, Stan Hoeppner wrote: >> On 2/26/2012 4:50 PM, /dev/rob0 wrote: >> >>> A "warn_if_permit" similar to "warn_if_reject" might make more sense >>> and be more generic. I agree with your reasoning that the feature >>> would be useful.

Re: queue file write error (solved)

2012-02-27 Thread Stefan Jakobs
Am Montag, 27. Februar 2012, 13:03:46 schrieb Wietse Venema: > Stefan Jakobs: > > What makes me wonder is, that I can't find a hint about the 'queue file > > write error' in the logfile. From the log it looks as if there wasn't any > > problem with the message a all. Is that the intended behavior o

Protectin email distribution lists

2012-02-27 Thread Selcuk Yazar
Hi , Can we allow for one mail to send email our internal distribution list ? I mean, in the insider file, can we wrtite down an e-mail address rather than domain name. thanks in advance. -- Selçuk YAZAR

Re: permit_dnswl_client logging

2012-02-27 Thread Wietse Venema
Noel Jones: > No, of course not. You perform the restriction twice; the warn_if_ > is log-only, the second is live. You can do this now with > warn_if_reject reject_rbl_client list.dnswl.org to log the hit. > > > I think I prefer Wietse's implementation idea. > > Yes, very useful general soluti

Re: postfix mysql lookup table has some kind of caching?

2012-02-27 Thread Wietse Venema
B?ny?sz Botond: > I dont think that the problem cames from transport map 1-element > caching, because the destination is variable, we have millions of > email addresses. The trivial-rewrite server has a 1-element cache for the wild-card lookup result, and the trivial-rewrite client has a 1-element

Re: Protectin email distribution lists

2012-02-27 Thread /dev/rob0
On Mon, Feb 27, 2012 at 03:33:48PM +0200, Selcuk Yazar wrote: > Can we allow for one mail to send email our internal > distribution list ? http://www.postfix.org/RESTRICTION_CLASS_README.html#internal > I mean, in the insider file, can we wrtite down an e-mail > address rather than domain name.

Domain keys for postfix mail server

2012-02-27 Thread KingT
I installed and configured email server with postfix +dovecot and with virtual users and virtual domain. And now I want to setup a domain keys for my email server. Can I use opendkim ? And if have other solutions, please help me or provide that solution. Thank all.

Re: Domain keys for postfix mail server

2012-02-27 Thread Noel Jones
On 2/27/2012 12:41 PM, KingT wrote: > I installed and configured email server with postfix +dovecot and > with virtual users and virtual domain. > > > > And now I want to setup a domain keys for my email server. > > > > Can I use opendkim ? OpenDKIM works great with postfix. For best res

RE: Domain keys for postfix mail server

2012-02-27 Thread KingT
Thanks your reply Noel Jones , I am finding a some document to config opendkim work with postfix, have you document or tutorial ? -Original Message- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of Noel Jones Sent: Tuesday, February 28, 2012 1:51

RE: Domain keys for postfix mail server

2012-02-27 Thread Murray S. Kucherawy
> -Original Message- > From: owner-postfix-us...@postfix.org > [mailto:owner-postfix-us...@postfix.org] On Behalf Of KingT > Sent: Monday, February 27, 2012 7:29 PM > To: 'postfix users' > Cc: 'Noel Jones' > Subject: RE: Domain keys for postfix mail server > > Thanks your reply Noel Jones

sender_canonical_maps and from=<> address

2012-02-27 Thread santosh malavade
Hi, I am trying to change the envelope sender appearing in Non Delivery Reports as from=<> using sender_canonical_maps hash file /etc/postfix/sender_canonical * *A7B2219E26: from=<>, size=86475, nrcpt=1 (queue active) [root@host log]# cat /etc/postfix/sender_canonical <> mail.ad..