Re: pax and ext2fs

2024-05-18 Thread Walter Alejandro Iglesias
On Sat May 18 08:50:21 2024 Philip Guenther wrote: > > So yeah, what's needed is pathconfat(2)** but whether this winding loose > > end ("That poor yak.") merits that much code and surface is yet to be > > examined deeply. > > The fix for this has now been committed, so it'll be in 7.6 and a

Re: pax and ext2fs

2024-05-17 Thread Walter Alejandro Iglesias
On Fri May 17 09:50:58 2024 Philip Guenther wrote: > Sounds like you copied with something like 'cp -p' so the copy has a > mtime with zero nsecs part, so now they do compare as equal. This morning I realized that when I copied the symlink from the ext2 drive to my hard disk, cp(1) didn't copy

Re: pax and ext2fs

2024-05-16 Thread Walter Alejandro Iglesias
On Thu May 16 09:48:45 2024 Philip Guenther wrote: > So yeah, what's needed is pathconfat(2)** but whether this winding loose > end ("That poor yak.") merits that much code and surface is yet to be > examined deeply. > > Philip Guenther > > > ** or lpathconf(2), but pathconfat(2) is better > I

Re: pax and ext2fs

2024-05-15 Thread Walter Alejandro Iglesias
On Wed May 15 13:04:53 2024 Walter Alejandro Iglesias wrote: > After more testing I realized that I was wrong my modification doesn't > solve the problem. > Yeah, I also realized that what I did was stupid. :-)

Re: pax and ext2fs

2024-05-15 Thread Walter Alejandro Iglesias
On Wed May 15 10:24:32 2024 Walter Alejandro Iglesias wrote: > I get it working but I don't know if what I did is fine. > > As I'd told you the problem was ctime (when using -Y), so I added one > conditional to your diff where it checks only mtime and it works: > >

Re: pax and ext2fs

2024-05-15 Thread Walter Alejandro Iglesias
On Wed May 15 10:20:04 2024 Philip Guenther wrote: > I think you've managed to hit a spot where the POSIX standard doesn't > provide a way for a program to find the information it needs to do its job > correctly. I've filed a ticket there >https://austingroupbugs.net/view.php?id=1831 > >

Re: pax and ext2fs

2024-05-14 Thread Walter Alejandro Iglesias
Hi Philip, On Tue May 14 19:40:04 2024 Philip Guenther wrote: > If you like, you could try the following patch to pax to more gracefully > handle filesystems with time resolution more granular than nanoseconds. After applying your patch, as I'd done before reporting the issue, I sycronized my

Re: Favorite configuration and system replication tools?

