I assume that when I remove Postfix, all of these directories and files
will be removed also. If not, what should not be removed? Are there any
other files in other directories not listed which should also be removed
before a clean install?
System: Mandrake Linux 10.1. Postfix is from a "rpm" install. Removal
will be using "rpm." I just want to make sure I remove any directories
or files that could interfere with a clean install.
> I am having problems getting Postfix to even start.
Start by looking into /etc/syslog.conf where your mail logs go (common
places are /var/log/maillog and /var/log/mail, perhaps
/var/adm/maillog), then check that syslogd is running, and if it is,
start Postfix and see what it logs.
> I want to
> remove it completely, so I can start over. In doing a "find" for
> postfix, I found the following directories and files:
> etc/postfix/
> usr/lib/perl5/vendor_perl/5.8.4/Libconf/Glueconf/Postfix/
> usb/lib/postfix/
> var/spool/postfix/
> etc/ppp/ip-down.d/postfix
> etc/ppp/ip-up.d/postfix
> etc/rc.d/init.d/postfix
> etc/sysconfig/network-scripts/ifup.d/postfix
> etc/sysconfig/postfix
> usr/sbin/postfix
> var/lock/subsys/postfix
A single file in that list. At any rate, rpm -qf /some/file
will tell you the package name.
--
Matthias Andree
Matthias Andree wrote:
>On Tue, 25 Jan 2005, Teleclipse.net wrote:
>
>
>
>>I have removed the Postfix rpm and reinstalled it. Syslog.conf has the
>>following logs for the mail program: -/var/log/mail/ with info,
>>warnings, and errors files to be place there. However, there is no
>>/var/log/mail/ directory. I created one, but how are these three
>>files suppose to be created?
>>
>>
>
>Use "touch" - your task, see man syslogd.
>
>
Touch what task? I need specific information not some general comments.
What part of the information in the "man syslogd" do I need? If I seem
to be more than a little frustrated, I am. I believe that the
information available on how to setup Postfix is sorely lacking. It
should not take an expert to get this program running. When I finally
get this program working right, I entend to do just that and place it on
my website for others to see. At that point I would like for people on
this mailing list to review it and make comments on possible
improvements directly to me. It would then be available for anyone to
see and use.
>
>
>>When running "postfix start", I get the start
>>message.
>>
>>
>
>fine.
>
>
>
>>When running the "postfix check", I get no message.
>>
>>
>
>fine.
>
>
>
>>When
>>running "postfix reload", I get a fatal error message: the program is not
>>running. Syslogd is running, but there are no log entries that I can find
>>anywhere.
>>
>>
>
>Restart syslogd after the above procedure, and then follow up to the
>Postfix mailing list, not to my personal account.
>
>Permission to quote my message in full is granted.
>
>Be sure to check for packager specific instructions in the documentation
>directory.
>
>
>
Again, restart syslogd how? I know to start with syslogd sighup but
what the path that is suppose to a part of this? I have never used
syslogd before and have no idea what to do. I need simple baby steps
instructions.
> >Use "touch" - your task, see man syslogd.
> >
> >
> Touch what task? I need specific information not some general comments.
>
mkdir /var/log/mail, (if it doesn't already exist), then touch
/var/log/mail/(info|warnings|errors)
> What part of the information in the "man syslogd" do I need? If I seem
> to be more than a little frustrated, I am. I believe that the
> information available on how to setup Postfix is sorely lacking. It
> should not take an expert to get this program running.
Expert, no. Basic knowledge of system (skills|utilities), yes. The
documentation is not lacking.
Matt
Not that I know of.
> System: Mandrake Linux 10.1. Postfix is from a "rpm" install. Removal
> will be using "rpm." I just want to make sure I remove any directories
> or files that could interfere with a clean install.
rpm -qa|grep postfix.
Then rpm -e those packages.
Devdas Bhagat