postmap for db files in sub-directory now fails

2017-12-14 Thread Scott Kitterman
Some Debian users aren't thrilled about a behavior change associated with the 20170611 Berkeley DB 2 DB_CONFIG fix. Apparently [1] something like: | root@playbox01:~# postmap test/in used to work, but now there is an error: | postmap: fatal: open database test/in.db: No such file or directory

Re: ot: policyd advise

2017-12-14 Thread Zhang Huangbin
> On Dec 15, 2017, at 6:31 AM, Voytek wrote: > > Q1: in a multi line config like this, is it possibly to comment out one > line in place like so? iRedAPD works on two Postfix protocol state: RCPT, END-OF-MESSAGE. Different states have different functions. for example, greylisting plugin only wo

Re: ot: policyd advise

2017-12-14 Thread Voytek
On Fri, December 15, 2017 11:47 am, Wietse Venema wrote: > Yes. I copied the above to /tmp/main.cf and checked with 'postconf -n -c > /tmp'. > > >> Q2: is there a way to assess from maillogs? effectiveness ? what else ? >> that this deamon has ? > > Only if the server logs activity. I hve no expe

Re: How to restrict sending to certain local addresses except when sent from mail server

2017-12-14 Thread Wietse Venema
Justin Peavey: > I appreciate that the filter does not distinguish between domains. > Nonetheless, I see different filtering behavior for email destined for the > domain listed in mydomain which also have entries in /etc/aliases vs. the > domains listed as virtual domains. > > Sent from my TI

Re: ot: policyd advise

2017-12-14 Thread Wietse Venema
Voytek: > I have an 'old' Postfix 2.1 Centos 6 server, all running well, looking at > setting a more up to date server and Postfix > > old server was not installed by me, just now I've realized I have policy > deamon I was not aware of (obviously was running OK...) > > from main.cf > ... > smtpd_

Re: How to restrict sending to certain local addresses except when sent from mail server

2017-12-14 Thread Anvar Kuchkartaev
Haven't you tried postfix spf verification for your mail server with proper -all dns configuration for your domain? Anvar Kuchkartaev  an...@anvartay.com   Original Message   From: Omniver Sent: domingo, 10 de diciembre de 2017 21:07 To: postfix-users@postfix.org Subject: How to restrict sending

Re: How to restrict sending to certain local addresses except when sent from mail server

2017-12-14 Thread Justin Peavey
I appreciate that the filter does not distinguish between domains. Nonetheless, I see different filtering behavior for email destined for the domain listed in mydomain which also have entries in /etc/aliases vs. the domains listed as virtual domains. Sent from my TI-99/4A > On Dec 14, 2017,

ot: policyd advise

2017-12-14 Thread Voytek
I have an 'old' Postfix 2.1 Centos 6 server, all running well, looking at setting a more up to date server and Postfix old server was not installed by me, just now I've realized I have policy deamon I was not aware of (obviously was running OK...) from main.cf ... smtpd_recipient_restrictions =

Re: virtual_mailbox_domains

2017-12-14 Thread Emmett Culley
On 12/14/2017 10:53 AM, Viktor Dukhovni wrote: > > >> On Dec 14, 2017, at 1:44 PM, Emmett Culley >> wrote: >> >> Recipient address rejected: unverified address: Address verification in >> progress; > > http://www.postfix.org/ADDRESS_VERIFICATION_README.html > Thanks Viktor. So I set it up as

Watching the logs turn round and round

2017-12-14 Thread @lbutlr
I don't have a question, but I thought I'd share that I've found this extremely useful recently for watching the logs: tail -f /var/log/maillog | grep -v -E '(cleanup|dnsblog|postscreen|qmgr|anvil))' It narrows the log down to the data that I'm most interested in (smtp, dovecot, amazes, etc).

Re: virtual_mailbox_domains

2017-12-14 Thread Viktor Dukhovni
> On Dec 14, 2017, at 1:44 PM, Emmett Culley wrote: > > Recipient address rejected: unverified address: Address verification in > progress; http://www.postfix.org/ADDRESS_VERIFICATION_README.html -- Viktor.

