gbr
(Gerald Brandt)
March 23, 2021, 2:07pm
1
Hi,
I move from NetServer 6.x to 7.9, and I’m having issues creating email aliases. It’s supposed to be Application->Email->Addresses->Advanced, but that doesn’t seem to work for me.
The addresses I want to add aliases for all show as Built-in, and I can’t edit them.
I use built-in LDAP for my users.
How can I add aliases?
Thanks,
Gerald
gbr
(Gerald Brandt)
March 23, 2021, 2:15pm
3
Ah! So they’re not really aliases for an account, more like a separate address that forwards to a specific account?
I’ve added one… now to see if SOGo will send as that alias.
Thanks!
Gerald
Actually, EVERY USER on a Linux system can recieve mail, if a mail system is running.
And also on Windows AD, users “look” like e-mail addresses with the “@”, but they’re only user names…
gbr
(Gerald Brandt)
March 23, 2021, 3:03pm
5
So, I get email via the alias, and I can send from the alias, but I still have an issue.
If I sent from my gmail account to an alias, even though I receive the email, my gmail account gets a bounce back. This is from the logs…
relay=none, delay=0.19, delays=0.1/0.02/0/0.07, dsn=5.1.1, status=bounced (User unknown in virtual alias table)
Gerald
Is the issue only with Gmail?
gbr
(Gerald Brandt)
March 23, 2021, 3:23pm
8
Not just GMail. I just sent from a Linux/Postfix systems, and same issue.
Do you have anything like threat shield active?
Or spam / blacklists, etc?
I just checked on my clients NethServers (They’re all using AD, as this allows for Shares with Group permissions) and a new alias works there.
LDAP has one major difference relative to groups I know of: the function IsMemberOf is only available with AD, not with LDAP, but this should have no issues with a Mail alias…
gbr
(Gerald Brandt)
March 23, 2021, 3:30pm
11
Not on NethServer. I have an EFA appliance sitting between the Internet and NethServer, but it’s letting the email through fine
In this sample gbr-wordtsar is the domain user, while gbr is the external email I entered.
Gerald
1 Like
gbr
(Gerald Brandt)
March 23, 2021, 3:40pm
12
So my virtual aliases for postfix looks like this:
Which doesn’t seem right to me.
Gerald
gbr
(Gerald Brandt)
March 23, 2021, 3:49pm
13
Removing the ‘gbr’ from the destinations list fixed the virtual file in PostFix to be right, and got rid of the bounce message, which makes sense.
It seems there may be a bug (or my misunderstanding) is NethServer. When I add external email addresses, they should not be added to the virtual file.
Gerald
Could you repost this as a Bug?
(Change Subject…)
gbr
(Gerald Brandt)
March 23, 2021, 4:39pm
15
Done. Thank you for your help.
1 Like
davidep
(Davide Principi)
March 24, 2021, 11:56am
16
Thank you for raising this issue Gerald!
I confirm the UI validation procedure allows the creation of a self-loop. I filed a bug here, stay tuned
opened 11:53AM - 24 Mar 21 UTC
The Email > Addresses page allows the creation of an invalid address record and a bad Postfix configuration. The resulting email...
bug
testing
4 Likes
davidep
(Davide Principi)
March 26, 2021, 2:17pm
17
@gbr do you want to test the bug fix?
Please run the following command
yum --enablerepo=nethserver-testing update nethserver-mail-common
The package in nethserver-testing should forbid the creation of self-loops in the Email > Addresses page.
Edit: the RPM has just been released
1 Like
davidep
(Davide Principi)
Closed
March 29, 2021, 4:00pm
18
This topic was automatically closed after 3 days. New replies are no longer allowed.