2024-05-14 Thread Walter Alejandro Iglesias
On Tue May 14 18:11:16 2024 Страхиња Радић wrote: > Antipatterns are bad. I don't mean the ellipsis in `ls -l ...`. I mean > things like > > cat file | grep hello | cat | sed 's/hello/world/g' | cat - > output > > for file in `echo `ls *` `; do echo $file; done > > ls -l | awk '{ print $5

Re: What software to debugging and analyzing C?

2024-05-14 Thread Walter Alejandro Iglesias
On Tue May 14 11:40:42 2024 Tomasz Rola wrote: > I am sure gdb has some merits but for whatever C programs I wrote so > far, a much more useful debugging technique was putting printf in > right places and isolate the problem, I got used to doing this too. I started doing it intuitively, I'm

Re: Favorite configuration and system replication tools?

2024-05-14 Thread Walter Alejandro Iglesias
On Tue May 14 11:11:33 2024 wrote: > When `while ... read ...` idiom is used, it is advisable to clear IFS > to turn off field splitting, and use -r to avoid interpretation of > backslash sequences in the input: > > while IFS= read -r dir; do # ... > > Back to parsing the output of ls(1)

Re: Favorite configuration and system replication tools?

2024-05-12 Thread Walter Alejandro Iglesias
On Sun May 12 21:50:12 2024 Martin Schröder wrote: > > If a line begins with "- " (dash, space) or "+ " (plus, space), > then the type of rule is being explicitly specified as an exclude > or an include (respectively). Any rules without such a prefix are > taken to be an include. I'd

Re: What software to debugging and analyzing C?

2024-05-12 Thread Walter Alejandro Iglesias
Otto Moerbeek thought me this: First compile your program with debug symbols (and, conveniently, without optimization settings.) $ DEBUG="-g -O0" make Then: $ MALLOC_OPTIONS=D ktrace -tu $ kdump -u malloc kdump will though you lines like this: 0x34f10a4b153 20480 1 20480

Re: Favorite configuration and system replication tools?

2024-05-12 Thread Walter Alejandro Iglesias
On Sun May 12 20:58:43 2024 Andreas Kähäri wrote > With rsync(1): > > rsync -n -aim --delete-excluded \ > --include-from=list \ > --include='*/' \ > --exclude='*' \ > source/ target > I don't understand what your command does exactly.

Re: Favorite configuration and system replication tools?

2024-05-12 Thread Walter Alejandro Iglesias
On Sun May 12 13:22:13 2024 Alexis wrote: > Andreas Kähäri writes: > > Well, that's one way to control this trainwreck of a script; > > just say > > that any name containing "inappropriate" characters aren't > > allowed! > > > > May I ask why you don't simply use rsync(1) (or even > >

Re: Favorite configuration and system replication tools?

2024-05-12 Thread Walter Alejandro Iglesias
On Sun May 12 11:40:05 2024 tux2bsd wrote > Hi Walter > > mktemp makes temporary unique filenames like this: > > delete_list=$(mktemp) > source_list=$(mktemp) > target_list=$(mktemp) > # Do your code. If you want to keep something you do > # that appropriately then: > rm $delete_list

Re: Favorite configuration and system replication tools?

2024-05-12 Thread Walter Alejandro Iglesias
On Sun May 12 10:07:30 2024 Страхиња Радић wrote: > A few notes: > > - You don't need a backslash after a pipe (|) or a list operator (|| > and &&) - a line ending with a pipe is an incomplete pipeline. So > (with added quoting): > > diff "$source_list" "$target_list" | > awk '/^> /

Re: Favorite configuration and system replication tools?

2024-05-11 Thread Walter Alejandro Iglesias
On Sat May 11 20:20:04 2024 "Robert B. Carleton" wrote: > Another tool you might want to take a look at is rdist(1). It's limited > in some ways, but is a native capability to OpenBSD. It has a long > history. > I've never used rdist(1) either, I will learn about it. Thanks Robert for mention it

Re: Favorite configuration and system replication tools?

2024-05-11 Thread Walter Alejandro Iglesias
On Fri May 10 08:36:50 2024 Walter Alejandro Iglesias wrote > Then I do something like this (simplified for clartiy): > > [...] > > dirs=$(echo "$files" | grep '/$') > > for i in $dirs ; do > find $source/$i | sed 's#'$source'##' | sort | uniq > $source_

Re: Favorite configuration and system replication tools?

2024-05-10 Thread Walter Alejandro Iglesias
On Fri May 10 08:16:32 2024 "Robert B. Carleton" wrote: > I'm going to try using pax(1) in copy mode (-rw) as an alternative to > rsync and cpio when it's local filesystems. I hadn't considered that > until recently. This is my dirty solution to add pax a "delete on target" functionality. I

Re: pax and ext2fs (update)

2024-05-02 Thread Walter Alejandro Iglesias
Removing the inode check (-Y option) files are updated correctly to ext2fs. So the command would be: $ pax -rw -v -Z $files $target So, it's something with the inode check what doesn't work with ext2fs.

Re: pax and ext2fs

2024-05-02 Thread Walter Alejandro Iglesias
On Thu, 2 May 2024 12:03:10, Stuart Henderson wrote > I don't have a suitable filesystem handy to test, but does OpenBSD's > implementation of ext2fs support sub-second timestamps? > > stat -f %Fm $filename > > If not, that's a probable explanation for the difference in behaviour. > You could

Re: pax and ext2fs

2024-05-02 Thread Walter Alejandro Iglesias
I expect from that command no more and no less than what is explained in the man page: Update (and list) only those files in the destination directory /backup which are older (less recent inode change or file modification times) than files with the same name found in the source

pax and ext2fs

2024-04-30 Thread Walter Alejandro Iglesias
Hello, I'd never used pax(1), reading the man page I found this command can be used to make a backup: $ pax -r -w -v -Y -Z home /backup Faster than using rsync indeed, but it seems that the -Y and -Z options don't work with ext2fs? -- Walter

A new version of fmt enhanced for *roff files

2023-03-06 Thread Walter Alejandro Iglesias
Hello everyone, I wrote my own version of fmt, with some enhancements and a new feature to break lines in *roff files. https://en.roquesor.com/Downloads/fmtroff.c In the head comment is explained why I reinvented the wheel. :-) I guess someone could find it useful. -- Walter

init ran syspatch(8) after upgrading to latest snapshot

2022-09-13 Thread Walter Alejandro Iglesias
I'm posting this here since I'm not sure if it's a bug or something I did wrong. Today I upgraded to the latest snapshot and while booting to the new system init ran syspatch(8). I can't figure out why. dmesg: OpenBSD 7.2 (GENERIC.MP) #720: Sun Sep 11 15:41:58 MDT 2022

em(4) issue I reported time ago seems to be fixed now

2020-06-30 Thread Walter Alejandro Iglesias
Today I burned the latest snapshot in a USB pen-drive and booted it in a HP desktop of mine where happened this: https://marc.info/?l=openbsd-bugs=156682947025229=2 It seems to be fixed, the card is now recognized out of the box as 1000baseTX as expected. :-) (I didn't change anything in my

Re: Restore pf tables metadata after a reboot

2020-05-30 Thread Walter Alejandro Iglesias
In article Peter Nicolai Mathias Hansteen wrote: > It is a possibly desirable feature, but I an not aware whether any of the > currently capable developers are considering putting in the work to implement > it. > Let me finish the idea, not with the intention to pressure developers asking

Re: Restore pf tables metadata after a reboot

2020-05-29 Thread Walter Alejandro Iglesias
Hello Peter, In article Peter Nicolai Mathias Hansteen wrote: > > 28. mai 2020 kl. 19:09 skrev Bruno Flueckiger : > > > > > > You can save the list of IPs in a table and reload it after a reboot as > > described here: https://www.bsdhowto.ch/savepftables.html > > > I have a similar setup

Re: Restore pf tables metadata after a reboot

2020-05-29 Thread Walter Alejandro Iglesias
In article <20200528165448.ga22...@flueckiger.lan> Bruno Flueckiger wrote: > On 26.05., Walter Alejandro Iglesias wrote: > > I understand that this command: > > > > # pfctl -t spam -T expire > > > > Takes in care the "Cleared" date: > >

Re: About pf max-src-conn-rate

2020-05-28 Thread Walter Alejandro Iglesias
On Thu, May 28, 2020 at 12:06:18PM +0200, Marko Cupać wrote: > On 2020-05-27 14:27, Walter Alejandro Iglesias wrote: > > Another question about pf. > > > > Perhaps I don't fully understand how connection rate is calculated. > > > > The following line in /etc/pf.

Re: About pf max-src-conn-rate

2020-05-28 Thread Walter Alejandro Iglesias
Brian Brombacher wrote: > Keep in mind operations using pfctl such as reloading rule set or table > from file, any IP’s caught in the smtp table by the max-src-conn-rate > will be flushed de pending on your command line. > Every hour I scrape logs for AUTH failures and add them to a pfctl >

Re: About pf max-src-conn-rate

2020-05-27 Thread Walter Alejandro Iglesias
Hello Brian, On Wed, May 27, 2020 at 02:35:46PM -0400, Brian Brombacher wrote: > What do you do with table in other rules? If you’re doing nothing, > you need to do something like block additional connections, or adjust the > pass rule to include from ! You're right. I forgot to mention I

About pf max-src-conn-rate

2020-05-27 Thread Walter Alejandro Iglesias
Another question about pf. Perhaps I don't fully understand how connection rate is calculated. The following line in /etc/pf.conf: pass in log inet proto tcp to any port { smtp smtps } synproxy state \ (max-src-conn-rate 5/30, overload flush global) Shouldn't avoid this happen? In

Re: Restore pf tables metadata after a reboot

2020-05-26 Thread Walter Alejandro Iglesias
On Tue, May 26, 2020 at 11:25:21PM +0200, Anders Andersson wrote: > On Tue, May 26, 2020 at 2:14 PM Walter Alejandro Iglesias > wrote: > > > > I understand that this command: > > > > # pfctl -t spam -T expire > > > > Takes in care the "Cl

Restore pf tables metadata after a reboot

2020-05-26 Thread Walter Alejandro Iglesias
I understand that this command: # pfctl -t spam -T expire Takes in care the "Cleared" date: # pfctl -t spam -vT show ___.___.22.65 Cleared: Mon May 25 16:10:22 2020 ___.___.167.62 Cleared: Mon May 25 16:10:22 2020 [...] Is there a way to save and

Re: Useful cwm patch [was: When will be created a great desktop experience for OpenBSD?]

2020-04-23 Thread Walter Alejandro Iglesias
In article <20200415193758.csp3wtf4hnhdc...@gmx.com> Dumitru Moldovan wrote: > On Tue, Oct 29, 2019 at 10:43:26AM +0100, Walter Alejandro Iglesias wrote: > >This second one is still pending (no response from the maintainer so > >far): > > > > https://marc.info/

Re: When will be created a great desktop experience for OpenBSD?

2019-10-29 Thread Walter Alejandro Iglesias
In article <20191028083820.ga43...@nausicaa.home> Marc Espie wrote: > On Fri, Oct 25, 2019 at 05:35:27PM +, flauenroth wrote: > > Apparently not just theo is using fvwm after all. :) > > Considering all the people using it, it would be great if someone were to > look at the enhancements of

