[pfx] Re: Postfix in kubernetes - short status update

2024-10-28 Thread Nico Schottelius via Postfix-users
Wietse Venema via Postfix-users writes: > Consider using LMDB or CDB instead. > > - CDB is optimized for tables that don't change. > > - LMDB was proposed 10 yeara ago as a replacement for Berkeley DB, > because of a licensing issue. Thanks, using lmdb works like charm. The main reason I tr

[pfx] Re: Postfix in kubernetes - short status update

2024-10-28 Thread Nico Schottelius via Postfix-users
Hello Viktor, Viktor Dukhovni via Postfix-users writes: > On Sat, Oct 26, 2024 at 12:06:12AM +0900, Nico Schottelius via Postfix-users > wrote: > >> The maps/hashes that make a lot of sense on VMs/servers for avoiding >> reloading postfix, do not make much sense in the k8s/container context. >

[pfx] Re: Choose transport based on multiple conditions

2024-10-28 Thread Wietse Venema via Postfix-users
Birta Levente via Postfix-users: > Hello > > I have the following situation: > default_transport=smtp > -need to send to domain1 through smtpa, except if the sender is > from_special then send through smtpb > > > smtp.smtp > -o smtp_bind_address=ip1 > smtpa . smtp > -o smtp_bi

[pfx] Re: User unknown in local recipient table (in reply to RCPT TO command)

2024-10-28 Thread Bill Cole via Postfix-users
On 2024-10-28 at 14:08:03 UTC-0400 (Mon, 28 Oct 2024 18:08:03 +) Ken Gillett via Postfix-users is rumored to have said: ps -ax | grep master 349 ??10:57.09 master -c /Library/Server/Mail/Config/postfix and I am running the Server versions of postconf and postmap, but which versi

[pfx] Re: Choose transport based on multiple conditions

2024-10-28 Thread Birta Levente via Postfix-users
On 28/10/2024 21:46, Wietse Venema via Postfix-users wrote: Birta Levente via Postfix-users: Hello I have the following situation: default_transport=smtp -need to send to domain1 through smtpa, except if the sender is from_special then send through smtpb smtp.smtp -o smtp_bind_addr

[pfx] Re: Choose transport based on multiple conditions

2024-10-28 Thread Benny Pedersen via Postfix-users
Birta Levente via Postfix-users skrev den 2024-10-28 21:42: So, as I understand this is possible only with multi-instance? i have all my custommers domains pr domain sender ip, no multi-instance need for this yet if you need more help its esential showing logs, opfuscate is ok, just mentio

[pfx] Re: User unknown in local recipient table (in reply to RCPT TO command)

2024-10-28 Thread Peter via Postfix-users
On 29/10/24 05:52, Ken Gillett via Postfix-users wrote: >>> mail_version = 2.5.5 >> >> That's certainly not recent. :-( The server versions of Postfix are from 2018, whereas the std. install is 2020. You're off by a decade, 2.5.5 was released in 2008 and the final 2.5 release was in February

[pfx] OT: k8s network presentation

2024-10-28 Thread Nico Schottelius via Postfix-users
Hello postfix users, I know I am probably not the most conventional guy moving postfix into IPv6 only kubernetes stacks, but there are good reasons for it. To explain a bit the background of all this "nonsense", I wanted to point to a presentation I will be giving in the RIPE IPv6 working group

[pfx] Re: User unknown in local recipient table (in reply to RCPT TO command)

