smtpd_sender_login_maps text table format

2022-02-07 Thread Narcis Garcia
Hello, Documentation for smtpd_sender_login_maps does not specify expected values in a table (login->mapped or mapped->login or login->map1+map2 ?) I've these configured at /etc/postfix/main.cf : virtual_alias_maps = hash:/srv/vmail/recipient-aliases smtpd_sender_login_maps = hash:/srv/vmail/

Re: smtpd_sender_login_maps text table format

2022-02-07 Thread Narcis Garcia
I've made some testing and it seems to be this interpretation of table, and with unique left-column values: FromAddress1AuthorizedLogin FromAddress2AuthorizedLogin1 AuthorizedLogin2 FromAddress3AuthorizedLogin1 AuthorizedLogin2 FromAddress4AuthorizedLogin FromAddress5Authoriz

Re: smtpd_sender_login_maps text table format

2022-02-07 Thread Bernardo Reino
On Mon, 7 Feb 2022, Narcis Garcia wrote: I've made some testing and it seems to be this interpretation of table, and with unique left-column values: FromAddress1AuthorizedLogin FromAddress2AuthorizedLogin1 AuthorizedLogin2 FromAddress3AuthorizedLogin1 AuthorizedLogin2 FromAddress4

Re: Pls Help - Postfix Multi-Domain SMTP Banner with Postscreen

2022-02-07 Thread Nitin N
Dear Wietse, I managed to get my multi-domain setup running with postmulti. However, I am stuck with a new issue. I have a single NIC that I wanted to use across each postfix instance. So I created IP aliases and used them one for each instance and set up the default instance as a nullclient. Bu

Re: smtpd_sender_login_maps text table format

2022-02-07 Thread Narcis Garcia
__ I'm using this dedicated address because personal addresses aren't masked enough at this mail public archive. Public archive administrator should fix this against automated addresses collectors. El 7/2/22 a les 11:37, Bernardo Reino ha escrit: On Mon, 7 Feb 2022, Narcis Garcia wrote

Virtual map regex

2022-02-07 Thread Benoit Gschwind
Hello, I'm using the following configuration in main.cf: virtual_alias_maps = regexp:/etc/postfix/virtual And I using the following rule in /etc/postfix/virtual file: /^(.+)\.(.+)@noreply\.(.+)\.net$/ix $1.$2...@newdomain.com but I get the following errors: warning: regexp map /etc/postfix/vi

Re: Virtual map regex

2022-02-07 Thread Markus Schönhaber
07.02.22, 11:56 + 0100 Benoit Gschwind: I'm using the following configuration in main.cf: virtual_alias_maps = regexp:/etc/postfix/virtual And I using the following rule in /etc/postfix/virtual file: /^(.+)\.(.+)@noreply\.(.+)\.net$/ix $1.$2...@newdomain.com but I get the following errors:

Postfix high traffic (max proc) considerations

2022-02-07 Thread Víctor Rubiella Monfort
Hello, I'm was reading http://www.postfix.org/TUNING_README.html about increase number of process configurations related. We can increase smtp easly to 1000 connections for example to allow multiple incoming connections. But what about pickup and qmsg processes? by default is configuret to 1

Postfix stable release 3.7.0

