Can't edit mail users in 4.0 GPL

7 posts / 0 new
Last post
#1 Wed, 05/22/2013 - 13:42
scott.s

Can't edit mail users in 4.0 GPL

Debian 7 64bit, virtualmin 4.00 GPL

All mail is working fine in all areas (usermin, mail clients, roundcube). However, in VirtualMin if I click "Edit Users", select a user and make changes I get an error when I click the "save" button:

"Failed to save mailbox : No mail program was found on your system!"

mail-utils is installed (provides the mail command), procmail is installed as well as -lib and -wrapper, DoveCott is installed, PostFix is installed

I have looked all over google as well as VirtualMin's config and it's configured to use PostFix in the WebMin module config.

thanks

Wed, 05/22/2013 - 15:15
andreychek

Howdy,

Did you upgrade from Debian 6? Or did you perform a Debian 7 install, followed by installing Virtualmin?

If you go into System Settings -> Re-Check Config, does it detect any problems?

-Eric

Sat, 05/25/2013 - 16:08 (Reply to #2)
scott.s

No other guesses?

Wed, 05/22/2013 - 16:00
scott.s

Installed Debian 7
Installed Webmin
Installed virtualmin a few times (so it's a dirty install)

Virtualmin it's self is not sending mails (account creation/update). Users can send/receive mail just fine.

scott@shell1:~$ whereis mail
mail: /usr/bin/mail.mailutils /usr/bin/mail /etc/mail.rc /etc/mail /usr/bin/X11/mail.mailutils /usr/bin/X11/mail /usr/share/man/man1/mail.1.gz

--

The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active ..

Your system has 31.37 GB of memory, which is at or above the Virtualmin recommended minimum of 256 MB.

BIND DNS server is installed, and the system is configured to use it.

Mail server Postfix is installed and configured.

Postfix can support per-domain outgoing IP addresses, but is not currently configured to do so. This can be setup in the Postfix Mailserver module.

Apache is installed.

The following PHP versions are available : 5.4.4 (/usr/bin/php5-cgi)

Webalizer is installed.

Apache is configured to host SSL websites.

MySQL is installed and running.

ProFTPd is installed.

Logrotate is installed.

SpamAssassin and Procmail are installed and configured for use.

ClamAV is installed and assumed to be running.

Using network interface eth0 for virtual IPs.

IPv6 addresses are available, using interface eth0.

Default IP address for virtual servers is 76.73.7.50.

Default IP address is set to 76.73.7.50, which matches the detected external address.

User quotas are enabled for home and email directories, but group quotas are not. Total virtual server quotas will not be enforced.

All commands needed to create and restore backups are installed.

The selected package management and update systems are installed OK.

.. your system is ready for use by Virtualmin.

Thu, 05/23/2013 - 14:04
scott.s

As an update, I have disabled virtualmin sending emails to users for account creation and account updates as well as emails for virtual server create and it works without error. If I then enable sending the emails I get that error again.

"Failed to save mailbox : No mail program was found on your system!"

That makes me assume that Virtualmin doesn't know the correct path to the mail command.

Sun, 05/26/2013 - 15:45
andreychek

It appears as if it looks for the command "sendmail" when running Postfix or Sendmail.

What does this command output on your system:

which sendmail

Also, if you go into Server Configuration -> Server Settings, what is "Mail server to configure" set to?

-Eric

Sun, 05/26/2013 - 17:31
scott.s

UPDATE:

I reinstalled postfix and this seemed to have fixed the issue.

Topic locked