To be more clear, by hardcoded addresses I meant local delivery. Postfix has 
local accounts which exist on the machine as local users (eg. root@mailserver) 
and virtual domains where there is no local user backed to it. Your question 
didn’t state which type of transport you’re using so I provided both.

When setting up my smart host for my virtual domain I also found the Debian 
included instructions helpful 
https://sources.debian.org/src/postfix/3.5.23-0%2Bdeb11u1/debian/README.Debian/

Someone with more Postfix experience will correct me if wrong.

Kindly regards,
Matthew

> On 14 Jul 2025, at 8:47 am, Matthew via Postfix-users 
> <postfix-users@postfix.org> wrote:
> 
> 
> Forgive me as I am not an expert but have you looked at transport_maps (for 
> hardcoded addresses) 
> https://www.postfix.org/STANDARD_CONFIGURATION_README.html#intranet or relay 
> host for all mail: https://www.postfix.org/postconf.5.html#relayhost
> 
> There’s several guides online too: 
> 
> https://www.google.com/search?q=relayhost+postfix
> 
> Such as:
> 
> https://www.lunanode.com/guides/postfix_smtp_secure
> 
> And:
> 
> https://www.linode.com/docs/guides/postfix-smtp-debian7/
> 
> Hope this helps,
> Matthew
> 
>>> On 14 Jul 2025, at 7:30 am, oftl--- via Postfix-users 
>>> <postfix-users@postfix.org> wrote:
>>> 
>> Hi there,
>> 
>> yes i did come across always_bcc. Unfortunately that's not what i'm
>> looking for. I'd like to see how both postfixes behave when receiving
>> the (as far as possible) same messsage.
>> 
>> o/
>> 
>>> On Mon, Jul 14, 2025 at 08:21:11AM +0200, Florian Piekert via Postfix-users 
>>> wrote:
>>> Hallo,
>>> 
>>> did you check if the always_bcc directive meets that need? Put in a 
>>> dedicated recipient on the other postfix, it'll get a bcc of each message 
>>> inbound/outbound of the first postfix server.
>>> 
>>> 
>>>> Am 13.07.2025 um 21:12 schrieb oftl--- via Postfix-users:
>>>> Hi!
>>>> 
>>>> This is what i'd like to do:
>>>> 
>>>> Have an already up and running postfix *also* relay everything to another 
>>>> postfix.
>>>> 
>>>> The already running one should keep doing whatever it does and 
>>>> *additionally* relay any and all mail to the other one.
>>>> 
>>>> Is that possible?
>>> 
>>> _______________________________________________
>>> Postfix-users mailing list -- postfix-users@postfix.org
>>> To unsubscribe send an email to postfix-users-le...@postfix.org
>> _______________________________________________
>> Postfix-users mailing list -- postfix-users@postfix.org
>> To unsubscribe send an email to postfix-users-le...@postfix.org
> _______________________________________________
> Postfix-users mailing list -- postfix-users@postfix.org
> To unsubscribe send an email to postfix-users-le...@postfix.org
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to