Re: Erratically losing connection on usb port from UPS unit

2019-08-23 Thread Walter Alejandro Iglesias
Hi Boudewijn, In article Boudewijn Dijkstra wrote: > Op Wed, 21 Aug 2019 15:06:17 +0200 schreef Walter Alejandro Iglesias > : > > [...] > > > > It has been working for days (with and without NUT) apparently without > > problems except for three times in which t

Re: Erratically losing connection on usb port from UPS unit

2019-08-23 Thread Walter Alejandro Iglesias
On Wed, Aug 21, 2019 at 03:06:17PM +0200, Walter Alejandro Iglesias wrote: > On the Internet some NUT users mention issues with libusb. There is an > old tutorial about using NUT in OpenBSD that advices to install > libusb-compat but, given the current nut package doesn'

Erratically losing connection on usb port from UPS unit

2019-08-21 Thread Walter Alejandro Iglesias
Hello everyone, Weeks ago I purchased a UPS unit for my home server. It's attached to the machine via a usb port: uhidev0 at uhub3 port 2 configuration 1 interface 0 "EATON Eaton 3S" rev 2.00/1.00 addr 2 uhidev0: iclass 3/0, 32 report ids upd0 at uhidev0 At first I used NUT from

Re: ampd(8) -Z option

2019-08-11 Thread Walter Alejandro Iglesias
Jan Stary wrote: > Eventualy it does suspend, but much later than > when the battery life goes below the specified value. Doing more testing I noticed the same. For example, with these options: # apmd -d -t 60 -z It took *5* minutes to suspend the machine. In my first tests I passed bigger