Re: default_destination_recipient_limit

2017-12-14 Thread Viktor Dukhovni
> On Dec 14, 2017, at 1:41 PM, Emanuel wrote: > > I want to limit the number of recipients that can be sent from a certain > IP address. (outgoing email). The outgoing recipient limit is configured per-transport via _destination_recipient_limit. main.cf: default_desti

Re: virtual_mailbox_domains

2017-12-14 Thread Emmett Culley
Sorry, I miss typed virtual_mailbox_domains Should have been virtual_mailbox_domains = mysql:/etc/postfix/mysql-mydestination.cf Emmett On 12/14/2017 10:44 AM, Emmett Culley wrote: > Recently I've been working on upgrading to Postfix 3 and a rewrite of > web-cyradm, and so have been studying

virtual_mailbox_domains

2017-12-14 Thread Emmett Culley
Recently I've been working on upgrading to Postfix 3 and a rewrite of web-cyradm, and so have been studying the Postfix docs. It seems to me that I have been doing virtual mailboxes wrong, even though it has been working for years. For a long time I've been managing virtual domains using myd

Re: default_destination_recipient_limit

2017-12-14 Thread Emanuel
I want to limit the number of recipients that can be sent from a certain IP address. (outgoing email). Thanks. El 14/12/17 a las 15:22, Viktor Dukhovni escribió: On Dec 14, 2017, at 7:31 AM, Emanuel wrote: I currently allow to send 100 recipients per email but I would like to create an e

Re: default_destination_recipient_limit

2017-12-14 Thread Viktor Dukhovni
> On Dec 14, 2017, at 7:31 AM, Emanuel wrote: > > I currently allow to send 100 recipients per email but I would like to create > an exception so that an IP can send to 1000 recipients, is it possible? It is not entirely clear from the description whether this is about incoming or outgoing em

Re: Blocking TLD (one component access list queries)

2017-12-14 Thread Viktor Dukhovni
> On Dec 14, 2017, at 5:00 AM, Hadmut Danisch wrote: > > Sure, PCRE are possible, but I tend to avoid them, since RE are > expensive, and changing needs (afaik) a full reload of postfix, while a > mod to a database file is easier (although I agree that a RE might still > be faster than a databa

Re: Blocking TLD (one component access list queries)

2017-12-14 Thread Noel Jones
On 12/14/2017 4:00 AM, Hadmut Danisch wrote: > Sure, PCRE are possible, but I tend to avoid them, since RE are > expensive, and changing needs (afaik) a full reload of postfix, while a > mod to a database file is easier (although I agree that a RE might still > be faster than a database file lookup

Re: default_destination_recipient_limit

2017-12-14 Thread Benny Pedersen
Emanuel skrev den 2017-12-14 13:31: I currently allow to send 100 recipients per email but I would like to create an exception so that an IP can send to 1000 recipients, is it possible? https://www.howtoforge.com/community/threads/limit-outgoing-emails-postfwd.71328/ same problem solved ? pl

default_destination_recipient_limit

2017-12-14 Thread Emanuel
Hello, I currently allow to send 100 recipients per email but I would like to create an exception so that an IP can send to 1000 recipients, is it possible? how??? Regards.!! -- envialosimple.com Emanuel Gonzalez IT / Departamento Emails emanuel.gonza...@don

Re: How to restrict sending to certain local addresses except when sent from mail server

2017-12-14 Thread Wietse Venema
Justin Peavey: > > Thanks for the reply, unfortunately the approach doesn?t seem to work for me. > It appears that that the regardless of the smtp_recipient_restrictions > setting, that any addresses listed in /etc/aliases addressed to $mydomain is > bypassing any blocking/filtering. Is this

Re: Blocking TLD (one component access list queries)

2017-12-14 Thread Hadmut Danisch
On 12.12.2017 09:00, Anvar Kuchkartaev wrote: > If IP address and domain names continuously changes they are probably fake > domain names and emails sent by randomly exploited servers. No, not that way. That's what I used to see 5 or 10 years ago as the main source of spam. Nowadays I find mos