2024-10-28 Thread Wietse Venema via Postfix-users
Ken Gillett via Postfix-users: > Thank you for your words of wisdom Wietse. ??> > I rather thought you understood how 'silly' it would be to run a find command > for postconf as I had already clearly explained (at least 3 times ?? I knew > where both versions were located and always ensured I wa

[pfx] Re: Choose transport based on multiple conditions

2024-10-28 Thread Viktor Dukhovni via Postfix-users
On Mon, Oct 28, 2024 at 06:17:56PM -0400, Wietse Venema via Postfix-users wrote: > > My problem is that I have to slow down the sending rate to domain1, but > > in the same time I need to segregate (send out on different IP address) > > based on sender address. > > > > So, as I understand this

[pfx] Re: alternative to one.com ?

2024-10-28 Thread Viktor Dukhovni via Postfix-users
On Sat, Oct 26, 2024 at 08:31:39PM +0200, Benny Pedersen via Postfix-users wrote: > i like to stop using one.com for servial ressons, first that do not support > rfc 7505, why ? You mean, I guess, as a DNS provider? If so most users want email for their domains, and those that don't probably do

[pfx] Re: User unknown in local recipient table (in reply to RCPT TO command)

2024-10-28 Thread Ken Gillett via Postfix-users
> On Mon 28 Oct 2024, at 03:26, Viktor Dukhovni via Postfix-users > wrote: > > On Sun, Oct 27, 2024 at 12:55:17PM +, Ken Gillett via Postfix-users wrote: > >> … > > And what is in your alias table, please report the output of: > >$ id ken uid=xxx(ken) gid=yy(staff) … There's more,

[pfx] Re: User unknown in local recipient table (in reply to RCPT TO command)

2024-10-28 Thread Ken Gillett via Postfix-users
Yes, MacOSX Server was never great, progressively got worse then they dumped it, but such a server ends up with 2 versions of postifix installed. The more standard one (/etc/postfix, /usr/libexec/postfix,/usr/sbin/) and the 'special' MacOSX Server versions in the above directories prepended by

[pfx] Re: Web api for sending email

2024-10-28 Thread Peter Ajamian via Postfix-users
On 28/10/24 20:02, Wesley wrote: That VM provider Crunchbits blocks all traffic to external ports of 25, 587, 465, 2525 etc. under this case how the customer can access my mailserver via SMTP for submissions? Postfix can listen on literally *any* port, so long as it's the same port the client

[pfx] Re: Web api for sending email

2024-10-28 Thread Peter via Postfix-users
On 28/10/24 20:07, Peter Ajamian via Postfix-users wrote: On 28/10/24 20:02, Wesley wrote: That VM provider Crunchbits blocks all traffic to external ports of 25, 587, 465, 2525 etc. under this case how the customer can access my mailserver via SMTP for submissions? Postfix can listen on lite

[pfx] Re: Web api for sending email

2024-10-28 Thread patpro--- via Postfix-users
Hi, Depending on your client / server interaction, you might be able to setup an ssh tunnel or a wireguard vpn between client and server, then use localhost:587 for submission, bypassing Crunchbits' firewall. I see no other reliable way to do it (other than changing providers). pat October 2

[pfx] Re: User unknown in local recipient table (in reply to RCPT TO command)

2024-10-28 Thread Wietse Venema via Postfix-users
Ken Gillett via Postfix-users: > Does 'postconf daemon_directory' simply return info from the > main.cf, or does it query the running process to get exactly what > is being used? Don't be silly. By design, the postconf command uses the same main.cf file as the master daemon. If you have more than

[pfx] Re: User unknown in local recipient table (in reply to RCPT TO command)

2024-10-28 Thread Wietse Venema via Postfix-users
Ken Gillett via Postfix-users: > The server versions of Postfix are from 2018, whereas the std. > install is 2020. I know it is supposed to be using the Server > main.cf, but not yet figured out how to determine the actual file > that was executed. Can postconf return the path to the executed > mas

[pfx] Re: User unknown in local recipient table (in reply to RCPT TO command)

2024-10-28 Thread Ken Gillett via Postfix-users
Yes, the login account shortname is simply 'ken'. Case makes no difference and shouldn't. Anyway I've tried it all every which way, so e.g. ken@Home, ken@HoMe etc all work fine. Any address using any case variation of myhostname does not. BTW, hostname returns MacServe.home I am no longer sure

[pfx] Re: User unknown in local recipient table (in reply to RCPT TO command)

2024-10-28 Thread Ken Gillett via Postfix-users
Does 'postconf daemon_directory' simply return info from the main.cf, or does it query the running process to get exactly what is being used? Yes, on MacOSX Server there are 2 entirely independent installations. The standard Mac one plus the Server one. I know where they both are, but I cannot

[pfx] Re: User unknown in local recipient table (in reply to RCPT TO command)

2024-10-28 Thread Eugene R via Postfix-users
Hello ps -axww is supposed to show the full command line On 28.10.2024 21:08, Ken Gillett via Postfix-users wrote: Does 'postconf daemon_directory' simply return info from the main.cf, or does it query the running process to get exactly what is being used? Yes, on MacOSX Server there are 2 e

[pfx] Re: User unknown in local recipient table (in reply to RCPT TO command)

2024-10-28 Thread Bill Cole via Postfix-users
On 2024-10-28 at 06:01:29 UTC-0400 (Mon, 28 Oct 2024 10:01:29 +) Ken Gillett via Postfix-users is rumored to have said: I have tried to stick to the Server versions, but I now see I am running the std. master, with the daemon_directory and config_directory set to the Server versions. Tha

[pfx] Re: User unknown in local recipient table (in reply to RCPT TO command)

2024-10-28 Thread Viktor Dukhovni via Postfix-users
On Mon, Oct 28, 2024 at 10:29:20AM +, Ken Gillett wrote: > > And what is in your alias table, please report the output of: > > > >$ id ken > > uid=xxx(ken) gid=yy(staff) So the bare username is a login account. > >$ postconf mail_version append_dot_mydomain \ > >alias_maps

[pfx] Re: Web api for sending email

2024-10-28 Thread Peter via Postfix-users
On 28/10/24 22:43, Wesley via Postfix-users wrote: He had requested to the provider but got no luck. they rejected his requests. :) As a solution I may consider open another port for him rather than the default 465/587 for submissions. Unreasonable, imo that they won't open the ports, but allo