Re: ampd(8) -Z option

2019-08-04 Thread Walter Alejandro Iglesias
Hi Edgar, On Sun, Aug 04, 2019 at 11:43:19AM -0500, Edgar Pettijohn wrote: > On Sun, Aug 04, 2019 at 05:33:41PM +0200, Walter Alejandro Iglesias wrote: > > Hello, > > > > Since years I've been using a shell script of mine to shutdown my laptop > > when battery is crit

ampd(8) -Z option

2019-08-04 Thread Walter Alejandro Iglesias
Hello, Since years I've been using a shell script of mine to shutdown my laptop when battery is critical. Convenient because I made it portable among unix-like systems. In the case of OpenBSD the script asks battery and AC status to apm(4). Now I gave a try to the apmd(8) -Z option but, so

Re: bc(1) bug?

2019-07-15 Thread Walter Alejandro Iglesias
Hi Ingo, On Sun, Jul 14, 2019 at 11:09:40PM +0200, Ingo Schwarze wrote: > Hi Walter, > > Walter Alejandro Iglesias wrote on Sun, Jul 14, 2019 at 09:57:11PM +0200: > > > Lately I noticed that using bc(1) interactively I have to hit Enter > > twice to get the result

bc(1) bug?

2019-07-14 Thread Walter Alejandro Iglesias
Hello everyone, Lately I noticed that using bc(1) interactively I have to hit Enter twice to get the result of an operation printed on screen. Plus, a new empty line is printed below the result. Example: $ bc 2 + 1 (after hitting Enter twice the two lines below get printed) 3 2 + 2

About some smptd(8) log message

2019-03-05 Thread Walter Alejandro Iglesias
Hello Gilles, When some spammer try to reach an invalid address in my server the log says "Invalid recipient": [...] smtp failed-command command="RCPT TO: " result="550 Invalid recipient: " But, when the domain name part is valid (one of those included in my "vdomains" and "valiases" tables),

Re: CVS: cvs.openbsd.org: src (maillog simplified)

2019-01-02 Thread Walter Alejandro Iglesias
Hello Gilles, In article <20190101143249.ga41...@ams-1.poolp.org> Gilles Chehade wrote: > On Tue, Jan 01, 2019 at 01:14:54PM +0100, Walter Alejandro Iglesias wrote: > > On Fri, Dec 21, 2018 at 06:59:58PM +0100, Gilles Chehade wrote: > > > On Fri, Dec 21, 2018 at

Re: CVS: cvs.openbsd.org: src (maillog simplified)

2019-01-01 Thread Walter Alejandro Iglesias
On Fri, Dec 21, 2018 at 06:59:58PM +0100, Gilles Chehade wrote: > On Fri, Dec 21, 2018 at 06:56:57PM +0100, Walter Alejandro Iglesias wrote: > > Hello Gilles, > > > > In article <20181221145201.ga90...@ams-1.poolp.org> Gilles Chehade > > wrote: > > >

Re: CVS: cvs.openbsd.org: src

2018-12-21 Thread Walter Alejandro Iglesias
Hello Gilles, In article <20181221145201.ga90...@ams-1.poolp.org> Gilles Chehade wrote: > On Fri, Dec 21, 2018 at 07:41:41AM -0700, Gilles Chehade wrote: > > CVSROOT: /cvs > > Module name: src > > Changes by: gil...@cvs.openbsd.org 2018/12/21 07:41:41 > > > > Modified files: > >

Re: what would a POP3s daemon best look like?

2018-11-04 Thread Walter Alejandro Iglesias
On Sun, Nov 04, 2018 at 05:38:42AM -0700, Todd C. Miller wrote: > On Sun, 04 Nov 2018 12:26:27 +0100, Walter Alejandro Iglesias wrote: > > > I've been assuming that running pop3d(8) from ports, listening in 995 > > only and with 110 port firewalled my passwords aren't traveling

