RE: Share postfix config directory

2009-01-15 Thread Rocco Scappatura
rocsca From: Thomas [mailto:t...@tja-server.de] Sent: Thursday, January 15, 2009 2:58 AM To: Rocco Scappatura Cc: postfix users list Subject: Re: Share postfix config directory I never had a problem to do exactly this ... For what do you need the hostname of the server? My main.cf does

RE: Share postfix config directory

2009-01-15 Thread Rocco Scappatura
I have different SMTP gateways each one configurred exactly at the same manner. The only difference is the hostname. I would like to know if I could define /etc/postfix as an NFS share somewhere and export it on each of my SMTP gateways. The aim is obviously to change

Re: Share postfix config directory

2009-01-15 Thread Wietse Venema
Rocco Scappatura: I have different SMTP gateways each one configurred exactly at the same manner. The only difference is the hostname. I would like to know if I could define /etc/postfix as an NFS share somewhere and export it on each of my SMTP gateways. The aim

Re: Share postfix config directory

2009-01-15 Thread Thomas Ackermann
Rocco Scappatura schrieb: myhostname = hostname mydomain = hostname If the hostname is not valid, postfix fails to start. It have to be resolved by DNS and the IP must be the IP of one of the interface of the server which run Postfix. So I have to use a name that is resolved in

Share postfix config directory

2009-01-14 Thread Rocco Scappatura
Hello, I have different SMTP gateways each one configurred exactly at the same manner. The only difference is the hostname. I would like to know if I could define /etc/postfix as an NFS share somewhere and export it on each of my SMTP gateways. The aim is obviously to change only one

Re: Share postfix config directory

2009-01-14 Thread Wietse Venema
Rocco Scappatura: Hello, I have different SMTP gateways each one configurred exactly at the same manner. The only difference is the hostname. I would like to know if I could define /etc/postfix as an NFS share somewhere and export it on each of my SMTP gateways. The aim is obviously to

RE: Share postfix config directory

2009-01-14 Thread Rocco Scappatura
I have different SMTP gateways each one configurred exactly at the same manner. The only difference is the hostname. I would like to know if I could define /etc/postfix as an NFS share somewhere and export it on each of my SMTP gateways. The aim is obviously to change only one

Re: Share postfix config directory

2009-01-14 Thread Chris Babcock
On Wed, 14 Jan 2009 14:07:05 +0100 Rocco Scappatura rocco.scappat...@infracom.it wrote: I know that make is a really powerfull tool. I have used it (in the sense that I have write down some Makefile) for compiling rather few C projects. At the moment I can't guess how I could use 'make' for my

Re: Share postfix config directory

2009-01-14 Thread Wietse Venema
Rocco Scappatura: I have different SMTP gateways each one configurred exactly at the same manner. The only difference is the hostname. I would like to know if I could define /etc/postfix as an NFS share somewhere and export it on each of my SMTP gateways. The aim is obviously

Re: Share postfix config directory

2009-01-14 Thread Thomas
I never had a problem to do exactly this ... For what do you need the hostname of the server? My main.cf does not contain a hostname - it can easily be used over an NFS share: mkdir /data mount server:/data /data /etc/init.d/postfix stop cp -rp /etc/postfix /data/postfix_nfs mv /etc/postfix