When it receives an email addressed to prh@<desktop>, postfix insists on forwarding it directly to <desktop>, and then failing name lookup. It should instead accept the email itself and pass it to dovecot. And as far as I know, the DNS is working fine.
This is part of my main.cf:
myhostname = <server>.prhnet
mydomain = prhnet
proxy_interfaces = 192.168.178.1
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain,
mail.$mydomain, www.$mydomain, ftp.$mydomain
I think this is because <desktop> is not in $mydestination, but the
solution is probably to find whatever is sending mail to prh@<desktop>
and convince it to send to an address (prh@prhnet?) that the server
already accepts mail for. You could also try to alias prh@<desktop> to something that the server is expecting.
On 2025-06-20 09:36 PM, "Michael Orlitzky" <mjo@gentoo.org> wrote:
I think this is because <desktop> is not in $mydestination, but the solution is probably to find whatever is sending mail to prh@<desktop>
and convince it to send to an address (prh@prhnet?) that the server
already accepts mail for. You could also try to alias prh@<desktop> to something that the server is expecting.
Bingo! Got it in one. I just added <desktop>.$mydomain to $mydestination.
Now I just have to sort out a couple of other minor problems. Watch this space!
Many thanks, Michael. This has been bothering me for years.
(Sent via web mail while I get this sorted out.)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 169:06:13 |
Calls: | 10,385 |
Calls today: | 2 |
Files: | 14,057 |
Messages: | 6,416,551 |