Re: what would a POP3s daemon best look like?

2018-11-04 Thread Walter Alejandro Iglesias
Hi Todd, Not an expert here and just to be sure, :-) In article <21bf906b4c6c6...@sudo.ws> Todd C. Miller wrote: > I don't think there is much interest in having a pop3 daemon in > base due to the use of plain-text passwords I've been assuming that running pop3d(8) from ports, listening in

Re: kernel panic while reproducing video with mpv

2018-06-24 Thread Walter Alejandro Iglesias
Hi Visa, On Sun, Jun 24, 2018 at 05:54:15PM +, Visa Hankala wrote: > On Sun, Jun 24, 2018 at 12:37:45PM +0200, Walter Alejandro Iglesias wrote: > > panic: mtx 0x81c86470: locking against myself > > Stopped at db_enter+0x12: popq%r11 > > TIDP

kernel panic while reproducing video with mpv

2018-06-24 Thread Walter Alejandro Iglesias
Hello, I had a kernel panic while reproducing a video with mpv. It's my first kernel panic with OpenBSD, so I didn't know how to use ddb(4). Since I'm running my http and smtp server in this machine I cannot entertain myself too much reproducing the panic to get more info. That's why I don't

I got smtpd.conf working thanks to the man page

2018-05-29 Thread Walter Alejandro Iglesias
Just in case it could be useful to others. After upgrading the snaptshot requiring the new version of smtpd.conf it happend that the new rules I'd written (included the last one Gilles passed me) were all wrong. I could get it working thanks to the man page. The result: # OLD accept from local

Re: Checking my new smtpd.conf syntax

2018-05-26 Thread Walter Alejandro Iglesias
On Sat, May 26, 2018 at 12:35:57PM +0200, Walter Alejandro Iglesias wrote: > On Sat, May 26, 2018 at 08:15:18AM +0200, Gilles Chehade wrote: > > > Gilles, I also saw the "ca" directive. I've been using the acme > > > certificates in pki directives, can I use them

Re: Checking my new smtpd.conf syntax

2018-05-26 Thread Walter Alejandro Iglesias
On Sat, May 26, 2018 at 08:15:18AM +0200, Gilles Chehade wrote: > > Gilles, I also saw the "ca" directive. I've been using the acme > > certificates in pki directives, can I use them in the "ca" directive > > too? (any advantage in doing this?) > > > > don't touch a knob if you don't KNOW that

Re: Checking my new smtpd.conf syntax

2018-05-25 Thread Walter Alejandro Iglesias
On Fri, May 25, 2018 at 03:58:59PM +0300, Consus wrote: > On 14:31 Fri 25 May, Gilles Chehade wrote: > > On Fri, May 25, 2018 at 02:20:50PM +0200, Walter Alejandro Iglesias wrote: > > > Could someone tell me if my changes below are OK. :-) > > > > > &

Checking my new smtpd.conf syntax

2018-05-25 Thread Walter Alejandro Iglesias
Could someone tell me if my changes below are OK. :-) The part I'm not clear is I read in current.html remote authenticated users need a explicit rule. Do I need to add some "match auth" rule? # /etc/mail/smptd.conf egress_int="em0" server="server.roquesor.com" table aliases

Re: Viewport for man.openbsd.org -- readability on phones

2018-05-18 Thread Walter Alejandro Iglesias
In article <20180518004729.gl68...@athene.usta.de> Ingo Schwarze wrote: > Hi Aner, > > Aner Perez wrote on Thu, May 17, 2018 at 06:32:44PM -0400: > > On 05/17/2018 05:22 PM, x...@dr.com wrote: > >> "Ingo Schwarze" wrote: > > >>> Absolutely not. > >>> Mandoc

Re: Do I need slaacd(8) up and running?

2017-11-11 Thread Walter Alejandro Iglesias
On Sat, Nov 11, 2017 at 04:57:14PM -0700, Theo de Raadt wrote: > >On Sat, Nov 11, 2017 at 05:58:59AM -0700, Theo de Raadt wrote: > >> >A question to the experts here. > >> > > >> >My home router (a crappy one provided by my ISP) has ipv6 disabled, at > >> >least it's what its guied configuration

Re: Do I need slaacd(8) up and running?

2017-11-11 Thread Walter Alejandro Iglesias
On Sat, Nov 11, 2017 at 05:58:59AM -0700, Theo de Raadt wrote: > >A question to the experts here. > > > >My home router (a crappy one provided by my ISP) has ipv6 disabled, at > >least it's what its guied configuration tells me. :-) And I have ipv6 > >disabled in all my LAN machines. The laptop

Do I need slaacd(8) up and running?

