Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #82290
| From | Lars Poulsen <lars@beagle-ears.com> |
|---|---|
| Newsgroups | alt.unix.geeks, comp.os.linux.misc |
| Subject | Re: Postfix HELP!! - Thanks! |
| Date | 2026-02-26 18:09 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <slrn10q1327.2csik.lars@cleo.beagle-ears.com> (permalink) |
| References | <slrn10pv5cg.2afs7.lars@cleo.beagle-ears.com> <10nok1t$1c7cl$3@dont-email.me> <slrn10q0jqd.2c8p5.lars@cleo.beagle-ears.com> <10npqrg$1p2av$1@dont-email.me> |
Cross-posted to 2 groups.
On 2026-02-26, Rich <rich@example.invalid> wrote: > In comp.os.linux.misc Lars Poulsen <lars@beagle-ears.com> wrote: >> On 2026-02-26, Lawrence D’Oliveiro <ldo@nz.invalid> wrote: >>> On Thu, 26 Feb 2026 00:36:32 -0000 (UTC), Lars Poulsen wrote: >>> >>>> But when my Windows PC that sits on the same LAN tries to submit >>>> outgoing mail messages, they fail to go out. It appears that >>>> postfix considers them prohibited relaying, even though they are >>>> addressed to my own mailbox on my own local mail server. >>> >>><https://manpages.debian.org/postconf(5)> >>> >>> As a starting point, I assume you have “permit_mynetworks” listed in >>> your “smtpd_relay_restrictions”. In which case, make sure your >>> “mynetworks” sitting includes all the appropriate subnets for >>> relaying, and only those. >>> >>> You can use the “postconf -p” to display all current configuration >>> settings, whether explicit or defaulted. >> >> Thank you!! >> I think this may have solved this problem, so now I can get to >> see what the next blockage will be. >> >> As you know, "postconf -p" produces around 950 lines of output, >> so unless you know what to "grep" for, you are lost. >> I had read the hint in the comments in main.cf to look in >> manual section postconf(5), but it does not mention permit_mynetworks >> >> I am puzzled, as to why this is not set by default. I thought this was >> the reason why I was defining the list of mynetworks. > > mynetworks can't be "defaulted", because each site has a different > network layout. And if it were "defaulted" then postfix with that > default would be an "open relay". It (postfix) begins in "no relay" > state, and you have to explicitly enable allowing such from parts of > your network setup you want to allow. I was expecting that once I have set mynetworks, those networks would allowed to do relaying. Or that IF I need to explicitly set permit_mynetworks, there would be a note to that effect in the area where I set mynetworks. Instead, there is a note pointing to a man page that actually does not contain the needed information. And would setting mynetworks to default to the set of networks that are directly attached to the host where postfix is running, be safe enough? -- Lars Poulsen - an old geek in Santa Barbara, California
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Postfix HELP!! Lars Poulsen <lars@beagle-ears.com> - 2026-02-26 00:36 +0000
Re: Postfix HELP!! Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-02-26 05:00 +0000
Re: Postfix HELP!! - Thanks! Lars Poulsen <lars@beagle-ears.com> - 2026-02-26 13:49 +0000
Re: Postfix HELP!! - Thanks! Rich <rich@example.invalid> - 2026-02-26 16:02 +0000
Re: Postfix HELP!! - Thanks! Lars Poulsen <lars@beagle-ears.com> - 2026-02-26 18:09 +0000
Re: Postfix HELP!! - Thanks! Rich <rich@example.invalid> - 2026-02-27 00:29 +0000
Re: Postfix - Next: Google Postmaster Tools Lars Poulsen <lars@beagle-ears.com> - 2026-02-26 18:54 +0000
Re: Postfix - Next: Google Postmaster Tools not@telling.you.invalid (Computer Nerd Kev) - 2026-02-27 06:49 +1000
Re: Postfix - Next: Google Postmaster Tools Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-02-27 00:23 +0000
Re: Postfix - Next: Google Postmaster Tools Stéphane CARPENTIER <sc@fiat-linux.fr> - 2026-02-28 12:13 +0000
csiph-web