Problem downloading and sending email

2016-12-13 Thread Denny White
Am running 6.0 Release with all patches up to date. I've installed mutt, fetchmail, getmail, procmail, & msmtp. Had rough time setting up mutt trying to remember how to use Mail vs mbox but got it working. Got both getmail & fetchmail to d/l email from my gmail account, but both have same problem:

Re: Problem downloading and sending email

2016-12-13 Thread Marcus MERIGHI
dancerviet2...@yahoo.com (Denny White), 2016.12.13 (Tue) 09:52 (CET): > Am running 6.0 Release with all patches up > to date. I've installed mutt, fetchmail, > getmail, procmail, & msmtp. Had rough time seen this? http://marc.info/?l=openbsd-ports&m=141634350915839 tl;dr: move to fdm(1) > settin

Re: Rspamd or other such programs

2016-12-13 Thread Marcus MERIGHI
p...@thinkage.ca (Peter Fraser), 2016.11.27 (Sun) 21:50 (CET): > Is there a similar procedure to get rspamd or similar to work with smtpd? I did it via amavisd-new and do it atm with spampd. warning: spampd fails on me quite often. that's the reason for extra rc_check() and rc_pre() and some "rc

Re: How to make spamd more annoying ?

2016-12-13 Thread Craig Skinner
Hi Mik, On Mon, 12 Dec 2016 23:21:51 +0100 Peter Hessler wrote: > On 2016 Dec 12 (Mon) at 21:31:25 + (+), Mik J wrote: > > I notice that this spammer lost 387 seconds so 6 minutes. > > Is there a way to make them loose more time ? > > # grep spamd /etc/rc.conf > > spamd_flags="-5 -v -l 127

IPsec - OpenBSD not choosing transform ?

2016-12-13 Thread Bob Jones
Hi, I'm on OpenBSD 6. I have a simple ipsec config as follows : ike esp from 172.16.1.0/24 to 10.10.10.0/24 \ local 192.168.1.1 \ peer 192.168.50.1 \ main auth hmac-sha1 enc aes-128 group modp1024 lifetime 28800 \ quick auth hmac-sha1 enc aes-128 group modp1024 li

VPS default gateway in a different subnet than host

2016-12-13 Thread Jyri Hovila [iki.fi]
Dear everyone, I'm working with an interesting little pilot that involves running an OpenBSD virtual host in KVM environment. The VPS provider in question has no (serious) prior experience with OpenBSD and so there are some rather basic level issues that need solving. I've been able to work out m

Re: How to make spamd more annoying ?

2016-12-13 Thread Peter N. M. Hansteen
On 12/13/16 19:29, Mik J wrote: > Peter, you use greylists but I read somewhere that gmail servers change > their IPs when they retry to send the mails. With a high outgoing volume > of mails, many IPs can be whitelisted thanks to spamlogd. But my server > is very low volume. How would you deal wi

Re: How to make spamd more annoying ?

2016-12-13 Thread Mik J
Hello Peter, Craig, Thank you for your answers. There are two machines trapped in my spamd at the moment. For one of them it's been 18 hours already and stay connected for 800 seconds each time, the other one stays connected 11s only but has been trying for 16 hours. So things are working. Craig, I

Re: Looking for Xen blkfront driver xbf(4) tests

2016-12-13 Thread Mike Belopuhov
On Sun, Dec 11, 2016 at 05:09 -0500, mabi wrote: > Hi, > > Thanks for your efforts and making OpenBSD work even better on > Xen. I use Xen for all types of virtualization and started only > recently using OpenBSD 6.0 as domU. My current test setup is a 2 > node redundant cluster with Xen 4.4.1 and

Re: Problem downloading and sending email

2016-12-13 Thread Denny White
Never could stop the old message d/l problem no matter how I juggled & tweaked settings. I finally went into Gmail settings & changed the date cutoff to allow d/l messages to the present. After first run no more problems. Only glitch now is, no matter how I fiddle with the settings I can't get it t

Re: bgplg httpd "ping: socket: Permission denied"

2016-12-13 Thread Michael W. Lucas
On Tue, Dec 13, 2016 at 02:21:51AM +0100, Jeremie Courreges-Anglas wrote: > "Michael W. Lucas" writes: > > > Hi, > > Hi, > > > Running the 12/12 snapshot, amd64. > > > > I'm setting up the looking glass CGI included with httpd. Requests for > > ping and traceroute fail. > > > > Per bgplg(8), I'

Re: How to make spamd more annoying ?

2016-12-13 Thread Peter N. M. Hansteen
This thread made me take a fresh look at some of my earlier scribblings, mostly http://bsdly.blogspot.com/2014/02/effective-spam-and-malware.html which has grown an addendum with a fresh graph of connection lengths based on what was available on the spamd boxes where I have the liberty to do what I

Re: VPS default gateway in a different subnet than host