2017-11-11 Thread Walter Alejandro Iglesias
A question to the experts here. My home router (a crappy one provided by my ISP) has ipv6 disabled, at least it's what its guied configuration tells me. :-) And I have ipv6 disabled in all my LAN machines. The laptop I use with OpenBSD has slaacd(8) up and running by default, even when I didn't

Re: mandoc output paper size

2017-10-29 Thread Walter Alejandro Iglesias
In article Mike Williams wrote: > Hiya > > On 10/27/17 14:31, Ingo Schwarze wrote: > > [ sending this particular one back to the list > > because it contains something useful for everyone and nothing private ] > >

Re: mandoc output paper size

2017-10-27 Thread Walter Alejandro Iglesias
In article <20171027104221.gd9...@www.stare.cz> Jan Stary wrote: > On Oct 27 12:12:21, w...@roquesor.com wrote: > > In article <20171026193138.ga41...@www.stare.cz> Jan Stary > > wrote: > > > > > > In the ps file generated by mandoc you should have this line: > > >

Re: mandoc output paper size

2017-10-27 Thread Walter Alejandro Iglesias
In article <20171026193138.ga41...@www.stare.cz> Jan Stary wrote: > > > > In the ps file generated by mandoc you should have this line: > > > > > > > > %%DocumentMedia: Default 595 841 0 () () > > > > > > > > Where 595 841 correspond to A4. If you set output paper to "letter"

Sent here by mistake (instead to bugs@) Sorry!

2017-10-26 Thread Walter Alejandro Iglesias
In article <a67500574d104...@server.roquesor.com> Walter Alejandro Iglesias <w...@roquesor.com> wrote: > Hi Ruben, > > In article > <caenp9cg+b-5b+8r3w9eaebodaxeybrdhg7jhfgq2ascrbfg...@mail.gmail.com> Ruben > Miller <rubenmil

Re: cwm 6.2: Windows losing focus while cycling (ALT-TAB)

2017-10-26 Thread Walter Alejandro Iglesias
Hi Ruben, In article Ruben Miller wrote: > In article > Ruben Miller wrote: > >The speed is not a problem, since

Re: mandoc output paper size

2017-10-26 Thread Walter Alejandro Iglesias
On Thu, Oct 26, 2017 at 07:24:43PM +0200, Ingo Schwarze wrote: > Hi Walter, > > Walter Alejandro Iglesias wrote on Thu, Oct 26, 2017 at 05:44:16PM +0200: > > > I have files generated with GNU roff that defaults to letter size. > > That's the upstream (GNU troff) defa

Re: mandoc output paper size

2017-10-26 Thread Walter Alejandro Iglesias
Answering myself. In article <a675001fecbb3...@server.roquesor.com> Walter Alejandro Iglesias <w...@roquesor.com> wrote: > As a side note. You made me realize of something I didn't notice when > I migrated to openbsd; I have files generated with GNU roff that > de

Re: mandoc output paper size

2017-10-26 Thread Walter Alejandro Iglesias
In article <20171026104155982590.bfb59...@talsever.com> Amelia A Lewis <amyz...@talsever.com> wrote: > On Thu, 26 Oct 2017 16:14:36 +0200 (CEST), Walter Alejandro Iglesias > wrote: > > In the ps file generated by mandoc you should have this line: > > > >

Re: mandoc output paper size

2017-10-26 Thread Walter Alejandro Iglesias
In article <20171026122507.ga13...@www.stare.cz> Jan Stary wrote: > On Oct 26 11:36:45, w...@roquesor.com wrote: > > In article <20171026083919.ga38...@www.stare.cz> Jan Stary > > wrote: > > > I am not sure whether man -Tpdf and man -Tps honour the paper size. > >

Re: mandoc output paper size

2017-10-26 Thread Walter Alejandro Iglesias
In article <20171026083919.ga38...@www.stare.cz> Jan Stary wrote: > I am not sure whether man -Tpdf and man -Tps honour the paper size. I think it does. I don't have a printer at hand to verify it but if in the gv(1) menu I select alternativelly A4 (or Letter) and Default I can

Re: SSH: lost connection after restarting pf. [SOLVED]

2017-08-18 Thread Walter Alejandro Iglesias
On Fri, Aug 18, 2017 at 07:31:05PM +0200, Otto Moerbeek wrote: > On Sat, Aug 12, 2017 at 02:40:41PM +0200, Walter Alejandro Iglesias wrote: > > > In article <20170812123632.p7zgt2l4kz43y...@symphytum.spacehopper.org> you > > wrote: > > > On 2017/08/12 14:33

Re: Mastering opensmtpd rules

2017-08-15 Thread Walter Alejandro Iglesias
On Tue, Aug 15, 2017 at 05:10:00PM +0200, Gilles Chehade wrote: > On Tue, Aug 15, 2017 at 01:29:16PM +0200, Walter Alejandro Iglesias wrote: > > > > > > accept from any for any virtual [...] > > > > > > > Besides, after modifying that rule in t

