View Single Post
  #3  
Old 1st April 2009, 19:51
pwaterz pwaterz is offline
Junior Member
 
Join Date: Apr 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default

my_virtual_domains.cf looks like this
user = mail_admin
password = xxx
dbname = mail
query = SELECT domain AS virtual FROM domains WHERE domain='%s'
hosts = 127.0.0.1

also here is the output of ps aux

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 3084 1888 ? Ss Mar31 0:01 /sbin/init
root 2 0.0 0.0 0 0 ? S< Mar31 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S< Mar31 0:00 [migration/0]
root 4 0.0 0.0 0 0 ? S< Mar31 0:00 [ksoftirqd/0]
root 5 0.0 0.0 0 0 ? S< Mar31 0:00 [watchdog/0]
root 6 0.0 0.0 0 0 ? S< Mar31 0:00 [migration/1]
root 7 0.0 0.0 0 0 ? S< Mar31 0:00 [ksoftirqd/1]
root 8 0.0 0.0 0 0 ? S< Mar31 0:00 [watchdog/1]
root 9 0.0 0.0 0 0 ? S< Mar31 0:00 [events/0]
root 10 0.0 0.0 0 0 ? S< Mar31 0:00 [events/1]
root 11 0.0 0.0 0 0 ? S< Mar31 0:00 [khelper]
root 12 0.0 0.0 0 0 ? S< Mar31 0:00 [kstop/0]
root 13 0.0 0.0 0 0 ? S< Mar31 0:00 [kstop/1]
root 14 0.0 0.0 0 0 ? S< Mar31 0:00 [kintegrityd/0]
root 15 0.0 0.0 0 0 ? S< Mar31 0:00 [kintegrityd/1]
root 16 0.0 0.0 0 0 ? S< Mar31 0:00 [kblockd/0]
root 17 0.0 0.0 0 0 ? S< Mar31 0:00 [kblockd/1]
root 18 0.0 0.0 0 0 ? S< Mar31 0:00 [kacpid]
root 19 0.0 0.0 0 0 ? S< Mar31 0:00 [kacpi_notify]
root 20 0.0 0.0 0 0 ? S< Mar31 0:00 [cqueue]
root 21 0.0 0.0 0 0 ? S< Mar31 0:00 [ata/0]
root 22 0.0 0.0 0 0 ? S< Mar31 0:00 [ata/1]
root 23 0.0 0.0 0 0 ? S< Mar31 0:00 [ata_aux]
root 24 0.0 0.0 0 0 ? S< Mar31 0:00 [ksuspend_usbd]
root 25 0.0 0.0 0 0 ? S< Mar31 0:00 [khubd]
root 26 0.0 0.0 0 0 ? S< Mar31 0:00 [kseriod]
root 27 0.0 0.0 0 0 ? S< Mar31 0:00 [kmmcd]
root 28 0.0 0.0 0 0 ? S< Mar31 0:00 [btaddconn]
root 29 0.0 0.0 0 0 ? S< Mar31 0:00 [btdelconn]
root 30 0.0 0.0 0 0 ? S Mar31 0:00 [pdflush]
root 31 0.0 0.0 0 0 ? S Mar31 0:03 [pdflush]
root 32 0.0 0.0 0 0 ? S< Mar31 0:00 [kswapd0]
root 33 0.0 0.0 0 0 ? S< Mar31 0:00 [aio/0]
root 34 0.0 0.0 0 0 ? S< Mar31 0:00 [aio/1]
root 35 0.0 0.0 0 0 ? S< Mar31 0:00 [ecryptfs-kthrea]
root 38 0.0 0.0 0 0 ? S< Mar31 0:00 [scsi_eh_0]
root 39 0.0 0.0 0 0 ? S< Mar31 0:00 [scsi_eh_1]
root 40 0.0 0.0 0 0 ? S< Mar31 0:00 [kstriped]
root 41 0.0 0.0 0 0 ? S< Mar31 0:00 [kmpathd/0]
root 42 0.0 0.0 0 0 ? S< Mar31 0:00 [kmpathd/1]
root 43 0.0 0.0 0 0 ? S< Mar31 0:00 [kmpath_handlerd]
root 44 0.0 0.0 0 0 ? S< Mar31 0:00 [ksnapd]
root 45 0.0 0.0 0 0 ? S< Mar31 0:00 [kondemand/0]
root 46 0.0 0.0 0 0 ? S< Mar31 0:00 [kondemand/1]
root 47 0.0 0.0 0 0 ? S< Mar31 0:00 [krfcommd]
root 581 0.0 0.0 0 0 ? S< Mar31 0:02 [kjournald]
root 668 0.0 0.0 2224 536 ? S<s Mar31 0:00 /sbin/udevd --daemon
postfix 1327 0.0 0.0 6168 2548 ? S 11:04 0:00 tlsmgr -l -t unix -u -c
postfix 1927 0.0 0.0 5792 1692 ? S 11:22 0:00 pickup -l -t fifo -u -c
root 1982 0.0 0.0 1808 532 tty4 Ss+ Mar31 0:00 /sbin/getty 38400 tty4
root 1983 0.0 0.0 1808 532 tty5 Ss+ Mar31 0:00 /sbin/getty 38400 tty5
root 1986 0.0 0.0 1808 532 tty2 Ss+ Mar31 0:00 /sbin/getty 38400 tty2
root 1987 0.0 0.0 1808 528 tty3 Ss+ Mar31 0:00 /sbin/getty 38400 tty3
root 1988 0.0 0.0 1808 528 tty6 Ss+ Mar31 0:00 /sbin/getty 38400 tty6
syslog 2035 0.0 0.0 2040 696 ? Ss Mar31 0:00 /sbin/syslogd -u syslog
root 2053 0.0 0.0 1968 536 ? S Mar31 0:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg
klog 2055 0.0 0.0 3620 2388 ? Ss Mar31 0:00 /sbin/klogd -P /var/run/klogd/kmsg
104 2073 0.0 0.0 2672 844 ? Ss Mar31 0:01 /bin/dbus-daemon --system
bind 2094 0.0 0.5 63528 22176 ? Ssl Mar31 0:00 /usr/sbin/named -u bind
root 2116 0.0 0.0 5436 1076 ? Ss Mar31 0:00 /usr/sbin/sshd
root 2274 0.0 0.0 1996 476 ? S Mar31 0:00 /usr/sbin/courierlogger -pid=/var/run/courier/authdaemon/pid -start /usr/lib/courier/courier-authlib/authdaemo
root 2275 0.0 0.0 4528 1080 ? S Mar31 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 2313 0.0 0.0 4528 372 ? S Mar31 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 2314 0.0 0.0 4528 372 ? S Mar31 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 2315 0.0 0.0 4528 372 ? S Mar31 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 2316 0.0 0.0 4528 372 ? S Mar31 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 2317 0.0 0.0 4528 372 ? S Mar31 0:00 /usr/lib/courier/courier-authlib/authdaemond
root 2480 0.0 0.0 8416 876 ? Ss Mar31 0:00 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -r -n 5
root 2481 0.0 0.0 8416 512 ? S Mar31 0:00 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -r -n 5
root 2482 0.0 0.0 8416 428 ? S Mar31 0:00 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -r -n 5
root 2483 0.0 0.0 8416 428 ? S Mar31 0:00 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -r -n 5
root 2484 0.0 0.0 8416 428 ? S Mar31 0:00 /usr/sbin/saslauthd -a pam -c -m /var/spool/postfix/var/run/saslauthd -r -n 5
snmp 2499 0.0 0.1 9108 4244 ? S Mar31 0:12 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1
daemon 2550 0.0 0.0 2096 456 ? Ss Mar31 0:00 /usr/sbin/atd
root 2575 0.0 0.0 3480 1036 ? Ss Mar31 0:00 /usr/sbin/cron
root 2594 0.0 0.1 34276 8168 ? Ss Mar31 0:00 /usr/sbin/apache2 -k start
www-data 2620 0.0 0.2 37668 11296 ? S Mar31 0:01 /usr/sbin/apache2 -k start
root 2621 0.0 0.1 10296 6168 ? Ss Mar31 0:00 /usr/bin/perl /usr/share/webmin/miniserv.pl /etc/webmin/miniserv.conf
root 2622 0.0 0.0 1808 528 tty1 Ss+ Mar31 0:00 /sbin/getty 38400 tty1
root 2628 0.0 0.0 17948 3696 ? Ssl Mar31 0:03 /usr/sbin/console-kit-daemon
root 2897 0.0 0.0 2768 1028 pts/1 R+ 11:53 0:00 ps aux
www-data 3060 0.0 0.2 37608 11388 ? S Mar31 0:01 /usr/sbin/apache2 -k start
www-data 3681 0.0 0.2 37600 10828 ? S Mar31 0:00 /usr/sbin/apache2 -k start
www-data 11484 0.0 0.2 37428 11204 ? S Mar31 0:00 /usr/sbin/apache2 -k start
www-data 11493 0.0 0.2 37204 11300 ? S Mar31 0:00 /usr/sbin/apache2 -k start
root 11559 0.0 0.0 3968 1368 ? S Mar31 0:00 /bin/sh /usr/bin/mysqld_safe
mysql 11598 0.0 0.4 129708 18784 ? Sl Mar31 0:13 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --
root 11599 0.0 0.0 3052 704 ? S Mar31 0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
www-data 11941 0.0 0.2 37336 10676 ? S Mar31 0:00 /usr/sbin/apache2 -k start
www-data 12069 0.0 0.2 37444 10760 ? S Mar31 0:00 /usr/sbin/apache2 -k start
www-data 12319 0.0 0.2 37140 10568 ? S 00:02 0:00 /usr/sbin/apache2 -k start
root 26644 0.0 0.1 12600 4464 ? Ss 08:01 0:00 sshd: patrick [priv]
patrick 26652 0.0 0.0 12600 1968 ? S 08:01 0:00 sshd: patrick@pts/0
patrick 26653 0.0 0.0 5764 3076 pts/0 Ss+ 08:01 0:00 -bash
root 27431 0.0 0.0 5780 1772 ? Ss 08:02 0:00 /usr/lib/postfix/master
postfix 27434 0.0 0.0 5836 1744 ? S 08:02 0:00 qmgr -l -t fifo -u
www-data 28875 0.0 0.2 37400 10688 ? S 08:41 0:00 /usr/sbin/apache2 -k start
www-data 28988 0.0 0.1 34828 5384 ? S 08:46 0:00 /usr/sbin/apache2 -k start
root 29202 0.0 0.1 12600 4440 ? Ss 08:50 0:00 sshd: patrick [priv]
patrick 29210 0.0 0.0 12956 2388 ? S 08:50 0:03 sshd: patrick@notty
patrick 29211 0.0 0.0 5272 1980 ? Ss 08:50 0:01 /usr/lib/openssh/sftp-server
root 29304 0.0 0.1 12600 4468 ? Ss 08:54 0:00 sshd: patrick [priv]
patrick 29312 0.0 0.0 12764 2088 ? S 08:54 0:00 sshd: patrick@pts/1
patrick 29313 0.0 0.0 5764 3044 pts/1 Ss 08:54 0:00 -bash
root 29437 0.0 0.0 8300 2372 pts/1 S 08:56 0:00 su
root 29444 0.0 0.0 4376 1924 pts/1 S 08:56 0:00 bash

Last edited by pwaterz; 1st April 2009 at 19:54.
Reply With Quote