On Thu, 5 Mar 2009 09:30:30 -0500, Victor Duchovni wrote: > The "postfix-files" file found in $config_directory, or in the most > recent versions of Postfix in $daemon_directory, contains a list of all > the files that are installed when Postfix is instaled from source. > > "cd" to the directory that contains the "postfix-files" file and in > a POSIX shell (ksh, bash, or "sh" on most systems) run: > > eval "$(postconf command_directory daemon_directory html_directory \ > mailq_path manpage_directory newaliases_path readme_directory \ > sendmail_path | sed -e 's/ = /=/; s,^,export ,')" > perl -F: -lane ' > next if ($F[1] eq "d" || $F[5] =~ /o/); # directory or obsolete > next unless $F[0] =~ m{^\$(\w+)}; # comment > next unless defined($path = $ENV{$1}); # keep > $F[0] =~ s/\$(\w+)/$path/; # expand; > next unless (-l $F[0] || -f _); # link or file > printf "%s\n", $F[0]; > ' postfix-files > > this will output the list of files to remove.
That will only list the files which are installed, but it also configures FreeBSD to use it as it's MTA, that will not be uninstalled by just removing to files I guess.