Re: Mastering opensmtpd rules

2017-08-15 Thread Walter Alejandro Iglesias
> > accept from any for any virtual [...] > Besides, after modifying that rule in the file I also had to change the order. Since rules below the "catch-all" one never get evaluated, it has forcibly to be the last one: [...] accept from local for local alias deliver to mbox accept

Re: Mastering opensmtpd rules

2017-08-15 Thread Walter Alejandro Iglesias
Hi Gilles, On Tue, Aug 15, 2017 at 11:15:32AM +0200, Gilles Chehade wrote: > On Tue, Aug 15, 2017 at 09:22:41AM +0200, Walter Alejandro Iglesias wrote: > > Hello everyone, > > > > I'd appreciate experienced opensmtpd users tell me if I'm understanding > > well the mech

Mastering opensmtpd rules

2017-08-15 Thread Walter Alejandro Iglesias
Hello everyone, I'd appreciate experienced opensmtpd users tell me if I'm understanding well the mechanism in the following rule. Currently, in my smtpd.conf I have this line: accept from any for domain virtual deliver to mbox But since all keys in my "valiases" table are full email

Re: SSH: lost connection after restarting pf. [SOLVED]

2017-08-12 Thread Walter Alejandro Iglesias
In article <20170812123632.p7zgt2l4kz43y...@symphytum.spacehopper.org> you wrote: > On 2017/08/12 14:33, Walter Alejandro Iglesias wrote: > > In article <5127ac707aa6f...@server.roquesor.com> you wrote: > > > Hi Stuart, > > > > > > In article <s

Re: SSH: lost connection after restarting pf.

2017-08-12 Thread Walter Alejandro Iglesias
In article <5127ac707aa6f...@server.roquesor.com> you wrote: > Hi Stuart, > > In article <slrnootn18.31bc@naiad.spacehopper.org> you wrote: > > On 2017-08-12, Walter Alejandro Iglesias <w...@roquesor.com> wrote: > > > Yesterday while copying a big

Re: SSH: lost connection after restarting pf.

2017-08-12 Thread Walter Alejandro Iglesias
Hi Stuart, In article <slrnootn18.31bc@naiad.spacehopper.org> you wrote: > On 2017-08-12, Walter Alejandro Iglesias <w...@roquesor.com> wrote: > > Yesterday while copying a big file from one machine to another in my LAN > > I noticed that restarting pf: > >

Re: SSH: lost connection after restarting pf.

2017-08-12 Thread Walter Alejandro Iglesias
On Sat, Aug 12, 2017 at 11:08:23AM +0200, Walter Alejandro Iglesias wrote: > Yesterday while copying a big file from one machine to another in my LAN > I noticed that restarting pf: > > # pfctl -d && pfctl -e -f /etc/pf.conf I assume it's not necessary to say I'm doing t

SSH: lost connection after restarting pf.

2017-08-12 Thread Walter Alejandro Iglesias
Yesterday while copying a big file from one machine to another in my LAN I noticed that restarting pf: # pfctl -d && pfctl -e -f /etc/pf.conf scp stops and quits showing this message: - stalled - Conection reset by 192.168.1.* Lost connection Is this expected or is a bug?

Re: New question, do I really need a AAAA record?

2017-08-10 Thread Walter Alejandro Iglesias
On Thu, Aug 10, 2017 at 07:26:16PM +0100, Stuart Henderson wrote: > Rephrasing: if you make an outgoing SMTP connection, a reverse DNS PTR > record should exist for the source address you're connecting from (whether > that's v4 or v6), and an A (for v4) or (for v6) lookup for the name > in

Re: New question, do I really need a AAAA record?

2017-08-10 Thread Walter Alejandro Iglesias
In article you wrote: > Hi Stuart, > > In article you wrote: > > On 2017-08-10, Rui Ribeiro wrote: > > > An email server in a residential setting will fail PTR unless you are > > > working

New question, do I really need a AAAA record?

2017-08-10 Thread Walter Alejandro Iglesias
Hi Stuart, In article you wrote: > On 2017-08-10, Rui Ribeiro wrote: > > An email server in a residential setting will fail PTR unless you are > > working with a medium sized/an ISP that cares about their customers. > > > > see

Re: gmail and hotmail blocking mail sent from my IP

2017-08-09 Thread Walter Alejandro Iglesias
Hello Rupert, In article

How about to let this die?

