Hi Urivan, Thursday, September 26, 2002, 11:37:19 AM, you wrote:
> Hi Ben, > This is how i have it working : > drwxr-xr-x 16 root root 4096 Aug 22 22:25 /etc > -rw-r--r-- 1 admin admin 4782 Sep 25 14:35 /etc/aliases > -rw-r--r-- 1 root root 12288 Sep 25 14:35 /etc/aliases.db >> Hi all, >> >> Has anyone managed to solve that "/etc/mail/aliases.db needs to be >> owned by root else sendmail hangs" problem? > I changed the owner of /etc/aliases.db and didnt have a problem with sendmail. > (?) It seems that I was building the aliases.db incorrectly (using "makemap hash aliases.db < aliases" instead of "newaliases") >> It effectively prevents admin users on a VS creating mail aliases. But surely it does as the admin users are unable to edit the aliases.db file?... [admin@vs1 mail]$ newaliases Permission denied [admin@vs1 mail]$ ... because newaliases can't write aliases.db when only root can write to it (well i think it should be able to because its a symlink to sendmail which is run suexec root but still...) > it shouldnt. Does sendmail is configured to run as root or admin ? I am using the default from FreeVSD 1.4.10 which seems to be (according to sendmail.cf ...) # default UID (can be username or userid:groupid) O DefaultUser=root:admin But strangely when I telnet to the smtp port on the VS, "ps -aux" shows that sendmail is running as the admin user and NOT root. :S Kind Regards, -- Ben Kennish [EMAIL PROTECTED] ------------------------- The freeVSD Support List -------------------------- Subscribe: mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support Archives: http://freevsd.org/support/mail-archives/freevsd-support -----------------------------------------------------------------------------
