Quote:
Originally Posted by mail4vijay
Hi,
I have configured openwebmail + Sendmail on CentOS 5.4,. I configured as per the help giving in the url http://www.bluelavalamp.net/owmvirtual/
I setup admin account for virtual domain to manage virtual domain users
my settings per url
I am using sendmail but settings by default with postfix. And my problem is that when i create new user account from openwebmail url. New user account does not work at all. Looks like some issue as follow:
1. It gives error /etc/aliases need to change the ownership to mail user instead of root and then only it gets updated.
2. By default virtual users map gets updated via /usr/sbin/postmap command in my case sendmail makemap hash /etc/mail/virtusertable < /etc/mail/virtusertable..
Whe i use openwebmail portal ,my virtusertable database would not get updated and when i send email to newly added virtual users via openwebmail portal it shows me in /var/log/maillog
Username not found / .forward file is not group writable error.
Exact erro i m geting
Any help would be greatly appreciated.
|
I got this resolution somehow .....
I did change some settings in sendmail...as below.
[Quote]
1)Remove directory writable permission...
ls -ld /var/www/cgi-bin/openwebmail/etc/users
drwxr-xr-x 3 root mail 4096 Dec 10 18:50 /var/www/cgi-bin/openwebmail/etc/users
2)Change permission for virtusertable* to as below
ls -l virtusertable*
-rw-rw-r-- 1 root mail 364 Dec 11 18:25 virtusertable
-rw-rw---- 1 root mail 12288 Dec 11 18:26 virtusertable.db
3) Change permission for /etc/aliases
ls -l /etc/aliases
-rw-r--r-- 1 mail root 2381 Dec 11 18:25 /etc/aliases
4) After adding users via openwebmail url.. i have to run
/etc/init.d/sendmail reload
as i have changed permission to mail user /etc/aliases file to write from openwebmail...
Finally my user unknown error / group writeable dir resolved... But only thing i have to reload sendmail service at the end. as because my aliases user database cant not update automaticallly..
If any body have any suggestions / comments how to update aliases automatically through openwebmail that are welcomed.
Till then i am in good shape..
Cheers!!