Am 02.08.2013 11:49, schrieb Nataraj S Narayan: > Please give me the owners and permissions of these needed by dbmail:- > '/var/tmp/dbmail.db'
i would never place a database in /var/tmp because it is *no* temporary data and tmpwatch or whatever cleanup could become your enemy from one day to another > '/var/run/dbmail-lmtpd.pid' the ones you configured as "effective_user" and "effective_group" they are created at start and deleted at stop from the daemons so you can not set the permissions of the file itself most likely the problem is "/var/run/dbmail-lmtpd.pid" instead of "/var/run/dbmail/dbmail-lmtpd.pid" and so the owner of the folder would be the user dbmail is running with and no, the parent /var/run should not be writeable for everybody dbmail.conf: "pid_directory = /var/run/dbmail" [root@srv-rhsoft:~]$ stat /var/run/dbmail/ File: '/var/run/dbmail/' Size: 100 Blocks: 0 IO Block: 4096 directory Device: 10h/16d Inode: 15469 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 496/ dbmail) Gid: ( 494/ dbmail) Access: 2013-08-02 09:11:20.249940617 +0200 Modify: 2013-08-02 09:11:30.300814964 +0200 Change: 2013-08-02 09:11:30.300814964 +0200 Birth: - [root@srv-rhsoft:~]$ ls /var/run/dbmail/ total 12K -rw-r--r-- 1 dbmail dbmail 5 2013-08-02 09:11 dbmail-imapd.pid -rw-r--r-- 1 dbmail dbmail 5 2013-08-02 09:11 dbmail-lmtpd.pid -rw-r--r-- 1 dbmail dbmail 5 2013-08-02 09:11 dbmail-timsieved.pid > My dbmail.conf:- > > [DBMAIL] > dburi = sqlite:///var/tmp/dbmail.db > authdriver = sql > table_prefix = dbmail_ > encoding = utf8 > default_msg_encoding = utf8 > sendmail = /usr/sbin/sendmail > file_logging_levels = 7 > syslog_logging_levels = 31 > query_time_info = 10 > query_time_notice = 20 > query_time_warning = 30 > query_timeout = 300 > effective_user = nobody > effective_group = nogroup > pid_directory = /var/run
signature.asc
Description: OpenPGP digital signature
_______________________________________________ DBmail mailing list [email protected] http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail
