[pfx] Re: Restricted Users Emailing Themselves

2023-06-12 Thread Viktor Dukhovni via Postfix-users
On Mon, Jun 12, 2023 at 04:43:42PM -0700, Asai via Postfix-users wrote: > We have a situation where we want certain company groups to only be able > to email others in their group. Isn't each user a member of "their group? > I've been managing this through check_sender_access, and > check_recip

[pfx] Restricted Users Emailing Themselves

2023-06-12 Thread Asai via Postfix-users
Greetings, We have a situation where we want certain company groups to only be able to email others in their group. I've been managing this through check_sender_access, and check_recipient_access with regex lists.  It's worked for years, but the one big problem with it is that it doesn't all

[pfx] Re: SPF questions

2023-06-12 Thread Bill Cole via Postfix-users
On 2023-06-12 at 04:19:12 UTC-0400 (Mon, 12 Jun 2023 20:19:12 +1200) Peter via Postfix-users is rumored to have said: > Technically it's an invalid MX record because MX records must point to a > hostname, not an IP address. > > They are probably trying (but failing) to implement a null MX record

[pfx] Re: How to stop delivery looping

2023-06-12 Thread Viktor Dukhovni via Postfix-users
On Mon, Jun 12, 2023 at 08:47:10AM +, wesley--- via Postfix-users wrote: > may I know that, what's the mechanism for postfix to stop mail > delivery looping? > > for example, u...@foo.com forwards to u...@bar.com, and u...@bar.com forwards > back to u...@foo.com, this will be a loop. > > so

[pfx] Re: choose relay host for specific messages based on several headers and not envelope

2023-06-12 Thread Viktor Dukhovni via Postfix-users
On Mon, Jun 12, 2023 at 11:25:52AM +0200, spi via Postfix-users wrote: > > To what end do various users need separate outbound relay hosts? > > For some of the aliases I am not the authoritive mail server. How does the mail end up delivered to your system? > >> Sieve vacation creates an ooo repl

[pfx] Re: choose relay host for specific messages based on several headers and not envelope

2023-06-12 Thread spi via Postfix-users
On Sun, Jun 11, 2023 at 11:28:46AM +0200, spi via Postfix-users wrote: My users have a local mail address user@internal.local with different aliases (virtual_mailbox_maps, virtual_alias_maps). Receiving and sending mails through different relay hosts (am using sender_dependent_relayhost_maps) wor

[pfx] Re: SPF questions

2023-06-12 Thread Peter via Postfix-users
Technically it's an invalid MX record because MX records must point to a hostname, not an IP address. They are probably trying (but failing) to implement a null MX record: https://www.rfc-editor.org/rfc/rfc7505 Peter On 12/06/23 19:50, wesley--- via Postfix-users wrote: Note there is also

[pfx] Re: SPF questions

2023-06-12 Thread postfix--- via Postfix-users
I saw some domains have MX pointing to 127.0.0.1. what does this mean? This will tell the sender of the email to connect to 127.0.0.1 which is itself. It will send the mail program chasing its own tail. ___ Postfix-users mailing list -- postfix-users@

[pfx] Re: SPF questions

2023-06-12 Thread Matus UHLAR - fantomas via Postfix-users
Note there is also RFC 7505 "Null MX" where you simply add "IN MX 0 ." to any DNS name you wish not to send or accept e-mail. (this is designed to work around implicie MX records when A record is present). On 12.06.23 07:50, wesley--- via Postfix-users wrote: I saw some domains have MX pointing

[pfx] Re: SPF questions

2023-06-12 Thread Matus UHLAR - fantomas via Postfix-users
Dnia 10.06.2023 o godz. 17:33:06 Gerd Hoerst via Postfix-users pisze: my entry e.g.    600 IN TXT    "v=spf1 a mx -all" that mean all servers listet in MX enrties of my domain are allowed to send emails from my domain So if you receive an email from my domain which are not sent from on