FTP User Account Issue

Hello,

I have a couple issues here…

  1. when I create new users, I do not get the “download” and “upload” folders in the user folder. We have a working FTP that does this, but I cannot find the setting for how to set this up.
  2. When I delete a user, I get the error…"Failed to delete users : Failed to query Postfix config command to get the current value of parameter home_mailbox: /usr/sbin/postconf: fatal: parameter inet_interfaces: no local interface found for ::1. I have looked at this file but not specifically certain what I need to be looking for. I have “delete user in other modules” checked and “Delete users and home directories” also checked. In our working FTP this works as well.

Any assistance greatly appreciated.

Thanks,

Please provide your OS and Webmin version. Since this is in Webmin I’m assuming you don’t have Virtualmin installed?

Please see info below:

OS - Redhat Enterprise Linux 9.5
Webmin version – 2.303

I do not have virtualmin installed.

OK. Needed to make sure. Many here have the Virtualmin version of Webmin and it is different so we don’t even see what you see. Especially in this case it would seem.

I read on a old forum this section may fix the delete user error, are you using postfix?
You should just post one problem at a time not multiple issues per post.

Why would you expect that to happen? Have you added those directories to your skel directory or otherwise done something that would make that happen?

As for 2, please stick to one problem per topic.

https://forum.virtualmin.com/guidelines

Thanks all,

@Joe, my apologies for:
A. Expecting those folders to be there. These were built by a colleague that passed away in December and I’m trying to hobble it together, but it was left in limbo and not completely setup. I have zero experience with webmin largely. With that said, no folders were in the skel directory, but they’re there now and it’s working as expected. Thank you for that.
B. Submitting two issues at once. I’ll keep it to just one in the future. With that said, I am technically just down to issue #2 at this point.

@stefan1959, it does not appear I’m using postfix.

Thanks,

I feel like I ought to mention that using FTP in 2025 for something that would justify having upload and download folders is an unusual thing to do. That’s a thing you’d do to manage anonymous FTP, with authenticated uploads and some sort of moderation process, or maybe just an automatic copy/move, before making them available in downloads. There’s no standard for how that would be done (or used to be done, FTP is not widely used for anonymous downloads today for a lot of good reasons), but that’s kind of like deployments I’ve seen in the distant past for allowing users to upload files to be downloaded via anonymous FTP.

So, maybe think about what you’re actually doing with this layout and whether it makes sense today. I can’t think of any scenario where it would be optimal.

These are not anonymous and are locked down by firewall to specific clients when and if they need to send us files/images/etc. Its very lightly used and not really large files by any means. The reason why upload/download folders are there is because someone years ago had them in the old FTP servers and I wanted to make the same if possible. The other reason (I think is because it makes it simpler for our clients…I guess. Not doubting they don’t give any real benefit, but clients are used to seeing those as they have been baked out there for years off the older ones) Not sure of the reasoning years ago. Like I said, I dont setup FTP servers or keep up with current standards.

@stefan1959, the screenshot you sent pointed me in the right direction. It was set as postfix, but crosschecked the older one and it was using sendmail. Once I changed to sendmail, I was able to see all the user folders and also test a full deletion.

Thanks again all. Sorry for lack of knowledge on the software/setup/etc.

1 Like

Ok, I thought sendmail maybe default there.