[SOLVED] Postfix is annoyingly Persistent!

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] Postfix is annoyingly Persistent!

Postby linuxero » Nov 6th, '11, 23:55

Hi,

I am using mageia as a server. The problem is that whenever I make a change to Postfix main.cf, postfix seems to be reading other configuration file elsewhere, where it ignores my settings!

I tried to trace it everywhere starting by init postfix script, passing by sysconfig/postfix and everywhere I could think of.

Anyone has an idea of hoew to make postfix follow my orders?

Thanks
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50

Re: Postfix is annoyingly Persistent!

Postby djennings » Nov 11th, '11, 16:56

You can see the current state of your postfix configuration with the command
Code: Select all
postconf

postconf -n
will list all non default values
As Postfix is packaged in Mageia the only files it takes its configuration from is in /etc/postfix and /etc/sysconfig/postfix
Any changes made in main.cf should take effect automatically without restarting Postfix. Changes made to master.cf require Postfix to be restarted.

Have you perhaps installed some kind of Postfix configurator which has its own config file?
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: Postfix is annoyingly Persistent!

Postby linuxero » Nov 13th, '11, 10:02

Thanks for your reply.

Well, I installed nothing extra. I do my configuration using either vi or mc. I used postconf before posting, that's how I noticed that my settings are ignored or overridden somehow.

I still can't figure it out..I'll keep working on it..
linuxero
 
Posts: 345
Joined: Oct 7th, '11, 15:50


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest