Filtering by country

2017-10-15 Thread Anvar Kuchkartaev
Is it possible to filter out logins by country (I would like to limit dovecot instance users to log in only from specific countries)?‎‎ Anvar Kuchkartaev  an...@anvartay.com 

Re: Filtering by country

2017-10-15 Thread Gary
For a global filter, that is filter all accounts, I use the data provided by ip2location. I put the CIDRs for all the countries where I don't plan on sending or retrieving mail in the ipfw firewall. Block all mail ports other than 25. Noye by not blocking 25, you can still receive email indepen

Re: Newbie question...

2017-10-15 Thread SH Development
I see you haven’t received an answer. Sorry people here don’t seem to have time or inclination to answer basic questions. I’ve tried. You’re better to search elsewhere. Ethon > On Oct 11, 2017, at 12:17 PM, Michael Segel > wrote: > > Hi, > > I’ve downloa

Re: Filtering by country

2017-10-15 Thread Aki Tuomi
Another good alternative is to use auth_policy_server along with Weakforced (https://github.com/PowerDNS/weakforced) to do this filtering. It has GeoIP support, and since dovecot does auth policy lookup before and after user authentication, you can set some cos attribute in the user's account an

Re: Newbie question...

2017-10-15 Thread Aki Tuomi
Here is a simple template you can use as quick start example, and what you can expand later on, feel free to adapt your needs mail_home=/home/vmail/%Lu mail_location=sdbox:~/Mail mail_uid = vmail mail_gid = vmail passdb { driver = static args = password=pass } ssl=yes ssl_cert= On October

Re: Newbie question...

2017-10-15 Thread SH Development
I DID offer my help privately. And I have attempted on NUMEROUS occasions to contract somebody to help with ZERO response. So, you’ll excuse me if I have an attitude. Ethon > On Oct 15, 2017, at 11:27 PM, Aki Tuomi wrote: > > Here is a simple template you can use as quick start example, and

Re: Newbie question...

2017-10-15 Thread Ruben Safir
On 10/16/2017 12:32 AM, SH Development wrote: > I DID offer my help privately. that is pretty much worthless as it creates no record to benefit others in the future. Bad form and it is inappropriate list behavior.

Re: Newbie question...

2017-10-15 Thread SH Development
I agonize for long periods of time (usually weeks) before I resort to posting on the dovecot or postfix list when I can’t seem to get around a problem. Particularly in situations where I need help with basic understanding of some things. At least privately, those who are willing to help, and t

Re: Setting up replication - First steps...

2017-10-15 Thread Aki Tuomi
Some answers in between. On 07.12.2016 06:21, SH Development wrote: > Just had my first (non-Dovecot) server failure due to dried out caps on the > motherboard. Got me to thinking about my single-point-of-failure mail > server. Currently running Dovecot and Postfix with no issues, but want to

Re: Trash plugin unexpected results

2017-10-15 Thread Aki Tuomi
Does indeed sound bit strange, will have to try replicate this to see what happens. Aki On 13.10.2017 23:37, Stephan Herker wrote: > Just wondering if anyone has seen this behavior or if there are some > documents that would let me know the limitations of the trash plugin.  > I don't think I'll

Re: Locking Errors

2017-10-15 Thread Aki Tuomi
On 12.10.2017 16:47, List wrote: > We recently upgraded to version 2.2.10-8 on Centos 7 (from 2.2.10-7) and > immediately started experiencing errors in the log file that look like this: > > Error: Broken file /mail/user/Maildir/dovecot-uidlist line 891: Invalid data: > Error: Timeout (180s) whi

Re: Trash plugin unexpected results

2017-10-15 Thread Aki Tuomi
Trash plugin won't delete messages from your folders if the deletion would not give enough space to start with, and in your case removing the attachment would have still left the user over quota, so trash plugin did not take action. Oct 07 17:33:13 lmtp(31543, 1...@testdo.com): Debug: trash plugin