Koozali.org: home of the SME Server

Alias problem

Offline netrs

  • *
  • 22
  • +0/-0
Alias problem
« on: August 22, 2019, 02:17:03 PM »
Helo.

My SME server has developed an error which I cant't fix in any way.

I have several domains on my server and when I create a new user and then an email alias, it si not possible to send mail to that alias.

Server reply with the message "recipient unknown"

In qmail log there is the line:

starting delivery 1: msg 6166506 to local alias-localdelivery-info@xxxxxx.xx

it shoul be:

starting delivery 10: msg 6166516 to local username-info@xxxxxxx.xx

Ca anybody help, please?



Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Alias problem
« Reply #1 on: August 22, 2019, 06:34:29 PM »
netrs

.......when I create a new user and then an email alias, it is not possible to send mail to that alias.......

I am not sure what your issue is, BUT sme server by default can accept mail for
user1-anything@yourdomain & deliver it to user1 Inbox, & so on for other users.
You can "make up" email addresses "on the fly" so to speak without having to add or configure them in sme server.

So you really do not need to create an alias. Maybe your alias creation nethod is in error or conflicts with sme server defaults.
Try removing the alias & send to user-info@xxxxxxxx

To troubleshoot further, you need to tell us a lot more about your server, contribs & custom templates installed etc.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline netrs

  • *
  • 22
  • +0/-0
Re: Alias problem
« Reply #2 on: August 22, 2019, 10:20:28 PM »
I apologyze for not being ckear enough. English is not my native language.

When creating a user in sme manager you get automatic creation if two emails with the default domain. Those two emails are working fine.

But if I try to make a alias email for another domain on the server which is linked to the username, that mail doesnt work. It creates fine, without an error, but I get the errors specified in my first post.
It was working fine for many years and then suddenly stoped. So now I cant add an email for any doman histing on my server.
I’m dealing with this problem for some time now. My next step I guess is to make a new clean install and restore the last backup.

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Alias problem
« Reply #3 on: August 23, 2019, 01:57:06 AM »
netrs

Are you referring to the Pseudonyms panel in server manager ?

Where & how do you create an alias ?

Please read the Pseudonyms section of the Manual, it explains how Pseudonyms work with multiple domains & limitations that apply.

You say "It was working fine for many years and then suddenly stoped".

So what changes did you make to the server ?

Please give full example of what you do, & what you expect to happen, & advise us what actually happens, step by step please.

Quote
My next step I guess is to make a new clean install and restore the last backup.

That might fix the problem but it also might NOT fix the problem. At this stage the problem has not been identified so it is guessing.

You need to tell us the history of the server & what changes you have made etc.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline netrs

  • *
  • 22
  • +0/-0
Re: Alias problem
« Reply #4 on: August 23, 2019, 08:06:36 AM »
Thanks for your replays.

I have checked the online documents of  SME and yes the pseudonyms are the problem. I have the
SME manager in my native language so I was wrongly talking about aliases instead of pseudonyms.

The problem is when I create a pseudonym, the forwarding to the user being associated with the pseudonym doesnt work.

I receive the replay email "recipient unknown". IN the pseudonyme panel on the SME manager everything looks OK and when I link the username with the pseudonyme no errors are displayed.


Offline janet

  • ****
  • 4,812
  • +0/-0
Re: Alias problem
« Reply #5 on: August 23, 2019, 09:37:56 AM »
netrs

OK so pseudonyms are the problem area.

What changes did you make to the server just before this problem started ?

I am going on holidays tonite so someone else can take over assisting this query.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Alias problem
« Reply #6 on: August 23, 2019, 01:28:49 PM »
The OP needs to tell us some history and what was changed and when.

It worked 'before' something changed.

It didn't work 'after' something changed.

When? What did you do? Any errors in your logs?
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Alias problem
« Reply #7 on: August 23, 2019, 01:29:46 PM »
I am going on holidays tonite so someone else can take over assisting this query.

Have a great break !!!!
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline netrs

  • *
  • 22
  • +0/-0
Re: Alias problem
« Reply #8 on: August 23, 2019, 03:02:18 PM »
Thank you for all the answers.

This server is going on from version 6.0 for nearly 16 years. We have made some changes to it. The last was to implement a comercial SSL certificate because we have problems with google and their security policy - it didn't work. Google is still saying that "our domain is not encript this message" and put our emails in spam folder of their recipients. This is another issue I have to deal with.

I really dont have a history of changes. I know we should have it, but we don't.

So, can you help me withought a history of changes made to the server?

I'm ready to give any informattion that can help you to solve my problem.

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Alias problem
« Reply #9 on: August 23, 2019, 06:30:41 PM »
Please don't confuse things.

Pseudonyms are for incoming mail.

Ssl is for outgoing mail. Leave that for now (DKIM etc).

So when did this first occur? A week ago? A month? After some updates?

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline netrs

  • *
  • 22
  • +0/-0
Re: Alias problem
« Reply #10 on: August 23, 2019, 07:28:34 PM »
I’m dealing with this issue for about five months now. And I really can’t tell when exactly this occour, because I do not add new users every day.

Now I have to add one new and I cant.

Offline netrs

  • *
  • 22
  • +0/-0
Re: Alias problem
« Reply #11 on: August 23, 2019, 07:31:58 PM »
I can make a team viewer connection to my server if someone is interested and show exactly where the problem is.

Offline netrs

  • *
  • 22
  • +0/-0
Re: Alias problem
« Reply #12 on: August 26, 2019, 04:00:58 PM »
Help, please?

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Alias problem
« Reply #13 on: August 26, 2019, 08:07:07 PM »
We'll help if and when we can. This is not our job.

So it first occurred 5 months ago? Why did you leave it so long to report?

You are not making it easy to try and find the problem.

What do your logs say when you add a new pseudonym?

Watch the log when you add a pseudonym.

Code: [Select]
tail -f /var/log/messages
Please go to your server manager and run a 'bug report' and paste the results here or pastebin/gist please. Perhaps we can see what you have done to your server.

...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline netrs

  • *
  • 22
  • +0/-0
Re: Alias problem
« Reply #14 on: August 27, 2019, 08:10:15 AM »
Thanks for the answer.

« Last Edit: August 27, 2019, 08:12:03 AM by netrs »