These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for SMTP Server for External Client? on the new forum.
Hey I'm using Mail for Mac OSX and I just recently setup webmin with virtualmin. I finally got my FTP working, and now I can send mail from webmin perfectly fine from webmin but I cannot receive it in webmin. When I am setting up the account in mail (external pop/imap client) I use my.domain.com for the POP server, then my pop3 username and pass, works. Then it prompts for smtp server and I put in the same info, but it said it couldn't reach an smtp server at that address. I am using sendmail, is there anything I need to do so I can send and receive mail through webmin as well as configuring accounts with an external client?
Thanks, Caleb
You don't mention the OS that you have webmin setup on.
First make sure make sure the path for mail delivery in readmail is the same as the path in sendmail. SOme OS don't support placing mail in the virtual server home directory but place it in the var/spool/mail directory.
Second, the usual culprit is that your bandwidth provider (dialup?) denies port 25 relaying without them including the IP in their allowed list. Or sendmail may be blocking the relay itself and you'll have to include the relay in your allowed relay list.
First, I am using CentOS 4.4, I am on cable internet and have several POP emails setup on other servers, so it should work if I can get these things to work correctly. In webmin it says "no mail for user in /var/spool/mail/*user*" In case I didn't make it clear in my original post, I am trying to acquire an smtp server to connect to. If you need anything else from me let me know.
Okay, Cable broadband is a spammers haven for blasting through port 25 so no problem.
Now in sendmail config, make sure that it's delivering to /var/spool/mail and not virtual servers home
I fixed it by changing the SMTP listen IP in the sendmail configuration to my main IP instead of 127.0.0.1. I still have two problems that remain though.
-User Disk Quotas?
-jailing FTP Users?
I haven't seen a box anywhere to limit people's disk usage, and any FTP user on an account has all permissions the the entire home folder.
Thanks,
Caleb
For quotas you need to go to the disk and network filesystems module and turn on quotas for the partition you want. (IE, click on the mounted partition) and then use the quotas module.
A word to the wise though, if you are running the virtual server through virtualmin, you want to do all the manipulation through the VM module as it keeps track of everything for that virtual server.
Howdy Caleb,
<i>-jailing FTP Users?</i>
This depends on your FTP server. Virtualmin supports ProFTPd and vsftpd (ProFTPd is the best support, but most others will also work, you just won't have a GUI for some of the options).
For ProFTPd browse to the ProFTPd module in Webmin, click on "Files and Directories" and find the option labeled "Limit users to directories" and set it to "Home directory" save and apply the changes. If you prefer to hit the command line for ProFTPd, add this line to /etc/proftpd.conf:
DefaultRoot ~ !adm
For vsftpd add this line to vsftpd.conf:
chroot_local_user=YES
And restart the service.
--
Check out the forum guidelines!
I am using a VPS also, and it is not giving me any option to enable quotas. I did get the FTP jail thing to work though, thanks for the help.
-Caleb