[pfx] Re: User unknown in local recipient table (in reply to RCPT TO command)

2024-10-28 Thread Ken Gillett via Postfix-users
I've been testing from my MacPro to the Mini Server (MacServe), but here's some further findings:- So far I've been sending test messages from the MacPro's command-line and as I've said:- user@mydomain works user@myhostname fails The my* references are the Server's postfix con

[pfx] Re: Choose transport based on multiple conditions

2024-10-28 Thread Benny Pedersen via Postfix-users
Birta Levente via Postfix-users skrev den 2024-10-28 20:32: Hello I have the following situation: default_transport=smtp -need to send to domain1 through smtpa, except if the sender is from_special then send through smtpb smtp.smtp     -o smtp_bind_address=ip1 smtpa . smtp     -o smt

[pfx] Choose transport based on multiple conditions

2024-10-28 Thread Birta Levente via Postfix-users
Hello I have the following situation: default_transport=smtp -need to send to domain1 through smtpa, except if the sender is from_special then send through smtpb smtp.smtp     -o smtp_bind_address=ip1 smtpa . smtp     -o smtp_bind_address=ip1     -o .. smtpb . smtp     -o smtp

[pfx] Re: User unknown in local recipient table (in reply to RCPT TO command)

2024-10-28 Thread Ken Gillett via Postfix-users
Thank you for your words of wisdom Wietse. 😉 I rather thought you understood how 'silly' it would be to run a find command for postconf as I had already clearly explained (at least 3 times 🙂) I knew where both versions were located and always ensured I was running the correct one. Apologies if

[pfx] Re: Choose transport based on multiple conditions

2024-10-28 Thread Wietse Venema via Postfix-users
Birta Levente via Postfix-users: > >> How can I achive this? > > /etc/postfix/main.cf: > > # Limitation: this setting is overruled with FILTER and transport_maps. > > sender_dependent_default_transport_maps = inline:{ > > { u...@example.com = smtpb } } > > Indeed, my problem is

[pfx] Re: alternative to one.com ?

2024-10-28 Thread Benny Pedersen via Postfix-users
Viktor Dukhovni via Postfix-users skrev den 2024-10-28 08:31: On Sat, Oct 26, 2024 at 08:31:39PM +0200, Benny Pedersen via Postfix-users wrote: i like to stop using one.com for servial ressons, first that do not support rfc 7505, why ? You mean, I guess, as a DNS provider? one.com is only