From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Help with local mail, please
Date: Fri, 16 Feb 2024 13:30:48 +0100 [thread overview]
Message-ID: <2737567.mvXUDI8C0e@iris> (raw)
In-Reply-To: <6016149.lOV4Wx5bFT@cube>
On Friday, February 16, 2024 6:19:25 AM CET Peter Humphrey wrote:
> On Wednesday, 14 February 2024 11:35:18 GMT J. Roeleveld wrote:
> > I've been using postfix for longer than I can remember.
> > The config entries I changed from default are:
> >
> > --- main.cf ---
> > myhostname = <hostname.TLD>
> > mydomain = <TLD>
> > myorigin = <TLD>
> > mynetworks = <full list of local networks, ex. : 192.168.0.0/24,
> > 192.168.1.0/24>
>
> That's helpful - thanks Joost.
You're welcome. Was this enough to get it working?
> > smtpd_relay_restrictions = permit_mynetworks, permit_sasl_authenticated,
> > reject_unauth_destination
>
> No relaying here; all outgoing mail goes to my ISP.
If your mailserver (postfix) is sending emails to your ISP, that is (from the
viewpoint of postfix) relaying by definition.
> > Also, are all emails sent to "mydomain" or do you have additional domains
> > configured?
> > If the latter, did you set "virtual_alias_domains = hash:/etc/postfix/
> > virtual_domains"
> > Include all virtual domains the file and converted the file to a .db ?
>
> Just the one "mydomain"
If you have only 1 domain, keep that "virtual_alias_domains" empty.
--
Joost
next prev parent reply other threads:[~2024-02-16 12:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-13 15:52 [gentoo-user] Help with local mail, please Peter Humphrey
2024-02-13 17:20 ` Arve Barsnes
2024-02-13 22:11 ` Peter Humphrey
2024-02-13 22:39 ` Arve Barsnes
2024-02-14 11:35 ` J. Roeleveld
2024-02-16 5:19 ` Peter Humphrey
2024-02-16 12:30 ` J. Roeleveld [this message]
2024-02-16 15:47 ` Peter Humphrey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2737567.mvXUDI8C0e@iris \
--to=joost@antarean.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox