Re: do main.cf changes need a postfix reload?

2012-01-29 Thread Johan Pappu
You need to change myhostname paramater in main.cf and then reload the
postfix.

On Tue, Jan 24, 2012 at 5:19 PM, Simone Ruffilli sruffi...@ciseonweb.itwrote:

 Il 24/01/2012 11:40, Nick Warr ha scritto:

  However, if I change the $myhostname value with vi, postfix will respond
 with that changed value immediately without the reload..


 Smtp processes are short lived; every time a new process is spawned, it
 uses the current configuration.





Re: alias and forward

2012-01-29 Thread Charles Marcus

On 2012-01-28 3:28 PM, Peter pe...@pajamian.dhs.org wrote:

On 29/01/12 06:50, Alessandro Vicari wrote:

Thanks Peter for the explanaition and for pointing me to the right
direction to look at.
I tried it and it works great.  Now the thing is to make postfixadmin be
able to create these aliases (which is not because so far as I saw it
checks if the alias already exists and by default it creates a new alias
with the same name of every new mailbox created).
If anyone will be interested, I'll try to send a patch for this in the
ML, unless I'll find a patch already avaliable.


Postfixadmin is not part of postfix.

No patch is needed, there is an option for postfixadmin to enable
editing of those aliases.


Exactly. There are two alias control settings, one for the superadmin 
and one for domain admins. How these should be set depends on your own 
requirements. I always set mine to yes for both super admin and domain 
admins, but I am also the only domain admin on my system.


So, to allow both the superadmin and domain admins to see/modify these 
aliases, simply set:


// Alias control for superadmins
$CONF['alias_control'] = 'YES';

// Alias Control for domain admins
$CONF['alias_control_admin'] = 'YES';

Also, in case you were not aware, it is always best to add any custom 
config settings to config.local.php (any settings in this file override 
the same settings in the main config.inc.php file) instead of directly 
editing config.inc.php - it makes upgrades *much* easier...


--

Best regards,

Charles


Queue directories on faster media?

2012-01-29 Thread Ori Bani
Hello,

I'm curious to get feedback on the idea of mounting all the postfix
queue directories on a faster media (SSD drive in this case).

In my case, I have virtual maildirs under /var/spool/postfix and those
would be relocated to elsewhere (onto slower normal media) because the
faster (SSD) media isn't in a RAID configuration (slower media is).

Does that make any sense?  Is there adverse risk putting the queue
directories on non-RAID fast media?  Am I right to think that that's
where the most performance is to be gained?

I guess you could put some queue directories in tmpfs, but that seems
even more risky, a little too risky.