2016-12-13 Thread Jyri Hovila [iki.fi]
Hi, a brief follow-up. With Linux, default gateway that resides in different subnet than the host, all that has to be done is 1) adding a static route to the default gateway and then 2) adding the default gateway to routing table. With my OpenBSD test case, I already have a static route to the d

Re: VPS default gateway in a different subnet than host

2016-12-13 Thread Matthew Dempsky
[+mpi, jsing] This is a known issue. Local /32 routes don't work with the new ART-based routing table. mpi@ is working on a fix. In the mean time, you may be able to recompile your kernel without "option ART". On Tue, Dec 13, 2016 at 9:09 AM, Jyri Hovila [iki.fi] wrote: > Dear everyone, > > I'm

Re: How to make spamd more annoying ?

2016-12-13 Thread OpenBSD lists
Mik J wrote: Hello, I've been annoyed for months/years by a few marketing companies from which I regularly unsubriscribed (according to the law in my country they should have done it).A few days ago I decided to make spamd work on my pf machine. And I trapped that spam companyDec 12 19:25:55 op

Re: VPS default gateway in a different subnet than host

2016-12-13 Thread Matthew Dempsky
Here is mpi's proposed fix: http://marc.info/?l=openbsd-tech&m=148162020419474&w=2 On Tue, Dec 13, 2016 at 1:36 PM, Matthew Dempsky wrote: > [+mpi, jsing] > > This is a known issue. Local /32 routes don't work with the new > ART-based routing table. > > mpi@ is working on a fix. In the mean time,

Re: VPS default gateway in a different subnet than host

2016-12-13 Thread Jyri Hovila [iki.fi]
Hi! > This is a known issue. Local /32 routes don't work with the new > ART-based routing table. Thank you so much for this info! You just saved me from a *lot* of headaches! > mpi@ is working on a fix. In the mean time, you may be able to > recompile your kernel without "option ART". Yeah, I'm

Re: VPS default gateway in a different subnet than host

2016-12-13 Thread Dag Richards
With tcp, the default is pretty much always in the same subnet as at least one interface of any given host. One can do things with VPN, and gif's and gre's etc which can work around some oddball situations. however. if there is a local router that you use to get to your 'default' gateway, I w

Re: VPS default gateway in a different subnet than host

2016-12-13 Thread Jyri Hovila [iki.fi]
Hi! The thing is, I can't recompile the kernel on the VPS I'm working on since I have no means to transfer the sources to the host. Chicken / egg... > Here is mpi's proposed fix: > http://marc.info/?l=openbsd-tech&m=148162020419474&w=2 I'll be happy to test this if it makes it's way to CURRENT.

Re: VPS default gateway in a different subnet than host

2016-12-13 Thread Matthew Dempsky
Do you have console access to the VM? You may be able to use: route delete 5.166.16.254/32 route add 5.166.16.252/30 -gateway -iface 193.34.119.15 as a workaround so you can download the kernel sources. On Tue, Dec 13, 2016 at 3:10 PM, Jyri Hovila [iki.fi] wrote: > Hi! > > The thing is,

Re: How to make spamd more annoying ?

2016-12-13 Thread Mikkel C. Simonsen
OpenBSD lists wrote: Most of the spam I've received from marketing companies tends to come from send-only servers (looking at the user-agent of the sending server its some kind of Python library intended for just sending pre-formatted messages to a list of recipients). What I've done is const

Re: VPS default gateway in a different subnet than host

2016-12-13 Thread Jyri Hovila [iki.fi]
Dag, I'm well familiar with the typical configuration, in which the gateway is in the same sub net. However, this particular setup is actually quite common in the VPS world. At OVH Hosting this configuration is de facto standard. It works by adding a static route to the gateway over the host's IP

Re: How to make spamd more annoying ?

2016-12-13 Thread OpenBSD lists
Mikkel C. Simonsen wrote: OpenBSD lists wrote: Most of the spam I've received from marketing companies tends to come from send-only servers (looking at the user-agent of the sending server its some kind of Python library intended for just sending pre-formatted messages to a list of recipients).

LibreNMS 500 Internal Server Error

2016-12-13 Thread Predrag Punosevac
Hi Misc, I am working on the new installation of LibreNMS using Nginx as the server # uname -a OpenBSD lnms.int.autonlab.org 6.0 GENERIC.MP#2 amd64 Installation went well gd yes mysql yes snmpyes mcrypt yes pearyes I followed pkg-readmes and mysql, php, and nginx are correctly

Re: LibreNMS 500 Internal Server Error

2016-12-13 Thread Predrag Punosevac
I think I made a progress. Namely I stumbled upon this post https://github.com/librenms/librenms/issues/3525 Replacing location / { try_files $uri $uri/ @librenms; } with location / { try_files $uri $uri/ /index.php; } Did the trick for me. I would still appreciate if peopl