2022-02-07 Thread Wietse Venema
[An on-line version of this announcement will be available at https://www.postfix.org/announcements/postfix-3.7.0.html] Postfix stable release 3.7.0 is available. This ends the support for legacy release Postfix 3.3. The main changes are below. See the RELEASE_NOTES file for further details. *

Postfix legacy releases 3.6.5, 3.5.15, 3.4.25, 3.3.22

2022-02-07 Thread Wietse Venema
[An on-line version of this announcement will be available at https://www.postfix.org/announcements/postfix-3.6.4.html] These releases catch up with portability fixes that are also part of Postfix 3.7.0. This will be the last update for Postfix version 3.3. * Glibc 2.34 implements closefrom().

Re: Postfix high traffic (max proc) considerations

2022-02-07 Thread Wietse Venema
V?ctor Rubiella Monfort: > Hello, > > I'm was reading http://www.postfix.org/TUNING_README.html about increase > number of process configurations related. > > We can increase smtp easly to 1000 connections for example to allow > multiple incoming connections. But what about pickup and qmsg proc

Re: Postfix high traffic (max proc) considerations

2022-02-07 Thread Viktor Dukhovni
On Mon, Feb 07, 2022 at 03:11:25PM +0100, Víctor Rubiella Monfort wrote: > We can increase smtp easly to 1000 connections for example to allow > multiple incoming connections. When you raise the number of "smtp inet ... smtpd" process slots the you just need to ensure that your disk and network a

Re: Pls Help - Postfix Multi-Domain SMTP Banner with Postscreen

2022-02-07 Thread Wietse Venema
Nitin N: > Dear Wietse, > > I managed to get my multi-domain setup running with postmulti. However, I > am stuck with a new issue. I have a single NIC that I wanted to use across > each postfix instance. So I created IP aliases and used them one for each > instance and set up the default instance

Re: Virtual map regex

2022-02-07 Thread Benoit Gschwind
Thank you for the help, maybe I did not read the documentation correctly :) On Mon, 2022-02-07 at 12:13 +0100, Markus Schönhaber wrote: > 07.02.22, 11:56 + 0100 Benoit Gschwind: > > > I'm using the following configuration in main.cf: > > > > virtual_alias_maps = regexp:/etc/postfix/virtual >

Re: Postfix stable release 3.7.0

2022-02-07 Thread Nilo César Teixeira
Building from https://github.com/vdukhovni/postfix/tree/postfix-3.7 leads to this configuration info: root@2837a210b4e2:/home/python-docker/code# postconf | grep mail_version mail_version = 3.7.0-RC2 Is the configuration tag incorrect, or is indeed the branch behind the release ? Thanks in advan

Re: Postfix stable release 3.7.0

2022-02-07 Thread Viktor Dukhovni
On Mon, Feb 07, 2022 at 01:37:24PM -0300, Nilo César Teixeira wrote: > Building from https://github.com/vdukhovni/postfix/tree/postfix-3.7 leads > to this configuration info: You must have a stale copy of the branch. https://github.com/vdukhovni/postfix/blob/postfix-3.7/postfix/src/global/m

Re: Postfix stable release 3.7.0

2022-02-07 Thread Viktor Dukhovni
On Mon, Feb 07, 2022 at 11:43:55AM -0500, Viktor Dukhovni wrote: > > Is the configuration tag incorrect, or is indeed the branch behind the > > release ? > > Update your git clone. Note also that my Postfix git repository is not an official location from which to obtain and build Postfix. It ma

Re: Postfix high traffic (max proc) considerations

2022-02-07 Thread Demi Marie Obenour
On 2/7/22 10:00, Wietse Venema wrote: > V?ctor Rubiella Monfort: >> Hello, >> >> I'm was reading http://www.postfix.org/TUNING_README.html about increase >> number of process configurations related. >> >> We can increase smtp easly to 1000 connections for example to allow >> multiple incoming con

Re: Postfix high traffic (max proc) considerations

2022-02-07 Thread Viktor Dukhovni
> On 7 Feb 2022, at 11:54 am, Demi Marie Obenour wrote: > > To what extend is Postfix’s process-per-connection architecture a > limitation here? It isn't a practical barrier. The reason to increase concurrency is to be able to handle more "slow" connections without running out of connection slo

Re: Postfix high traffic (max proc) considerations

2022-02-07 Thread Wietse Venema
Demi Marie Obenour: > On 2/7/22 10:00, Wietse Venema wrote: > > V?ctor Rubiella Monfort: > >> Hello, > >> > >> I'm was reading http://www.postfix.org/TUNING_README.html about increase > >> number of process configurations related. > >> > >> We can increase smtp easly to 1000 connections for exampl

Re: Postfix stable release 3.7.0

2022-02-07 Thread Nilo César Teixeira
Hi Viktor, Indeed, in my script I was cloning from my fork's version of your repository. Simple fix, thanks. On Mon, Feb 7, 2022 at 1:44 PM Viktor Dukhovni wrote: > On Mon, Feb 07, 2022 at 01:37:24PM -0300, Nilo César Teixeira wrote: > > > Building from https://github.com/vdukhovni/postfix/tre

Re: Postfix stable release 3.7.0

2022-02-07 Thread Nilo César Teixeira
Many thanks for helping with the silly question! python-docker@376137470ed1:~/code$ postconf | grep mail_version mail_version = 3.7.0 milter_macro_v = $mail_name $mail_version On Mon, Feb 7, 2022 at 1:50 PM Viktor Dukhovni wrote: > On Mon, Feb 07, 2022 at 11:43:55AM -0500, Viktor Dukhovni wrote

Removing a user...

2022-02-07 Thread SH Development
We have a postfix/dovecot/mysql configuration. We recently removed one of the users from the database, however when we send email, it still looks like the address we are sending to is a local address and bounces with a “no such user” error. I have tried restarting both postfix and dovecot with

Re: Removing a user...

2022-02-07 Thread John Stoffel
SH> We have a postfix/dovecot/mysql configuration. We recently SH> removed one of the users from the database, however when we send SH> email, it still looks like the address we are sending to is a SH> local address and bounces with a “no such user” error. Please post your config values. But I

Re: Removing a user...

2022-02-07 Thread SH Development
[root@mail ~]# postconf -n alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases bounce_queue_lifetime = 2d broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_l

Re: Removing a user...

2022-02-07 Thread Rob McGee
On 2022-02-07 13:25, SH Development wrote: We have a postfix/dovecot/mysql configuration. We recently removed one of the users from the database, however when we send email, it still looks like the address we are sending to is a local address You're sending mail to the address you removed? a

Re: Removing a user...

2022-02-07 Thread SH Development
The user in question was moved to another server on our network. So, in effect, yes, I was sending to the removed user on another server. I have sent to the “moved” user from an outside address and it works as expected. I believe the issue is that when I send a test email, the moved user was o

Re: Removing a user...

2022-02-07 Thread Rob McGee
On 2022-02-07 21:09, SH Development wrote: The user in question was moved to another server on our network. So, This was not stated in the OP. in effect, yes, I was sending to the removed user on another server. I have sent to the “moved” user from an outside address and it works as expecte