On Wed, Dec 15, 2021 at 01:07:54PM +0100, "j...@dodin.org" <j...@dodin.org>
wrote:
Le 15/12/2021 à 12:42, Wietse Venema a écrit :
> j...@dodin.org:
> > jdd: "| /usr/lib/news/bin/mailpost test"
>
> Which file is that, and how is Postfix configured to use that file?
/etc/aliases
https://paste.opensuse.org/50454178
On 16.12.21 08:58, raf wrote:
# postconf -n
# alias_maps =
[...]
I think the problem is that your alias_maps parameter
is empty.
this mostly happens because with postfix it's recommended to replace
alias_maps (aliases) by virtual_alias_maps, because virtual_alias_maps are
expanded when mail is received, while alias_maps are expanded during local
delivery.
that means, with alias_maps expansion, if an error happens during delivery
to one of expanded recipients, other recipients can receive the same mail
multiple times (since mail delivery fails).
other main difference between alias_maps and virtual_alias_maps is that with
alias_maps you can:
- include recipients from a file
- deliver to a file
- deliver into programs (as needed in this case)
That means you've instructed Postfix not to
use the /etc/aliases file. If you delete the line in
/etc/postfix/main.cf that sets the alias_maps parameter
to be empty, then it'll have a better chance of working.
The default is:
alias_maps = hash:/etc/aliases, nis:mail.aliases
But if you don't have NIS, you might want to set it to:
alias_maps = hash:/etc/aliases
use alias_maps for inn gateway and virtual_alias_maps for other alias
expansion.
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Fucking windows! Bring Bill Gates! (Southpark the movie)