2017-08-09 Thread Walter Alejandro Iglesias
Guys, The issue was solved after the fist answer (Martijn van Duren's). Everyone's opinions have been very useful. But since this is not OpenBSD related I propose to let it die.

Re: gmail and hotmail blocking mail sent from my IP

2017-08-08 Thread Walter Alejandro Iglesias
In article <20170808121343.46a8ddb9@fir.internal> you wrote: > Hi Walter: > > On Sun, 6 Aug 2017 19:45:22 +0200 Walter Alejandro Iglesias wrote: > > What determines those "ranges", who regulates that? > > Some ISPs submit IP blocks to various blacklists

Re: gmail and hotmail blocking mail sent from my IP

2017-08-06 Thread Walter Alejandro Iglesias
In article <slrnooes63.31bc@naiad.spacehopper.org> you wrote: > On 2017-08-06, Walter Alejandro Iglesias <w...@roquesor.com> wrote: > > I visited spamhaus.org site and found out my IP is included in a list > > called PBL that, as they explain is not a spammers

Re: gmail and hotmail blocking mail sent from my IP

2017-08-06 Thread Walter Alejandro Iglesias
Hi Niels, On Sun, Aug 06, 2017 at 07:19:04PM +0200, Niels Kobschätzki wrote: > > > On 6. Aug 2017, at 18:40, Walter Alejandro Iglesias <w...@roquesor.com> > > wrote: > > > >> On Sun, Aug 06, 2017 at 06:02:25PM +0200, Jesper Wallin wrote: > >> Like

Re: gmail and hotmail blocking mail sent from my IP

2017-08-06 Thread Walter Alejandro Iglesias
On Sun, Aug 06, 2017 at 06:02:25PM +0200, Jesper Wallin wrote: > Like Martijn pointed out, you're sending mail from a IP which is not > intended for mail-servers. This was my main question. What is an "IP intended for mail-servers"?

Re: gmail and hotmail blocking mail sent from my IP

2017-08-06 Thread Walter Alejandro Iglesias
Hi Gareth, On Sun, Aug 06, 2017 at 04:12:45PM +0100, Gareth Nelson wrote: > I'm assuming that you have your SPF records setup correctly. > I did that at first, and all the tricks (dkim, etc) they ask to make you appear as a legal sender, but after confirming my mail still went to SPAM in both

Re: gmail and hotmail blocking mail sent from my IP

2017-08-06 Thread Walter Alejandro Iglesias
Hi Martijn, On Sun, Aug 06, 2017 at 05:09:10PM +0200, Martijn van Duren wrote: > Not an authority on this, so take my reply for what you want. > > As far as I know this list is used to keep track of ip-addresses by ISPs > for home-addresses, which are not intended to be used for outgoing mail. >

gmail and hotmail blocking mail sent from my IP

2017-08-06 Thread Walter Alejandro Iglesias
Hello everyone, I was using smtpd(8) (static IP and FQDN resolving direct and reverse) for a year without problems. Today sending from my server (from the same address I'm using now) to gmail and hotmail they answered the following (MAILER-DAEMON answer). Sending to gmail addresses:

Re: Helping out

2017-08-02 Thread Walter Alejandro Iglesias
Hello Bryan and Radoslav, In article <20170802015654.ga64...@c.brycv.com> you wrote: > On Tue, Aug 01, 2017 at 08:19:23PM -0400, Radoslav_Mirza wrote: > > Dear Group, Are there any places to start helping out for a beginner? > > Any junior jobs or todo lists? > > > > I have a new Ryzen 1700

Re: mime headers quoted-printable

2017-06-01 Thread Walter Alejandro Iglesias
Inspired in the new utf8 man page (thanks tedu@) I think I found a solution to the charset issue. New version: /* * MIME encode mail header quoted-printable. * */ #include #define ASCII 0x7f #define IN 1 #define OUT 0 #define MAX 1024 int main() { int c, i, n, nl,

Re: mime headers quoted-printable

2017-05-24 Thread Walter Alejandro Iglesias
An overlook I can't figure out why didn't core dumped. --- encode-qprint-header.c Wed May 24 22:04:24 2017 +++ encode-qprint-header.c Wed May 24 22:03:49 2017 @@ -66,13 +66,12 @@ main() } else { if (c > ASCII)

Re: mime headers quoted-printable

2017-05-23 Thread Walter Alejandro Iglesias
I was pointed out words (no spaces) longer than 256 characters produce a buffer overflow with my previous version. I scanned my saved (since ~ 2005) mbox for header lines without spaces longer than 256 and found several. Most of them are non wrapped base64 encoded text, a few are "References:"

mime headers quoted-printable

2017-05-22 Thread Walter Alejandro Iglesias
Hello everyone, With mailx(1) in mind and resurrecting the few I know about C I wrote the code pasted below. It encodes mail headers in MIME quoted-printable format. Unless I'm missing something it complies with all stated here: https://www.ietf.org/rfc/rfc2047.txt You can pipe to it a line

Re: OpenBSD 6.1: httpd.conf macro usage and string concatenation

2017-05-05 Thread Walter Alejandro Iglesias
In article <39c822f4-07f1-3544-0a8e-b75446f94...@4ss.de> you wrote: > Hi! > > I thought I could copy the same static server definition block and only > change a unique macro definition at the top of each server. But this is > not working: > > ## > # from httpd.conf >

  1   2   >