Re: Using of Dragonfly Mail Agent -- what should be permissions on dma.conf and auth.conf?
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
Re: Using of Dragonfly Mail Agent -- what should be permissions on dma.conf and auth.conf?
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 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 > > ___ 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?
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 ___ 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?
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?
DMA should have a read access on both files, nothing more. -- Ben On Mon, Mar 24, 2014 at 1:16 PM, 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" > > > ___ > 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?
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"