Hej Timo,

On Fri, 1 Jun 2007 16:34:41 +0200, Timo Schoeler <[EMAIL PROTECTED]> wrote:
> Thus Juan Miscaro <[EMAIL PROTECTED]> spake on Fri, 1 Jun 2007 09:21:27
> -0400 (EDT):
> 
>> 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 read what postfix-enable said?
> 
did you read his eMail?

>> NOTE: do not forget to add sendmail_flags="-bd" to
>>       /etc/rc.conf.local to startup postfix correctly.
>>
has nothing to do with his problem.

>> NOTE: do not forget to add "-a /var/spool/postfix/dev/log" to
>>       syslogd_flags in /etc/rc.conf.local and restart syslogd.
has nothing to do with his problem.

>>
>> NOTE: do not forget to remove the "sendmail clientmqueue runner"
>>       from root's crontab.
has nothing to do with his problem.

What he's pointing out is, that /etc/mailer.conf should probably point to 
/usr/local/sbin/mailq
Although this seems to make no sense, either:

ls -l /usr/local/sbin/mailq 
lrwxr-xr-x  1 root  wheel  32 Jan  5 17:56 /usr/local/sbin/mailq -> 
../../../usr/local/sbin/sendmail

Pointing it to /usr/local/sbin/postqueue makes no sense either, because running 
postqueue would need the parameter -p to get the same output as running 
"mailq". So it would break POLA.

hhmm...

confusing.

./Marian

Reply via email to