Thus Juan Miscaro <[EMAIL PROTECTED]> spake on Fri, 1 Jun 2007 09:21:27
-0400 (EDT):

> 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

Hi,

you read what postfix-enable said?

> NOTE: do not forget to add sendmail_flags="-bd" to
>       /etc/rc.conf.local to startup postfix correctly.
> 
> NOTE: do not forget to add "-a /var/spool/postfix/dev/log" to
>       syslogd_flags in /etc/rc.conf.local and restart syslogd.
> 
> NOTE: do not forget to remove the "sendmail clientmqueue runner"
>       from root's crontab.

HTH,

Timo

-- 
It wasn't that she had a rose in her teeth, exactly.  It was more like
the rose and the teeth were in the same glass.

Reply via email to