postfix INST_BASE option

2011-11-03 Thread Janos Dohanics
Could you comment on the pros and cons of using INST_BASE=on in postfix
on a production server?

-- 
Janos Dohanics
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: postfix INST_BASE option

2011-11-03 Thread Alejandro Imass
On Thu, Nov 3, 2011 at 10:47 AM, Janos Dohanics w...@3dresearch.com wrote:
 Could you comment on the pros and cons of using INST_BASE=on in postfix
 on a production server?


Great question! I know there has been some discussion to be able to
choose your base MTA upon install but I don't know how far this has
gone.
I don't use that option but rather install it as a regular port,
register it in mailer.conf when it asks you to and then do this in
your rc.conf

sendmail_enable=NO
sendmail_submit_enable=NO
sendmail_outbound_enable=NO
sendmail_msp_queue_enable=NO
postfix_enable=YES

I haven't used the INST_BASE option out of fear that it might give me
trouble on building world and upgrading. Also a new approach I'm
taking is using EzJail for service jails so use a pure MTA jail and
use the base sendmail as a relay to that. For the time being I'm using
posfix on the base system to relay  but in the future I plan to do it
with the native sendmail and only use postfix on the MTA service jail.

-- 
Alejandro Imass


 --
 Janos Dohanics
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: postfix INST_BASE option

2011-11-03 Thread Christer Solskogen
On Thu, Nov 3, 2011 at 4:23 PM, Alejandro Imass a...@p2ee.org wrote:
 On Thu, Nov 3, 2011 at 10:47 AM, Janos Dohanics w...@3dresearch.com wrote:
 Could you comment on the pros and cons of using INST_BASE=on in postfix
 on a production server?


 Great question! I know there has been some discussion to be able to
 choose your base MTA upon install but I don't know how far this has
 gone.
 I don't use that option but rather install it as a regular port,
 register it in mailer.conf when it asks you to and then do this in
 your rc.conf

 sendmail_enable=NO
 sendmail_submit_enable=NO
 sendmail_outbound_enable=NO
 sendmail_msp_queue_enable=NO
 postfix_enable=YES


You can do this a lot easier with just:
sendmail_enable=NONE
postfix_enable=YES


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: postfix INST_BASE option

2011-11-03 Thread Eric Masson
Christer Solskogen christer.solsko...@gmail.com writes:

Hi,

 You can do this a lot easier with just:
 sendmail_enable=NONE

From rc.sendmail(8) :
RC.CONF VARIABLES
The following variables affect the behavior of rc.sendmail. They are
defined in /etc/defaults/rc.conf and can be changed in /etc/rc.conf.

 sendmail_enable
 (str) If set to ``YES'', run the sendmail(8) daemon at
 system boot time.  If set to ``NO'', do not run a
 sendmail(8) daemon to listen for incoming network mail.
 This does not preclude a sendmail(8) daemon listening on
 the SMTP port of the loopback interface.
 The ``NONE'' option is deprecated and should not be used.
 It will be removed in a future release.

Regards

Éric Masson

-- 
 CS: Oui mais alors moi je me construis une souris avec autant de boutons
 qu'applis et je fais des racourcis, rena ! :-)
 LP: Ah oui, mais alors là il va falloir acheter des doigts, rerena! ;-p
 -+- LP in Guide du Macounet Pervers : Vous m'en mettrez une poignée -+-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: postfix INST_BASE option

2011-11-03 Thread Christer Solskogen
On Thu, Nov 3, 2011 at 6:19 PM, Eric Masson e...@free.fr wrote:
 From rc.sendmail(8) :

snip

See, know I also learned something today :-)


-- 
chs,
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: postfix INST_BASE option

2011-11-03 Thread Lowell Gilbert
Janos Dohanics w...@3dresearch.com writes:

 Could you comment on the pros and cons of using INST_BASE=on in postfix
 on a production server?

I wouldn't describe either the pros or the cons as particularly strong.  

If you're not going to use sendmail, you might want to remove it.  If
you do source upgrades, then setting WITHOUT_SENDMAIL in src.conf will
keep it from getting built or installed, and will enable you to remove
the existing sendmail files as part of make delete-old.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: postfix INST_BASE option

2011-11-03 Thread Janos Dohanics
On Thu, 3 Nov 2011 11:23:46 -0400
Alejandro Imass a...@p2ee.org wrote:

 On Thu, Nov 3, 2011 at 10:47 AM, Janos Dohanics w...@3dresearch.com
 wrote:
  Could you comment on the pros and cons of using INST_BASE=on in
  postfix on a production server?
 
 
 Great question! I know there has been some discussion to be able to
 choose your base MTA upon install but I don't know how far this has
 gone.
 I don't use that option but rather install it as a regular port,
 register it in mailer.conf when it asks you to and then do this in
 your rc.conf
 
 sendmail_enable=NO
 sendmail_submit_enable=NO
 sendmail_outbound_enable=NO
 sendmail_msp_queue_enable=NO
 postfix_enable=YES
 
 I haven't used the INST_BASE option out of fear that it might give me
 trouble on building world and upgrading. Also a new approach I'm
 taking is using EzJail for service jails so use a pure MTA jail and
 use the base sendmail as a relay to that. For the time being I'm using
 posfix on the base system to relay  but in the future I plan to do it
 with the native sendmail and only use postfix on the MTA service jail.
 
 -- 
 Alejandro Imass

That's exactly what I have done when setting up systems, as well as
setting WITHOUT_SENDMAIL in src.conf, as Lowell Gilbert mentioned.

With the above options, Sendmail is disabled, is not being built
with buildworld, and Postfix is installed as regular port in /usr/local.

If INST_BASE=off is the default, what's then the usage scenario when I
still would want to change it?

-- 
Janos Dohanics
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org