Backslashes had been added to addresses in Mail Aliases and /etc/postfix/virtual

SYSTEM INFORMATION
OS type and version Ubuntu Linux 24.04.2
Usermin version 2.302
Virtualmin version 7.30.8
Theme version 24.02
Apache version 2.4.58
Package updates All installed packages are up to date

Hello dear devs and dear community,

since last update I didn’t receive mails for my postmaster@domain and abuse@domain

I checked on the configuration and noticed in Postfix → Mail Aliases and the config file /etc/postfix/virtual had backslashes inside and in front of the mail addresses. Is it normal configuration or worth looking into it?

/etc/aliases

#See man 5 aliases for format
postmaster:    root
root: user
info\@domain.de: \my.name\@domain.de,\info\@domain.de
domain: \my.name\@domain.de,\domain

/etc/postfix/virtual

domain.de	domain.de
my.name@domain.de	my.name\@domain.de
info@domain.de	info\@domain.de
domain@domain.de	domain
abuse@domain.de	domain
hostmaster@domain.de	domain
postmaster@domain.de	domain
webmaster@domain.de	domain

Thank you in advance!

Yes that is normal

image

You should wrap code/configs/errors/etc. in backticks (triple backticks for multiple lines), as covered by our guidelines (or just click on the preformatted text icon in the editor window, it does the same thing).

image

This also protects you from getting auto-moderated by the spam filter for posting links/domain names.

Could the Guidelines be put in the menu(s)

They are in the menu (labeled FAQ).

The guidelines are also linked quite clearly in a very large top-of-page banner that exists until you dismiss it (this is a recent thing, Ilia just added it a week or two ago).

1 Like

I edited my original post with the right format settings.

I cannot relate to stefans post, because I can not locate where you took the screenshot.

I solved the deliverability problems by editing the /etc/postfix/virtual file and removing all backslashes inside the file:

domain.de	domain.de
my.name@domain.de	my.name@domain.de
info@domain.de	info@domain.de
domain@domain.de	domain
abuse@domain.de	domain
hostmaster@domain.de	domain
postmaster@domain.de	domain
webmaster@domain.de	domain

The “Postfix virtual alias table format” also does not intend a backslash inside of it, I think…

Since the problems occured after latest update and I am hosting my own domain on my virtualmin server, I assume this might be be connected to the issue.

Where did you take the screenshot? I cannot locate it in virtualmin.. :slight_smile:

Could this configuration already be bugged?

That cannot be right, as in Postfix, an unescaped @ in the destination address will be interpreted as a regular email address, not a local user.

1 Like

in userland, i don’t think you should have the escaping character be visible.

What page is this from?

1 Like

I did notice some do it and some don’t.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.