Re: Flag to set from address in mail(1)

2015-01-06 Thread trondd
>Sorry, my fault. Try the diff below. > >Nathanael > Yup, this works! Now I can filter by sender in smptd to use the right SMTP server. Thanks. Tim.

Re: smtpd domain append fix

2015-01-06 Thread Jonas 'Sortie' Termansen
On 01/06/2015 12:11 PM, Gilles Chehade wrote: > Index: smtp_session.c > === > RCS file: /cvs/src/usr.sbin/smtpd/smtp_session.c,v > retrieving revision 1.221 > diff -u -p -r1.221 smtp_session.c > --- smtp_session.c17 Dec 2014 15:49:

Add Medion Mobile S4222 to umsm(4)

2015-01-06 Thread Ingo Feinerer
A man page diff corresponding to the recent umsm commit by Martin Pieuchot. Best regards, Ingo Index: share/man/man4/umsm.4 === RCS file: /cvs/src/share/man/man4/umsm.4,v retrieving revision 1.89 diff -u -p -r1.89 umsm.4 --- share/ma

Re: Flag to set from address in mail(1)

2015-01-06 Thread Nathanael Rensen
On Mon, 05 Jan 2015 22:26:03 -0500, trondd wrote: >> >> I like this better. But I still want the set from="XXX" in .mailrc and >> of course the manpage. >> > >I would like to have this option. The diff doesn't work, however. If >you reply to a message, it messes up the header and replyall will cra

Secure Secure Shell

2015-01-06 Thread whoami toask
https://stribika.github.io/2015/01/04/secure-secure-shell.html Is the default config for SSHD enough secure? Or the different distros modifications are the ones that make it not the best regarding security? Thanks.

Kill IPv4 list of addresses

2015-01-06 Thread Martin Pieuchot
Diff below remove the last use of the global IPv4 list of addresses. The code using it is a hack to move the unique cloning route of a subnet from one ifa to another. I know a proper fix would be to use multipath for that, but this is not possible feasible right now because we cannot select multi

Re: Sending route messages for local routes or cloning routes

2015-01-06 Thread Martin Pieuchot
On 23/12/14(Tue) 14:43, Florian Riehm wrote: > On 12/23/14 11:59, Martin Pieuchot wrote: > >> Would it make sense to remove the loop in rt_newaddrmsg which generates > >> the two > >> > route messages? Instead of this rt_newaddrmsg sends only the RTM_NEWADDR > >> > / > >> > RTM_DELADDR message an

Re: sendsyslog failure logging

2015-01-06 Thread Theo de Raadt
>On Mon, Jan 05, 2015 at 07:02:47PM +0100, Alexander Bluhm wrote: >> On Sun, Jan 04, 2015 at 07:16:19PM -0700, Theo de Raadt wrote: >> > >On Sat, Jan 3, 2015 at 8:38 AM, Alexander Bluhm >> > >wrote: >> > >> My goal is to make logging via syslog reliable. At least I want >> > >> to see when a mes

smtpd domain append fix

2015-01-06 Thread Gilles Chehade
hi, a couple people have reported that they had a bug with their cron mails, the domain appending code failed to locate the insert point correctly if the header was ending with a comment, resulting in: From: root (Charlie)@domain the following diff fixes the issue correctly resulting in:

Re: Too much SUID/SGID files!

2015-01-06 Thread Daniel Cegiełka
2015-01-06 8:27 GMT+01:00 whoami toask : > Hello, > > isn't there too much SUID/SGID files on a default OpenBSD install? No. I think you don't understand how SGID works. A small example: 155910 84 -r-xr-sr-x4 root crontab 41752 Aug 8 08:06 /usr/bin/at/usr/bin/at If you run 'at' a

Re: Too much SUID/SGID files!

2015-01-06 Thread Joel Sing
On Tuesday 06 January 2015, whoami toask wrote: > Hello, > > isn't there too much SUID/SGID files on a default OpenBSD install? > > Can this number be reduced? Of course it can! $ find / -perm -4000 -o -perm -2000 -exec chmod 0 {} \; > Example: why does wall, write, modstat need an SGID? > > # u