[pfx] How to restrict relay domains for sendmail command ?

2023-12-05 Thread Cowbay via Postfix-users
Hi, I installed a Postfix mail server in a Linux LXC container. I want this mail server to relay mails for specific domains only and all the mails are relayed to another mail server ($relayhost configured in main.cf). I found that there is no $sendmail_relay_restrictions configuration like

[pfx] Re: How to restrict relay domains for sendmail command ?

2023-12-05 Thread Jaroslaw Rafa via Postfix-users
Dnia 5.12.2023 o godz. 20:14:45 Cowbay via Postfix-users pisze: > > I want this mail server to relay mails for specific domains only and > all the mails are relayed to another mail server ($relayhost > configured in main.cf). > > I found that there is no $sendmail_relay_restrictions configuratio

[pfx] Re: How to restrict relay domains for sendmail command ?

2023-12-05 Thread Cowbay via Postfix-users
On 2023/12/5 21:13, Jaroslaw Rafa via Postfix-users wrote: Dnia 5.12.2023 o godz. 20:14:45 Cowbay via Postfix-users pisze: I want this mail server to relay mails for specific domains only and all the mails are relayed to another mail server ($relayhost configured in main.cf). I found that the

[pfx] Why can't I get /etc/aliases to do anything?

2023-12-05 Thread Chris Green via Postfix-users
I have several, small, headless systems (a couple of Beaglebone Blacks, a couple of Raspberry Pis and some VPS's) where I want to send any E-Mail for local users off the system to my own E-Mail. They are all running postfix, versions from 3.4.x to 3.7.x. They all have a pretty trivial, send-only,

[pfx] Re: [ext] Why can't I get /etc/aliases to do anything?

2023-12-05 Thread Ralf Hildebrandt via Postfix-users
* Chris Green via Postfix-users : > mydestination = no mail is delivered locally. Thus "/etc/aliases" doesn't get to do anything -- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netz | Netzwerk-Administration Invalidenstraße 120/121 | D-10115 Berlin Tel. +49 30 450 570 155 | Fax:

[pfx] Re: [ext] Why can't I get /etc/aliases to do anything?

2023-12-05 Thread Chris Green via Postfix-users
On Tue, Dec 05, 2023 at 05:41:11PM +0100, Ralf Hildebrandt via Postfix-users wrote: > * Chris Green via Postfix-users : > > > mydestination = > > no mail is delivered locally. Thus "/etc/aliases" doesn't get to do > anything > Ah, that explains it. So what's the minimal way of doing this?

[pfx] Re: [ext] Why can't I get /etc/aliases to do anything?

2023-12-05 Thread Ralf Hildebrandt via Postfix-users
* Chris Green via Postfix-users : > On Tue, Dec 05, 2023 at 05:41:11PM +0100, Ralf Hildebrandt via Postfix-users > wrote: > > * Chris Green via Postfix-users : > > > > > mydestination = > > > > no mail is delivered locally. Thus "/etc/aliases" doesn't get to do > > anything > > > Ah, that

[pfx] Re: [ext] Why can't I get /etc/aliases to do anything?

2023-12-05 Thread Wietse Venema via Postfix-users
Ralf Hildebrandt via Postfix-users: > * Chris Green via Postfix-users : > > On Tue, Dec 05, 2023 at 05:41:11PM +0100, Ralf Hildebrandt via > > Postfix-users wrote: > > > * Chris Green via Postfix-users : > > > > > > > mydestination = > > > > > > no mail is delivered locally. Thus "/etc/alia

[pfx] Re: [ext] Why can't I get /etc/aliases to do anything?

2023-12-05 Thread Chris Green via Postfix-users
On Tue, Dec 05, 2023 at 11:53:24AM -0500, Wietse Venema via Postfix-users wrote: > Ralf Hildebrandt via Postfix-users: > > * Chris Green via Postfix-users : > > > On Tue, Dec 05, 2023 at 05:41:11PM +0100, Ralf Hildebrandt via > > > Postfix-users wrote: > > > > * Chris Green via Postfix-users : > >

[pfx] Re: [ext] Why can't I get /etc/aliases to do anything?

2023-12-05 Thread Viktor Dukhovni via Postfix-users
On Tue, Dec 05, 2023 at 04:45:49PM +, Chris Green via Postfix-users wrote: > On Tue, Dec 05, 2023 at 05:41:11PM +0100, Ralf Hildebrandt via Postfix-users > wrote: > > * Chris Green via Postfix-users : > > > > > mydestination = > > > > no mail is delivered locally. Thus "/etc/aliases" do