For my OpenBSD 4.0 mailserver I have the following packages installed:

postfix-2.3.2-mysql
mailman-2.1.8p3-postfix
courier-imap-3.0.5p4
courier-mysql-3.0.5p1
courier-pop3-3.0.5p1
courier-utils-1.7.0p2

Now I noticed that when I issue the 'mailq' command it shows my queues
are empty but when I use the 'postqueue' command it shows my queues are
quite full.

My findings:

$ which mailq
/usr/bin/mailq

$ ls -l /usr/bin/mailq
lrwxr-xr-x  1 root  wheel    21B Mar  6 08:23 /usr/bin/mailq ->
/usr/sbin/mailwrapper

$ grep mailq /etc/mailer.conf
mailq           /usr/libexec/sendmail/sendmail

Should this be pointing to /usr/local/sbin/mailq since

$ pkg_info -L postfix-2.3.2-mysql | grep sbin/mailq
/usr/local/sbin/mailq

The /usr/local/sbin/mailq command does provide a correct view of my
queues.

Juan







      Be smarter than spam. See how smart SpamGuard is at giving junk email the 
boot with the All-new Yahoo! Mail at http://mrd.mail.yahoo.com/try_beta?.intl=ca

Reply via email to