Unable to save auto responder

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.5
Webmin version 2.501
Virtualmin version 7.40.0
Webserver version Apache version 2.4.52 (PHP versions 8.1.2)

When I try to save my autoresponder in Virtualmin > Edit Users > User > Email Settings, I get:

Failed to save user : Failed to link /home/domain.com/autoreply-name@domain.com.txt to , /var/virtualmin-autoreply/1684835746898769-autoreply-name@domain.com.txt

It seems like it may be a permission issue. No file is being created in the /var/virtualmin-autoreply/ directory even after checking and setting permissions to be 777.

I read that this folder should be owned by a user named virtualmin-autoreply, mine was owned by root. I didn’t have this user created, so I manually created it, changed ownership of it and reset all permissions. Still no luck.

When I tried to save my auto responder / autoreply I got the error from above. When I send an email to that same email address that I’ve just tried to save, I do get an auto-reply email that says:

Failed to open autoreply file /home/domain.com/autoreply-name@domain.com.txt : No such file or directory.

Other:

  • I’ve tried updating all packages on my server.
  • This is an email server only, using Virtualmin, Webmin, Dovecot, Postfix, Roundcube, etc. (most of the standard items).
  • I do have quotas set, but they are set to 500gb right now for testing, far beyond what’s needed.
  • Autoresponders on this server have never worked (for any of the virtual server setups).
  • I can’t seem to find anything in the log files, not sure if I’m looking in the wrong ones.

Any help is greatly appreciated!

Do you need it to be a file? It can be done in the GUI.

Yes, that’s where I’m trying to save it and I’m seeing the error.

I’ve updated the post to clarify some of the details and efforts. Please let me know any ideas or direction.

Hmmm… I haven’t updated yet so I’m still on

SYSTEM INFORMATION
OS type and version Debian Linux 11
Usermin version 2.302
Virtualmin version 7.30.8
Theme version 24.02
Package updates 3 package updates are available

I just created this. |

-rw-r--r--  2 tadmin tadmin  104 Sep 10 16:35 autoreply-tadmin.txt

Have you tried creating it in Usermin?

Sorry for my delay..

Yes, @ID10T, creating directly in usermin seems to be working. It will successfully deliver the autoreply message.

When doing it this way, I do not see any files in the /var/virtualmin-autoreply/ directory, but I do see the autoreply.0.txt file in the /home/domain.com/homes/myName/ directory.

This does give me a workaround, thank you. Does this also help point to the a possible answer for why it is not working in the first place?

Have you tried creating a new virtual server and testing with a user in the new server. Works fine on my system.

Is this configurable somewhere? Mine showed up under the /home/xxx directory.

@ID10T Did yours show up under /home/xxx when creating/saving it in:

Virtualmin > Edit Users > User > Email Settings

as well? That’s where I’m seeing the error.

@stefan1959 Yes, I have several virtual servers (new and old), it’s the same error on every one of them.

Yeah. I don’t have a clue as to the different paths.

That’s weird… I’m not sure where to set where it saves… but odd that I am saving it to different paths then you on a standard installation.

I only knew the path from your error message, so, that’s where I checked when I tried to save.

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.5
Usermin version 2.400
Virtualmin version 7.40.0
Theme version 25.01
Apache version 2.4.52
Package updates 2 package updates are available

I have the same system. Mine works fine with new and old virtual servers. I am assuming you do not have a (.) in your your server directory under /home/ like /domain.com/

Maybe you do ave a permissions problem. These are my permissions that have not been altered: