Bluehost.com Web Hosting $6.95

Re: /var/spool/postfix--postfix check issue

This is a discussion on Re: /var/spool/postfix--postfix check issue within the mailing.postfix.users forums, part of the Mail Servers and Related category; Here's that output: + ls -lLd /usr/libexec/postfix + grep ' root ' + ls -lLd /etc/postfix + grep ' root ' + ls -lLd /var/...


Go Back   Usenet Forums > Mail Servers and Related > mailing.postfix.users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2004
Anne Ramey
 
Posts: n/a
Default Re: /var/spool/postfix--postfix check issue

Here's that output:

+ ls -lLd /usr/libexec/postfix
+ grep ' root '
+ ls -lLd /etc/postfix
+ grep ' root '
+ ls -lLd /var/spool/postfix
+ grep ' root '
+ find /usr/libexec/postfix/bounce /usr/libexec/postfix/cleanup
/usr/libexec/postfix/error /usr/libexec/postfix/flush
/usr/libexec/postfix/lmtp /usr/libexec/postfix/local
/usr/libexec/postfix/master /usr/libexec/postfix/nqmgr
/usr/libexec/postfix/pickup /usr/libexec/postfix/pipe
/usr/libexec/postfix/post-install /usr/libexec/postfix/postfix-files
/usr/libexec/postfix/postfix-script /usr/libexec/postfix/proxymap
/usr/libexec/postfix/qmgr /usr/libexec/postfix/qmqpd
/usr/libexec/postfix/showq /usr/libexec/postfix/smtp
/usr/libexec/postfix/smtpd /usr/libexec/postfix/spawn
/usr/libexec/postfix/trivial-rewrite /usr/libexec/postfix/verify
/usr/libexec/postfix/virtual /etc/postfix/LICENSE /etc/postfix/access
/etc/postfix/access.db /etc/postfix/aliases /etc/postfix/aliases.db
/etc/postfix/aliases.mailman /etc/postfix/aliases.mailman.db
/etc/postfix/body_checks /etc/postfix/canonical /etc/postfix/checkop
/etc/postfix/cidr_table /etc/postfix/header_checks /etc/postfix/main.cf
/etc/postfix/main.cf.default /etc/postfix/makedefs.out
/etc/postfix/master.cf /etc/postfix/pcre_table
/etc/postfix/post-install /etc/postfix/postfix-files
/etc/postfix/postfix-script /etc/postfix/readme /etc/postfix/readmes
/etc/postfix/recip_checks /etc/postfix/recip_checks.db
/etc/postfix/regexp_table /etc/postfix/reject
/etc/postfix/reject_ip_addresses /etc/postfix/reject_ip_addresses.db
/etc/postfix/relay-domains /etc/postfix/relay-domains.db
/etc/postfix/relocated /etc/postfix/sample /etc/postfix/samples
/etc/postfix/tcp_table /etc/postfix/transport /etc/postfix/transport.cf
/etc/postfix/transport.old /etc/postfix/virtual /etc/postfix/virtual.cf
/etc/postfix/virtual.cf.db '!' -user root -exec /usr/sbin/postlog -t
postfix/postfix-script -p warn not owned by root: '{}' ';'
+ find /usr/libexec/postfix/. /etc/postfix/. '(' -perm -020 -o -perm
-002 ')' -type f -exec /usr/sbin/postlog -t postfix/postfix-script -p
warn group or other writable: '{}' ';'
+ /bin/sh /etc/postfix/post-install create-missing
++ ls /var/spool/postfix/active /var/spool/postfix/bounce
/var/spool/postfix/corrupt /var/spool/postfix/defer
/var/spool/postfix/deferred /var/spool/postfix/flush
/var/spool/postfix/hold /var/spool/postfix/incoming
/var/spool/postfix/maildrop /var/spool/postfix/pid
/var/spool/postfix/private /var/spool/postfix/public
/var/spool/postfix/trace
++ egrep
'/
(incoming|active|defer|deferred|bounce|hold|trace| corrupt|public|private
|flush)$'
+ find '!' '(' -type p -o -type s ')' '!' -user postfix -exec
/usr/sbin/postlog -t postfix/postfix-script -p warn not owned by
postfix: '{}' ';'
postfix/postfix-script: warning: not owned by postfix: .
+ find /var/spool/postfix/public /var/spool/postfix/maildrop
/usr/sbin/postqueue /usr/sbin/postdrop -prune '!' -group mail -exec
/usr/sbin/postlog -t postfix/postfix-script -p warn not owned by group
mail: '{}' ';'
+ find /usr/sbin/postqueue /usr/sbin/postdrop -prune '!' -perm -02111
-exec /usr/sbin/postlog -t postfix/postfix-script -p warn not set-gid
or not owner+group+world executable: '{}' ';'
++ ls -d /var/spool/postfix/active /var/spool/postfix/bounce
/var/spool/postfix/corrupt /var/spool/postfix/defer
/var/spool/postfix/deferred /var/spool/postfix/flush
/var/spool/postfix/hold /var/spool/postfix/incoming
/var/spool/postfix/maildrop /var/spool/postfix/pid
/var/spool/postfix/private /var/spool/postfix/public
/var/spool/postfix/trace
++ egrep '/(bin|etc|lib|usr)$'
+ find /var/spool/postfix/maildrop/. -prune '!' -user postfix -exec
/usr/sbin/postlog -t postfix/postfix-script -p warn not owned by
postfix: /var/spool/postfix/maildrop ';'
+ test -d bin
+ test -d etc
+ test -d lib
+ test -d sbin
+ test -d usr
+ test -f /etc/postfix/master.cf
+ /usr/sbin/postsuper
+ find corrupt -type f -exec /usr/sbin/postlog -t
postfix/postfix-script -p warn damaged message: '{}' ';'
+ test -f /usr/sbin/sendmail -a -f /usr/lib/sendmail
+ exit 0

On Feb 26, 2004, at 10:36 AM, Wietse Venema wrote:

> Anne Ramey:
>> Same-same. After I run that I get:
>> postfix/postfix-script: warning: not owned by postfix: .
>> postfix/postfix-script: warning: not owned by postfix: ./pid
>>
>> I can fix the second, but the first gives me the same back and forth.

>
> Can you edit the postfix-script file and insert one line:
>
> check)
>
> INSERT THIS -> set -x
>
> for dir in $daemon_directory $config_directory ...
>
> and run the following commands as root:
>
> script foobar
> postfix check
> exit
>
> and share the output as captured in the foobar file.
>
> Wietse
>

Anne Ramey
Network Administrator
Blast Internet Services
919-545-2521 (800)-24-BLAST
http://www.blast.com

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:57 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0