On Fri, Jun 01, 2007 at 09:21:27AM -0400, Juan Miscaro wrote:
> 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.

You'll want to read just what Postfix prints on installation. (Notably,
run postfix-enable and edit crontab to remove the sendmail queue
runner.)

                Joachim

-- 
TFMotD: banner (1) - print strings in large letters

Reply via email to