Trying to NOT locally deliver emails

2018-01-03 Thread huret deffgok
Hi list, My Postfix 3.2.4 server is not a MX for domainB. domainB is not in virtual_mailbox_domains. it is a MX for domainA which is in virtual_mailbox_domains. I have in my ldap some users with: mailAlternateAddress=user@domainB my virtual_alias_maps ldap query filter is: (|(mail=%s)(mailAlter

Re: Postfix as Relay for Exchange, User overquota

2018-01-03 Thread Matus UHLAR - fantomas
On 02.01.18 19:59, stefan novak wrote: We are using the reject_unverified_recipient in combination with smtp transport-table to submit the E-mail back to the exchange Server. With our dovecot backends we can use the dovecot quota service in combination with the check_policy_service that Mails fro

Re: SENDEr-ACCESS exceptions

2018-01-03 Thread
On 2 Jan 2018, at 10:19, James B. Byrne byrn...@harte-lyne.ca> wrote: > My researches into the reputation of constantcontact.com does not > inspire confidence and tends to support the original decision. Yep, they are spammer scum, one of those companies were (can't say un) subscribing is certain

Re: Postfix as Relay for Exchange, User overquota

2018-01-03 Thread Viktor Dukhovni
On Wed, Jan 03, 2018 at 02:42:58PM +0100, Matus UHLAR - fantomas wrote: > On 02.01.18 19:59, stefan novak wrote: > > We are using the reject_unverified_recipient in combination with smtp > > transport-table to submit the E-mail back to the exchange Server. > > With our dovecot backends we can use t

Re: Trying to NOT locally deliver emails

2018-01-03 Thread Viktor Dukhovni
> On Jan 3, 2018, at 8:28 AM, huret deffgok wrote: > > My Postfix 3.2.4 server is not a MX for domainB. > domainB is not in virtual_mailbox_domains. > > it is a MX for domainA which is in virtual_mailbox_domains. > > I have in my ldap some users with: > mailAlternateAddress=user@domainB That

Re: Trying to NOT locally deliver emails

2018-01-03 Thread huret deffgok
On Wednesday, January 3, 2018, Viktor Dukhovni wrote: > > >> On Jan 3, 2018, at 8:28 AM, huret deffgok wrote: >> >> My Postfix 3.2.4 server is not a MX for domainB. >> domainB is not in virtual_mailbox_domains. >> >> it is a MX for domainA which is in virtual_mailbox_domains. >> >> I have in my l

Re: Trying to NOT locally deliver emails

2018-01-03 Thread Viktor Dukhovni
> On Jan 3, 2018, at 10:07 AM, huret deffgok wrote: > > Sorry for being imprecise. I'm in the process of being an MX for domainB, > so I've added those domainB adresses to the LDAP (and already used by > other apps than postfix) and while waiting for the definitive transition > I need to reject

Re: Trying to NOT locally deliver emails

2018-01-03 Thread huret deffgok
To be more precise, with the temporary filter I've added, if a user has an address user@domainB, all his other aliases (mailAlternateAdress) will be ignored whatever the destination domain is. Hence I'm trying to make postfix dont do any virtual lookup if the email is destinated to @domainB. Do yo

ot: MySQL config/tuning advice

2018-01-03 Thread Voytek
I have old server Postfix 2.x with MySQL, migrating to Postfix 3.x on a new Centos 7 MariaDB 10.2, virtual user/domain, maybe 20 domain/100 users, see abbreviated usage summary [1] new server has been up and running few weeks with just a handful users, just now, transferred another domain/25 users

Re: ot: MySQL config/tuning advice

2018-01-03 Thread Voytek
On Thu, January 4, 2018 12:00 pm, Voytek wrote: > on startup it says: Jan 04 07:48:24 mysqld-scl-helper[6908]: 2018-01-04 > 7:48:24 > 139791312545920 [Warning] Changed limits: max_open_files: 1024 > max_connections: 151 table_cache: 431 > Jan 04 07:48:24 systemd[1]: Started MariaDB 10.2 database

Re: ot: MySQL config/tuning advice

2018-01-03 Thread Phil Stracchino
On 01/03/18 20:39, Voytek wrote: > On Thu, January 4, 2018 12:00 pm, Voytek wrote: > >> on startup it says: Jan 04 07:48:24 mysqld-scl-helper[6908]: 2018-01-04 >> 7:48:24 >> 139791312545920 [Warning] Changed limits: max_open_files: 1024 >> max_connections: 151 table_cache: 431 >> Jan 04 07:48:24

Re: ot: MySQL config/tuning advice

2018-01-03 Thread John Stoffel
> "Voytek" == Voytek writes: Voytek> I have old server Postfix 2.x with MySQL, migrating to Postfix Voytek> 3.x on a new Centos 7 MariaDB 10.2, virtual user/domain, maybe Voytek> 20 domain/100 users, see abbreviated usage summary [1] So what is the advantage of using mysql here? Ease of ad

Re: ot: MySQL config/tuning advice

2018-01-03 Thread Bill Shirley
Make sure all .cnf files have permissions 644 to that all users (apache, postfix, etc) can read them: [0:root@elmo filter.d]$ ls -l /etc/my.cnf /etc/my.cnf.d/ -rw-r--r--. 1 root root  345 Feb 14  2016 /etc/my.cnf /etc/my.cnf.d/: total 24 -rw-r--r--. 1 root root 4128 Jul 27  2015 99-mystuff.cnf -r

Re: ot: MySQL config/tuning advice

2018-01-03 Thread Voytek
On Thu, January 4, 2018 3:17 pm, Bill Shirley wrote: > Also, if you running with systemd as init, you need to override > the limits in the service file: [0:root@elmo SPECS 130]$ cat > /etc/systemd/system/mariadb.service > .include /usr/lib/systemd/system/mariadb.service > > > [Service] > #LimitNOF

Re: ot: MySQL config/tuning advice

2018-01-03 Thread Phil Stracchino
On 01/04/18 00:17, Voytek wrote: > On Thu, January 4, 2018 3:17 pm, Bill Shirley wrote: > >> Also, if you running with systemd as init, you need to override >> the limits in the service file: [0:root@elmo SPECS 130]$ cat >> /etc/systemd/system/mariadb.service >> .include /usr/lib/systemd/system/ma

Re: ot: MySQL config/tuning advice

2018-01-03 Thread Voytek
On Thu, January 4, 2018 4:17 pm, Voytek wrote: > On Thu, January 4, 2018 3:17 pm, Bill Shirley wrote: Bill, big big thanks!!! I think it worked, i think the [Service] line ? made it work!! still checking, I'll post later V

Re: ot: MySQL config/tuning advice

2018-01-03 Thread Voytek
On Thu, January 4, 2018 2:57 pm, John Stoffel wrote: > So what is the advantage of using mysql here? Ease of adding/removing > users? John, thanks yes, ease of use, and, ability of having others able to add/edit if or as needed > In any case, just bumping up the mysql defaults to higher numbe