Re: Using of Dragonfly Mail Agent -- what should be permissions on dma.conf and auth.conf?

2014-03-25 Thread Lars Engels
On Mon, Mar 24, 2014 at 07:05:10AM -0600, Ian Lepore wrote:
 On Mon, 2014-03-24 at 07:16 -0500, Mark Felder wrote:
  On 2014-03-24 06:53, Lev Serebryakov wrote:
   Hello, Freebsd-current.
   
I've tried 440 with owner 25:25 and mail l...@serebryakov.spb.ru
   complains, that it could not access them.
   
Also, what is proper way to attach dma into system instead of senndmal 
   now?
  
  
  I'm not sure what the permissions of those files should really be, but 
  this is likely what you want in mailer.conf:
  
  sendmail/usr/libexec/dma
  send-mail   /usr/libexec/dma
  mailq   /usr/libexec/dma
  
  and rc.conf:
  
  sendmail_enable=NO
  sendmail_submit_enable=NO
  sendmail_outbound_enable=NO
  sendmail_msp_queue_enable=NO
  
 
 Shorthand for that is: sendmail_enable=NONE

Which is deprecated, AFAIK.


pgpRw10OGQmJV.pgp
Description: PGP signature


Using of Dragonfly Mail Agent -- what should be permissions on dma.conf and auth.conf?

2014-03-24 Thread Lev Serebryakov
Hello, Freebsd-current.

 I've tried 440 with owner 25:25 and mail l...@serebryakov.spb.ru
complains, that it could not access them.

 Also, what is proper way to attach dma into system instead of senndmal now?

-- 
// Black Lion AKA Lev Serebryakov l...@freebsd.org

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


Re: Using of Dragonfly Mail Agent -- what should be permissions on dma.conf and auth.conf?

2014-03-24 Thread Mark Felder

On 2014-03-24 06:53, Lev Serebryakov wrote:

Hello, Freebsd-current.

 I've tried 440 with owner 25:25 and mail l...@serebryakov.spb.ru
complains, that it could not access them.

 Also, what is proper way to attach dma into system instead of senndmal 
now?



I'm not sure what the permissions of those files should really be, but 
this is likely what you want in mailer.conf:


sendmail/usr/libexec/dma
send-mail   /usr/libexec/dma
mailq   /usr/libexec/dma

and rc.conf:

sendmail_enable=NO
sendmail_submit_enable=NO
sendmail_outbound_enable=NO
sendmail_msp_queue_enable=NO

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


Re: Using of Dragonfly Mail Agent -- what should be permissions on dma.conf and auth.conf?

2014-03-24 Thread Benjamin VILLAIN
DMA should have a read access on both files, nothing more.

--
Ben


On Mon, Mar 24, 2014 at 1:16 PM, Mark Felder f...@freebsd.org wrote:

 On 2014-03-24 06:53, Lev Serebryakov wrote:

 Hello, Freebsd-current.

  I've tried 440 with owner 25:25 and mail l...@serebryakov.spb.ru
 complains, that it could not access them.

  Also, what is proper way to attach dma into system instead of senndmal
 now?



 I'm not sure what the permissions of those files should really be, but
 this is likely what you want in mailer.conf:

 sendmail/usr/libexec/dma
 send-mail   /usr/libexec/dma
 mailq   /usr/libexec/dma

 and rc.conf:

 sendmail_enable=NO
 sendmail_submit_enable=NO
 sendmail_outbound_enable=NO
 sendmail_msp_queue_enable=NO


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

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


Re: Using of Dragonfly Mail Agent -- what should be permissions on dma.conf and auth.conf?

2014-03-24 Thread Ian Lepore
On Mon, 2014-03-24 at 07:16 -0500, Mark Felder wrote:
 On 2014-03-24 06:53, Lev Serebryakov wrote:
  Hello, Freebsd-current.
  
   I've tried 440 with owner 25:25 and mail l...@serebryakov.spb.ru
  complains, that it could not access them.
  
   Also, what is proper way to attach dma into system instead of senndmal 
  now?
 
 
 I'm not sure what the permissions of those files should really be, but 
 this is likely what you want in mailer.conf:
 
 sendmail/usr/libexec/dma
 send-mail   /usr/libexec/dma
 mailq   /usr/libexec/dma
 
 and rc.conf:
 
 sendmail_enable=NO
 sendmail_submit_enable=NO
 sendmail_outbound_enable=NO
 sendmail_msp_queue_enable=NO
 

Shorthand for that is: sendmail_enable=NONE

Once you have that setting in place you'll find that the periodic
scripts complain because they don't read rc.conf, they just assume
sendmail is there and running and generating logs to be scanned.

-- Ian


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


Re: Using of Dragonfly Mail Agent -- what should be permissions on dma.conf and auth.conf?

2014-03-24 Thread Lev Serebryakov
Hello, Benjamin.
You wrote 24 марта 2014 г., 16:48:55:


BV DMA should have a read access on both files, nothing more.
 Question is: from which user it will be run?

  Give /etc/dma/auth.conf world-read doesn't seen to be good idea!


-- 
// Black Lion AKA Lev Serebryakov l...@freebsd.org

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

Re: Using of Dragonfly Mail Agent -- what should be permissions on dma.conf and auth.conf?

2014-03-24 Thread Benjamin VILLAIN
Hi Lev,

You can set the owner of conf files to root:mail and give read access only
to the mail group.

Regards,
--
Ben


On Mon, Mar 24, 2014 at 2:32 PM, Lev Serebryakov l...@freebsd.org wrote:

 Hello, Benjamin.
 You wrote 24 марта 2014 г., 16:48:55:


 BV DMA should have a read access on both files, nothing more.
  Question is: from which user it will be run?

   Give /etc/dma/auth.conf world-read doesn't seen to be good idea!


 --
 // Black Lion AKA Lev Serebryakov l...@freebsd.org


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