[pfx] Re: forward IP source from a postfix relay to a postfix server

2023-10-08 Thread Wietse Venema via Postfix-users
testeur via Postfix-users: > Hi, > > I try to find a solution to forward the IP source from the postfix relay > to the final postfix server (internal). > > Mail_Message sent to -> External_Postfix_relay (ip source from client > ok) -> Internal_Postfix_server (ip source from external postfix rel

[pfx] Re: SASL username logging for failed authentications

2023-10-08 Thread Wietse Venema via Postfix-users
or abitrarily long runs of 0b10xx octets after the leader byte. > > > > I think we can do better: > > Indeed. But we already have valid_utf8_string(), I'll see if we > can reuse more code between valid_utf8_string() and printable(). In postfix-3.9-20231008 I have facto

[pfx] forward IP source from a postfix relay to a postfix server

2023-10-08 Thread testeur via Postfix-users
Hi, I try to find a solution to forward the IP source from the postfix relay to the final postfix server (internal). Mail_Message sent to -> External_Postfix_relay (ip source from client ok) -> Internal_Postfix_server (ip source from external postfix relay, not the one from client's mail_mes

[pfx] Re: Problem setting up postfix on arch linux to forward mail to my gmail account

2023-10-08 Thread Jaroslaw Rafa via Postfix-users
Dnia 8.10.2023 o godz. 09:18:07 mwoodpatrick--- via Postfix-users pisze: > I want to be able to have mail sent by applications running on my server be > able to send mail from that server to my email account. If all you need is just to be able to send mail from applications to a particular email

[pfx] Re: Problem setting up postfix on arch linux to forward mail to my gmail account

2023-10-08 Thread mwoodpatrick--- via Postfix-users
Will give that a try Regards Mark -Original Message- From: Wietse Venema via Postfix-users Sent: Sunday, October 8, 2023 9:01 AM To: Postfix users Subject: [pfx] Re: Problem setting up postfix on arch linux to forward mail to my gmail account Wietse Venema via Postfix-users: > mwoodp

[pfx] Re: Problem setting up postfix on arch linux to forward mail to my gmail account

2023-10-08 Thread Wietse Venema via Postfix-users
Wietse Venema via Postfix-users: > mwoodpatrick--- via Postfix-users: > > Removing the config directory, uninstalling and reinstalling now provides a > > clean start of postfix: > > > > sudo postfix start > > postfix/postfix-script: starting the Postfix mail system > > Will it also start with sys

[pfx] Re: Problem setting up postfix on arch linux to forward mail to my gmail account

2023-10-08 Thread Wietse Venema via Postfix-users
mwoodpatrick--- via Postfix-users: > Removing the config directory, uninstalling and reinstalling now provides a > clean start of postfix: > > sudo postfix start > postfix/postfix-script: starting the Postfix mail system Will it also start with systemd commands? Probably, but that requires verifi

[pfx] Re: Problem setting up postfix on arch linux to forward mail to my gmail account

2023-10-08 Thread mwoodpatrick--- via Postfix-users
Removing the config directory, uninstalling and reinstalling now provides a clean start of postfix: sudo postfix start postfix/postfix-script: starting the Postfix mail system Next question is where can I find accurate instructions on setting up the configuration for arch linux to forward mail to

[pfx] Re: Problem setting up postfix on arch linux to forward mail to my gmail account

2023-10-08 Thread Wietse Venema via Postfix-users
Wietse Venema via Postfix-users: > mwoodpatr...@gmail.com: > > Many thanks for the response, much appreciated. > > > > Doing that I see: > > > > sudo postfix start > > postfix: Postfix is using backwards-compatible default settings > > postfix: See http://www.postfix.org/COMPATIBILITY_README.html

[pfx] Re: Problem setting up postfix on arch linux to forward mail to my gmail account

2023-10-08 Thread Wietse Venema via Postfix-users
mwoodpatr...@gmail.com: > Many thanks for the response, much appreciated. > > Doing that I see: > > sudo postfix start > postfix: Postfix is using backwards-compatible default settings > postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details > postfix: To disable backwards comp

[pfx] Re: Problem setting up postfix on arch linux to forward mail to my gmail account

2023-10-08 Thread mwoodpatrick--- via Postfix-users
Many thanks for the response, much appreciated. Doing that I see: sudo postfix start postfix: Postfix is using backwards-compatible default settings postfix: See http://www.postfix.org/COMPATIBILITY_README.html for details postfix: To disable backwards compatibility use "postconf compatibility_le

[pfx] Re: Problem setting up postfix on arch linux to forward mail to my gmail account

2023-10-08 Thread Wietse Venema via Postfix-users
Mark Wood-Patrick via Postfix-users: > I'm trying to setup postfix on arch linux (running on WSL-2) to > forward mail to my gmail account but while I followed and verified > the instructions on: > > How to configure postfix as smtp relay for Gmail on Archlinux | > Linuxaria

[pfx] Problem setting up postfix on arch linux to forward mail to my gmail account

2023-10-08 Thread Mark Wood-Patrick via Postfix-users
I'm trying to setup postfix on arch linux (running on WSL-2) to forward mail to my gmail account but while I followed and verified the instructions on: How to configure postfix as smtp relay for Gmail on Archlinux | Linuxaria

[pfx] Re: SASL username logging for failed authentications

2023-10-08 Thread Jozsef Kadlecsik via Postfix-users
On Fri, 6 Oct 2023, Wietse Venema via Postfix-users wrote: > Jozsef Kadlecsik via Postfix-users: > > +sasl_username = xsasl_server_get_username(state->sasl_server); > > +if (sasl_username != 0) { > > + state->sasl_username = mystrdup(sasl_username); > > + printable(stat

[pfx] Re: SASL username logging for failed authentications

2023-10-08 Thread Jozsef Kadlecsik via Postfix-users
Hello, On Fri, 6 Oct 2023, Wietse Venema via Postfix-users wrote: > Has this been tested: > > - With Cyrus SASL? > > - With Dovecot auth? It was tested with Cyrus SASL only. > - With malformed AUTH commands? No, I tested valid AUTH commands with successful and unsuccessful authentications