** At 22:16 -0400 on 08/16/2008, Wietse Venema wrote:
>Vince Sabio:
>> I suspect that I actually have two different versions of postfix
>> installed -- and different commands are being executed by different
>> versions. Any idea how to fix this without breaking things farther?
>
>Indeed. Some maintainers change the default config_directory
>from /etc/postfix to something like /usr/local/etc/postfix.

That is the case here. Since I don't like to delete anything (after an upgrade) 
until I've ben running without incident for a while, I made the following 
changes:

# mv /usr/local/etc/postfix{,.sav}
# ln -s /etc/postfix /usr/local/etc/postfix

I found that I had to change "postdrop" to "maildrop" in main.cf (the upgrade 
had installed a maildrop in /etc/group; I tried changing things back to 
postdrop without success; when I threw in the towel and changed back to 
maildrop, Postfix seemed to start up.)

>If you have files from Wietse's Postfix and from "maintainer"
>Postfix installed at the same time, things will be very confused.

Sounds like that might be the case....

>Time for:
># find / -name postfix -ls

ares-root# find / -name postfix -ls
1162050        4 drwxr-xr-x    2 root     wheel    512 Feb  4  2004 
/usr/libexec/postfix
 683822        4 -r-xr-xr-x    1 root     wheel   1201 Aug 15 02:26 
/usr/local/etc/rc.d/postfix
 754679        0 lrwxr-xr-x    1 root     wheel     12 Aug 16 20:38 
/usr/local/etc/postfix -> /etc/postfix
 754644        4 drwxr-xr-x    2 root     wheel    512 Aug 15 01:46 
/usr/local/libexec/postfix
 683732      176 -rwxr-xr-x    1 root     wheel  89147 Aug 15 01:46 
/usr/local/sbin/postfix
 754645       12 dr-xr-xr-x    2 root     wheel   4608 Aug 15 02:26 
/usr/local/share/doc/postfix
 306589        4 -rwxr-xr-x    1 root     wheel   1018 Jun 13  2002 
/usr/src/etc/rc.d/postfix
1162732        4 drwxr-xr-x    3 root     wheel    512 Aug 15 02:26 
/usr/ports/mail/postfix
1257737        4 drwxr-xr-x    2 root     wheel    512 Aug 14 12:16 
/usr/ports/distfiles/postfix
 235524        4 drwxr-xr-x    2 root     wheel    512 Aug 14 11:10 
/var/db/ports/postfix
 235557        4 drwx------    2 postfix  wheel    512 Aug 15 00:42 
/var/db/postfix
  23563        4 drwxr-xr-x   16 root     wheel    512 Aug 14 11:31 
/var/spool/postfix
2567479        4 drwxr-xr-x    3 root     wheel   1536 Aug 16 20:39 /etc/postfix
1154055        4 drwxr-xr-x    2 root     wheel    512 Aug 13 19:31 
/root/software/postfix

I will also note, for the record:

ares-root# find / -name postfix.sav -ls
754646        4 drwxr-xr-x    3 root      wheel    512 Aug 16 21:14 
/usr/local/etc/postfix.sav
165090      800 -rwxr-xr-x    1 root      wheel 381366 Feb  4  2004 
/usr/sbin/postfix.sav

So, let's see if I get this right:

1. I need to delete /usr/src/etc/rc.d/postfix, as it's likely starting up a 
duplicate copy of /usr/local/etc/rc.d/postfix.
2. I should probably "rm -r" /usr/libexec/postfix; a quick listing shows all 
files in there date back to 2004.
3. And then reboot, to be on the safe side.

Close? Anything else?
 
__________________________________________________________________________
Vince Sabio                                                  [EMAIL PROTECTED]

Reply via email to