Re : Question: c_config.sh and symon.conf on symon for OpenBSD PF

2011-10-27 Thread Mik J
Hello Stefan, 1.Do I need to configure symon.conf only? Do I need to customize c_config.sh to meet my specific requirement because c_config.sh file contains and collect interface and io information only? It's not important which file to use and where is the file. Start symon and symux

OpenBSD ipsec gateway behind a router

2011-11-13 Thread Mik J
Hello, I would like to know if such configuration is possible. LAN1 (192.168.10.0/24) -- OpenBSD .99 -- .254 Router IPx -- Internet -- IPy IPSec_GW (Vendor) -- LAN2 (192.168.20.0/24) As you can see the OpenBSD 4.9 server sits on the LAN1 and has one physical interface. When it wants to access

Re : OpenBSD ipsec gateway behind a router

2011-11-14 Thread Mik J
185.53.27.23/esp/use/in 10.20/16 010.10.11/24 00 185.53.27.23/esp/require/out Fabio Almeida Em 13/11/2011, `s 12:06, Mik J escreveu: Hello, I would like to know if such configuration is possible. LAN1 (192.168.10.0/24) -- OpenBSD .99 -- .254 Router IPx -- Internet

Re : OpenBSD ipsec gateway behind a router

2011-11-16 Thread Mik J
Almeida Em 13/11/2011, `s 12:06, Mik J escreveu: Hello, I would like to know if such configuration is possible. LAN1 (192.168.10.0/24) -- OpenBSD .99 -- .254 Router IPx -- Internet -- IPy IPSec_GW (Vendor) -- LAN2 (192.168.20.0/24) As you can see the OpenBSD 4.9

Re : OpenBSD ipsec gateway behind a router

2011-11-17 Thread Mik J
/in 10.20/16 0 10.10.11/240 0 185.53.27.23/esp/require/out Fabio Almeida Em 13/11/2011, `s 12:06, Mik J escreveu: Hello, I would like to know if such configuration is possible. LAN1 (192.168.10.0/24) -- OpenBSD .99 -- .254 Router IPx

Re : OpenBSD ipsec gateway behind a router

2011-11-19 Thread Mik J
MJ LAN1 (192.168.10.0/24) -- OpenBSD .99 -- .254 Router IPx -- Internet -- IPy IPSec_GW (Vendor) -- LAN2 (192.168.20.0/24) MJ As you can see the OpenBSD 4.9 server sits on the LAN1 and has one physical interface. MJ When it wants to access to the internet, its address 192.168.10.99 is natted in

Re : how to find dependencies when building a new kernel

2011-11-30 Thread Mik J
Hello, De : Kevin Chadwick ma1l1i...@yahoo.co.uk Split your config in half, choose the half you think is most likely to cause the problem and diff that half back to defaults and compile. Just to ack what Kevin says. You're trying to add and remove too many different things at once. First take

PF rule counters

2011-12-22 Thread Mik J
Hello, I would like a clarification. I have these rules and I notice an incrementation only when there is a new incoming connection. Here I did an ssh connection # pfctl -s rules -v | head -6 block drop log all [ Evaluations: 83Packets: 0 Bytes: 0 States: 0 ] [

Equivalent of /etc/libmap.conf on OpenBSD

2012-02-08 Thread Mik J
Hello everyone, I have not found how to get an equivalent of /etc/libmap.conf on OpenBSD I'm following a documentation written for FreeBSD and they say echo libpthread.so libthr.so /etc/libmap.conf Do you know how can I get this done on OpenBSD ? Thanks

Re : vpn isakmpd ipsec, one side with only one interface

2012-02-16 Thread Mik J
Hello, I have this configuration working without any bridge. Openbsd rl0 - LAN1 - Router - Internet - RemoteFW - LAN 2 - SomeDevice My PC is connected to a LAN1 switch, and it's able to ssh SomeDevice. As you can see my OpenBSD has just one interface and the VPN is mounted between OpenBSD and

Re : Re : vpn isakmpd ipsec, one side with only one interface

2012-02-18 Thread Mik J
De : Wesley M. open...@e-solutions.re @ : Mik J mikyde...@yahoo.fr Cc : misc@openbsd.org Envoyi le : Vendredi 17 fivrier 2012 5h45 Objet : Re: Re : vpn isakmpd ipsec, one side with only one interface I know ssh works also very well. But the company has requierements : ipsec vpn

Php script using adodb cannot connect to mysql when executed in chroot /var/www

2011-10-05 Thread Mik J
Hello everyone, My problem is that I cannot execute a php script in CLI. This test script is supposed to connect to mysql and retrieve some simple results Systeme: OpenBSD 3.9 Packages installed: php5-core-5.2.17, php5-extensions-5.2.17, php5-gd-5.2.17, php5-mysql-5.2.17, php5-snmp-5.2.17,

Re : Php script using adodb cannot connect to mysql when executed in chroot /var/www

2011-10-06 Thread Mik J
De : richardtoo...@paradise.net.nz richardtoo...@paradise.net.nz OpenBSD 3.9? Or 4.9? My mistake, yes it's OpenBSD 4.9 Quoting Mik J mikyde...@yahoo.fr: Hello everyone, My problem is that I cannot execute a php script in CLI. This test script is supposed to connect to mysql

Re : Php cannot connect to mysql

2011-10-06 Thread Mik J
_mysqlB 33 OctB 4 23:08 /var/run/mysql/mysql.sock - /var/www/var/run/mysql/mysql.sock I suppose this is normal DeB : pavel pocheptsov lilit-aibo...@mail.ru CB : misc@openbsd.org CcB : Mik J mikyde...@yahoo.fr EnvoyC) le : Jeudi 6 Octobre 2011 11h11 ObjetB : Re

Re : Re : Php script using adodb cannot connect to mysql when executed in chroot /var/www [SOLVED]

2011-10-07 Thread Mik J
. Have a nice week end - Mail original - De : richardtoo...@paradise.net.nz richardtoo...@paradise.net.nz @ : Mik J mikyde...@yahoo.fr Cc : misc@openbsd.org misc@openbsd.org; richardtoo...@paradise.net.nz richardtoo...@paradise.net.nz Envoyi le : Jeudi 6 Octobre 2011 21h51 Objet : Re

Apache won't start after pecl-imagick installation

2012-05-08 Thread Mik J
Hello, I'm reinstalling my system from 4.9 to 5.1 I have installed pecl-imagick and stopped/started Apache but I have a seg fault (core dumped). If I uninstall this package Apache stops/starts nicely. I have read this page http://www.openbsd.org/faq/upgrade50.html#Pkgup The last point talks

Re : Ftpd chroot in a user folder name

2012-05-08 Thread Mik J
Hello, Not exactly the accurate answer to your question but I use pure-ftpd. It does exactly what you want: A user is chrooted and cannot see other users directories (which are not within the user's tree) - Mail original - De : Wesley open...@e-solutions.re @ : Nicolai

Re : Apache won't start after pecl-imagick installation

2012-05-08 Thread Mik J
: Apache won't start after pecl-imagick installation On 2012-05-08, Mik J mikyde...@yahoo.fr wrote: Hello, I'm reinstalling my system from 4.9 to 5.1 I have installed pecl-imagick and stopped/started Apache but I have a seg fault (core dumped). If I uninstall this package Apache stops

Error while copying data from another disk

2012-05-14 Thread Mik J
Hello, After my new OpenBSD installation, I'm trying to copy data from my backup disk and I have these errors. wd0f: uncorrectable data error reading fsbn 1671616960 of 1671616896-1671617023) It happens with different files that belong to different directories and it's always the number fsbn

Re : Error while copying data from another disk

2012-05-15 Thread Mik J
- Mail original - De : Ted Unangst t...@tedunangst.com On Mon, May 14, 2012 at 10:19, Jan Stary wrote: On May 14 08:11:43, Mik J wrote: My first question is that I don't understand the term fsbn. http://lmgtfy.com/?q=openbsd+fsbn The results for that aren't particularly helpful

Re : Error while copying data from another disk

2012-05-16 Thread Mik J
On Tue, 15 May 2012 17:33:02 +0100 (BST) Mik J wrote: to recover the rest of my files (50% left) while the disk doesn't complain Hello, I wanted to give a feedback. I have copied all my directories except one that was generating the errors that I wrote in my first mail. The directory

Mounting a partition, cdrom, usb as a user

2012-06-16 Thread Mik J
Hello, I'm able to mount a partition as a user if I have kern.usermount=1 # ls -l /dev/wd2* brw-rw  1 root  operator    0,   0 May  7 21:54 /dev/wd2a # ls -l /mnt drwxrwxr-x   2 myuser  operator  512 May  7 22:38 extpart and # grep operator /etc/group operator:*:5:root,myuser However, I'm

Re : Mounting a partition, cdrom, usb as a user

2012-06-16 Thread Mik J
+0100, Mik J wrote: ... However, I'm unable to mount the partition if the owner of /mnt/extpart is root although that mount point is rwx by the group operator and myuser belongs to that group. # ls -l /mnt drwxrwxr-x   2 root  operator  512 May  7 22:38 extpart I assume

Re: Re : Apache won't start after pecl-imagick installation

2012-07-20 Thread Mik J
to work ? - Mail original - De : Mik J mikyde...@yahoo.fr À : misc@openbsd.org misc@openbsd.org Cc : Envoyé le : Mardi 8 mai 2012 22h08 Objet : Re : Apache won't start after pecl-imagick installation Thank you for your answer. I did use apachectl but after your email I followed your

Re: Re : Apache won't start after pecl-imagick installation

2012-07-20 Thread Mik J
: Apache won't start after pecl-imagick installation Maybe a stupid question, but did you create the certificate the steps in the FAQ? http://www.openbsd.org/faq/faq10.html#HTTPS On Fri, Jul 20, 2012 at 09:23:53AM +0100, Mik J wrote: Hello, I'm coming back with this Apache startup

Re: Re : Apache won't start after pecl-imagick installation

2012-07-20 Thread Mik J
Hello Otto, I was confused if I could start it manually or not. There was indeed a little mistake in the configuration regarding the paths of the certificate. It's now solved. Thank you to both of you - Mail original - De : Otto Moerbeek o...@drijf.net À : Mik J mikyde...@yahoo.fr Cc

ERP on OpenBSD

2012-08-17 Thread Mik J
Hello, Has anyone tried to install OpenERP on OpenBSD ? I tried tryton but I really didn't like it. There's no web interface and it requires a heavy client. And also for other reasons. I also tried Adempierre but it required a libmap.conf file and OpenBSD will not have this.

Perl script ran by chrooted apache

2012-08-24 Thread Mik J
Hello, I have the following perl script that works in command line: #!/usr/bin/perl use Net::DNS; my $res   = Net::DNS::Resolver-new; my $query = $res-search(www.openbsd.org); if ($query) {     foreach my $rr ($query-answer) {     next unless $rr-type eq A;     print $rr-address, \n;    

Re: Perl script ran by chrooted apache

2012-08-24 Thread Mik J
De : Sébastien Marie semarie-open...@latrappe.fr On Fri, Aug 24, 2012 at 06:02:39PM +0100, Mik J wrote: Hello, I have the following perl script that works in command line: [...] # ./dns.pl 142.244.12.42 [...] I tried in /var/www/htdocs/cgi/ but when I access http

Re: Perl script ran by chrooted apache

2012-08-24 Thread Mik J
I modified the wrong file. Since I was debugging I had created many copies of that script. Yes your solution works. Thank you. - Mail original - De : Mik J mikyde...@yahoo.fr À : misc@openbsd.org misc@openbsd.org Cc : Envoyé le : Vendredi 24 août 2012 23h14 Objet : Re: Perl

Apache on OpenBSD 5.2 ?

2012-09-05 Thread Mik J
Hello, The web page http://www.openbsd.org/52.htmlsays Added nginx(8), an HTTP server, reverse proxy server and mail proxy server. Does it mean that Apache 1.3 will be removed from the default install ? Thank you

Re: Apache on OpenBSD 5.2 ?

2012-09-05 Thread Mik J
- Mail original - De : Nick Holland n...@holland-consulting.net The web page http://www.openbsd.org/52.html says Added nginx(8), an HTTP server, reverse proxy server and mail proxy server. Does it mean that Apache 1.3 will be removed from the default install ? Thank you

Ldaps authentication from a php web page

2012-09-22 Thread Mik J
Hello, I'm trying to get a php script to authenticate with ldaps but I can't make it work for some reason. A basic ldap query works in command line $ ldapsearch -x -H ldaps://myserver.mydomain.fr -W -D cn=admin,dc=mydomain,dc=fr -b '' -s base '(objectclass=*)' namingContexts So I'm 90% sure

Re: Ldaps authentication from a php web page

2012-09-22 Thread Mik J
De : Philip Guenther guent...@gmail.com On Sat, Sep 22, 2012 at 7:55 AM, Mik J mikyde...@yahoo.fr wrote: ... I think so the problem is on the client side. When I use the command line, I think that /etc/openldap/ldap.conf is used by ldapsearch and in that file I have: URI ldaps

Re: Ldaps authentication from a php web page

2012-09-23 Thread Mik J
De : Philip Guenther guent...@gmail.com  On Sat, Sep 22, 2012 at 3:33 PM, Mik J mikyde...@yahoo.fr wrote: De : Philip Guenther guent...@gmail.com Since you have a working set up outside of the chroot, I would think the easiest thing would be to copy that set up into the chroot

isakmpd message dropped message from IP port 4500 due to notification type Unknown 0

2012-09-28 Thread Mik J
Hello, I have these messages that appear in my syslog on a regular basis Sep 27 05:52:51 obsd isakmpd[11819]: message_recv: bad message length Sep 27 05:52:51 obsd isakmpd[11819]: dropped message from REMOTE_IP port 4500 due to notification type Unknown 0 Sep 27 05:53:18 obsd isakmpd[11819]:

How to mark a block as invalid ?

2013-08-17 Thread Mik J
Hello, In my message log file I have /bsd: wd1g: uncorrectable data error reading fsbn 27690576 of 27690560-27690591 (wd1 bn 1951859792; cn 121497 tn 166 sn 29), retrying I used the badblocks utility an checked the whole disk and only this block number is faulty. I tried to override it with

Re: How to mark a block as invalid ?

2013-08-18 Thread Mik J
command) De : Josh Grosse j...@jggimi.homeip.net À : misc@openbsd.org misc@openbsd.org Envoyé le : Dimanche 18 août 2013 3h26 Objet : Re: How to mark a block as invalid ? On Sat, Aug 17, 2013 at 10:51:36PM +0100, Mik J wrote: Hello, In my message log file I have

Re: Mount ISO as read write

2015-10-29 Thread Mik J
écrit : On Wed, 28 Oct 2015 07:45:05 + (UTC) Mik J <mikyde...@yahoo.fr> wrote: > Hello everyone, > I asked this question on another list a long time ago. > * I would like to mount an iso in order to add some files# ls -l /mnt > drwxr-xr-x  2 root  wheel    512 May

Mount ISO as read write

2015-10-28 Thread Mik J
Hello everyone, I asked this question on another list a long time ago. * I would like to mount an iso in order to add some files# ls -l /mnt drwxr-xr-x 2 root wheel 512 May 3 15:31 iso# vnconfig svnd0 Image.iso # mount_cd9660 -o rw /dev/svnd0c /mnt/isoAfter the mount, it's read only# ls -l

Re: System hangs at setting tty flags

2016-01-04 Thread Mik J
drm0 in the kernel, it seems to boot without any problem (I tried 3 reboots) Le Lundi 28 décembre 2015 23h15, Mik J <mikyde...@yahoo.fr> a écrit : Hello, I just did a fresh install with OpenBSD 5.8 and an ASUS motherboard Z97-P The installation went fine but then from the firs

Re: Connect to OpenVPN from OpenBSD

2016-01-03 Thread Mik J
Priviet, I would advice you to use the openvpn from the ports. I imported the configuration from my windows clients a few days ago and I have been to make it work in a few minutes.One of the first question is, what does the remote end supports. Le Samedi 2 janvier 2016 18h09, Jiri B

System hangs at setting tty flags

2015-12-28 Thread Mik J
Hello, I just did a fresh install with OpenBSD 5.8 and an ASUS motherboard Z97-P The installation went fine but then from the first boot it hangs at "setting tty flags" this is just after the partitions are fsck'edI searched on search engines and found that people running Openbsd as a VM disable

Re: Install VMWare tools on Openbsd 5.9

2016-07-14 Thread Mik J
Hello,Thank you. You are right, it's working now.Thank you Le Jeudi 14 juillet 2016 14h38, trondd <tro...@kagu-tsuchi.com> a écrit : On Thu, July 14, 2016 7:00 am, Mik J wrote: > Hello, > Does anyone know how to install the VMWare tools on Openbsd 5.9 ?I > un

Install VMWare tools on Openbsd 5.9

2016-07-14 Thread Mik J
Hello, Does anyone know how to install the VMWare tools on Openbsd 5.9 ?I understood that I will not install some vmware program and rather use the vmt driver which is enabled by default in GENERIC.I can see it's loaded at bootup dmesg | grep vmt But what's next ?When I edit the VM parameters,

Re: Dovecot errors on startup

2016-07-30 Thread Mik J
should appear Thanks Le Samedi 30 juillet 2016 21h19, Mik J <mikyde...@yahoo.fr> a écrit : Hello Olivier, About your configuration, I don't understand why you use "mail_privileged_group = vmail" because it's only for mailbox not for MaildirThey say "Currently this is

Re: Dovecot errors on startup

2016-07-30 Thread Mik J
  mailbox Trash {     special_use = \Trash   }   prefix = } passdb {   args = /etc/dovecot/dovecot.passwd   driver = passwd-file } protocols = imap ssl_ca = /etc/ssl/certs/CA_Root_and_Intermediate.crt ssl_cert = a écrit : On Sat, 30 Jul 2016 10:39:30 + (UTC) Mik J <mikyde...

Dovecot errors on startup

2016-07-30 Thread Mik J
Hello, I'm able to start dovecot manually as a root# dovecot But I can't using the startup script# /etc/rc.d/dovecot start I notice errorsJul 30 10:50:52 x dovecot: master: Dovecot v2.2.21 (5345f22) starting up for imap Jul 30 10:50:52 x dovecot: master: Error: service(imap-login): pipe() failed:

Re: Dovecot errors on startup

2016-07-30 Thread Mik J
was feeling the login.conf parameters were not taken into account. Do you know how my login.conf should look like if I run dovecot with the _vmail user ? Regards Le Samedi 30 juillet 2016 12h10, Olivier Burelli <oliv...@burelli.fr> a écrit : On Sat, 30 Jul 2016 08:56:18 + (UTC)

IPSec flow not properly routed

2016-11-07 Thread Mik J
Openbsd: 6.0 Hello, I have an ipsec vpn set up but I don't understand why my packets are going out on the wrong interface. # ipsecctl -sa FLOWS: flow esp in from 192.168.8.0/24 to 10.2.89.224/27 peer remote.y.y.y srcid external.ip.x.x/32 dstid remote.y.y.y/32 type use flow esp out from

Re: How to both redirect to console and screen

2016-10-19 Thread Mik J
alexan...@beard.se> a écrit : > > On Mon, Oct 17, 2016 at 11:34:02AM +, Mik J wrote: > >> Hello, >> It is possible to redirect the boot sequence to the console using >> # cat /etc/boot.conf >> set tty com0 >> But then there is no screen

Allow FTP through Openbsd firewall

2016-10-28 Thread Mik J
Hello, I have FTP clients behind my Openbsd firewall and they want to access ftp sites on the internet I have read numerous documentations but haven't found the answer yet. * I start the ftp-proxy like this /usr/sbin/ftp-proxy -D7 -v * I have rules in my pf.conf anchor "ftp-proxy/*" pass in

Re: How to both redirect to console and screen

2016-10-17 Thread Mik J
Hello, It is possible to redirect the boot sequence to the console using # cat /etc/boot.conf set tty com0 But then there is no screen output. How is it possible to have both of them ? Thank you

Re: How to make spamd more annoying ?

2016-12-12 Thread Mik J
at 21:31:25 + (+0000), 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 tha

Re: How to make spamd more annoying ?

2016-12-13 Thread Mik J
the mail to spamd configured with -b3) for other IPs send the mail to my mx Regards Le Mardi 13 décembre 2016 14h24, Craig Skinner <skin...@britvault.co.uk> a écrit : Hi Mik, On Mon, 12 Dec 2016 23:21:51 +0100 Peter Hessler wrote: > On 2016 Dec 12 (Mon) at 21:31:25 + (+0000), Mi

How to make spamd more annoying ?

2016-12-12 Thread Mik J
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 openbsd

FTP behind PF

2017-01-14 Thread Mik J
Openbsd 6.0 Hello, I have a ftp server behind my PF firewall and I would like to be able to ftp in from the internet It doesn't work with# /usr/sbin/ftp-proxy -D7 -v -R @ftp_internal_address -p21 -b @external_address anchor "ftp-proxy/*" pass in quick on $ext_if inet proto tcp to $ext_add port

Re: FTP behind PF

2017-01-15 Thread Mik J
...@online.fr> a écrit : On Sat, Jan 14, 2017 at 11:23:22PM +, Mik J wrote: > Hmmm I don't know# pfctl -f /etc/pf.conf > /etc/pf.conf:95: unknown user _ftp-proxy > pfctl: Syntax error in config file: pf rules not loaded > > I would like to make sure that this rule would mat

Re: FTP behind PF

2017-01-14 Thread Mik J
to $ftp_internal_address Thank you Le Samedi 14 janvier 2017 14h40, Sebastien Marie <sema...@online.fr> a écrit : On Sat, Jan 14, 2017 at 12:11:54PM +0000, Mik J wrote: > Openbsd 6.0 > Hello, > I have a ftp server behind my PF firewall and I would like to be able to ftp in fr

Re: Isakmpd and NAT-T

2017-03-16 Thread Mik J
on? They are using CISCO 6509 with IOS 12.2-33.SXH3a. Thanks by advance, Sebastien On Tue, Mar 14, 2017 at 12:46 AM, Mik J <mikyde...@yahoo.fr> wrote: > Hello Sebastien, > I'm not sure there's something special to force nat-t, it's automatic. > The natted side has to initiate th

Re: Monitoring relayd via SNMP

2017-03-11 Thread Mik J
Hello Pierre,I don't use relayd but for some of my needs with snmp, I retrieve the statistics through a script that is executed everytime I poll a specific OID.It might be dirty, but does the job.Regards Le Mardi 7 mars 2017 16h08, BARDOU Pierre a écrit : I found

Spamd question with Spamtrap

2017-03-13 Thread Mik J
Hello, Spamd has been really efficient in blocking spam. A few of them passed through once in a while but there's no discomfort. But, I'm not able to use spamtrap. #spamdb -T -a ""# spamdb | grep SPAMTRAP SPAMTRAP| But when I telnet port 25 and try

Re: Monitoring relayd via SNMP

2017-03-13 Thread Mik J
r> a écrit : Hello, Thanks for the idea, but how are you triggering a script on polling ? BTW, I think that if snmp is not available I will stick to check_relayd wth NRPE. Cf. http://undeadly.org/cgi?action=article=20110220204953 -- Cordialement, Pierre BARDOU De : Mik J [mailto:mikyde...

Re: Isakmpd and NAT-T

2017-03-13 Thread Mik J
Hello Sebastien,I'm not sure there's something special to force nat-t, it's automatic.The natted side has to initiate the flow to the non natted side.If the two sides are natted then there should be a port forward to one of them.There should be a nat keepalive parameter as well. Le Lundi 13

Re: Security report with mail permissions

2017-07-17 Thread Mik J
Thank you for your answer Ingo. I'll reconfigure my mailbox to use text only Le Dimanche 16 juillet 2017 18h45, Ingo Schwarze a écrit : Hi Mik, not quoting anything because your posting is too ill-formatted. Yours is a frequently answered question. The directory

Security report with mail permissions

2017-07-16 Thread Mik J
Hello, I'm storing my mailboxes in the following directory# ls -l /var/mail/ drwx--  11 _virtmail  _virtmail 512 Jun 28 19:37 _virtmail And it has subdirectories per domain# ls -l /var/mail/_virtmail/ drwx--  4 _virtmail  _virtmail  512 May  6 12:16 domain1.org The problem is that

Re: Spamtrap doesn't work for me

2017-05-17 Thread Mik J
spamd-greytrap -T show Regards Le Mercredi 17 mai 2017 17h00, Peter N. M. Hansteen <pe...@bsdly.net> a écrit : On 05/17/17 16:51, Boudewijn Dijkstra wrote: > Op Wed, 17 May 2017 13:55:58 +0200 schreef Mik J <mikyde...@yahoo.fr>: >> Hello, >> I'm trying to

Re: Spamtrap doesn't work for me

2017-05-18 Thread Mik J
t is blacklisted for 24 hours by adding the host to the spamd blacklist . Spamtrap addresses are added to the /var/db/spamd database with the following spamdb(8) command:" So I'm expecting a spamd-greytrap table Le Mercredi 17 mai 2017 19h10, Peter N. M. Hansteen <pe...@bsdly.net> a é

Spamtrap doesn't work for me

2017-05-17 Thread Mik J
Hello, I'm trying to make spamtrap to work I added a spamtrap address# spamdb | grep trap SPAMTRAP| I started spamd with these parametersspamd_flags="-v -s 5 -S 2 -w 1 -G5:12:2400 -l 127.0.0.1 -h mx.mydomain.org -n String" When I send an email to t...@mydomain.org, it's

Re: smtpd doesn't start

2017-05-26 Thread Mik J
Hello,I had the same problem recently.Please check the rights on the file smtpd.conf and if necessary chmod 600 smtpd.conf Le Vendredi 26 mai 2017 15h08, Ted Unangst a écrit : Choose a display name wrote: > >As always, you can post your smtpd.config, dmesg and

Re: Spamtrap doesn't work for me

2017-05-19 Thread Mik J
, Boudewijn Dijkstra <mailinglists.boudew...@indes.com> a écrit : Op Thu, 18 May 2017 10:23:40 +0200 schreef Peter N. M. Hansteen  <pe...@bsdly.net>: > On Thu, May 18, 2017 at 06:09:19AM +, Mik J wrote: >> I was reading the man spamd >> http://man.openbsd.org/

Re: pkg_add with packages created by ports

2018-05-09 Thread Mik J
Thank you Martijn for this quick answer.So should I do something likeexport TRUSTED_PKG_PATH=/usr/ports/packages/amd64/all/ Le mercredi 9 mai 2018 à 15:04:29 UTC+2, Martijn van Duren <openbsd+m...@list.imperialat.at> a écrit : On 05/09/18 15:00, Mik J wrote: > Hello, >

pkg_add with packages created by ports

2018-05-09 Thread Mik J
Hello, I probably miss something in what I'm doing. I install packages through ports, for example I want to install php.Many other packages are also built but not installed (php-imap, php-curl...) So when I want to install this kind of packages I dopkg_add

Re: pkg_add with packages created by ports

2018-05-10 Thread Mik J
Thank you for your answers. I did a first test with exporting the variable and it worked fine. Have a nice week Le mercredi 9 mai 2018 à 16:17:01 UTC+2, Marc Espie <es...@nerim.net> a écrit : On Wed, May 09, 2018 at 01:08:49PM +0000, Mik J wrote: >  Thank you Martijn for t

Re: warn: smtpd: parent_forward_open

2018-01-06 Thread Mik J
at 11:09:13PM +0000, Mik J wrote: > Hello all, > What do you think about my initial question.When I receive an email, I have > the following messagewarn: smtpd: parent_forward_open: /var/mail/_vmail: No > such file or directory >  With /var/mail... not /var/rep... like I wrote in

Re: Start 2 instances of ftp-proxy one for ftp one for reverse proxy

2018-01-18 Thread Mik J
Le 17/01/2018 à 22:24, Mik J a écrit : > Hello, > I'd like my firewall to start two instances one for ftp proxy and one for ftp > proxy.So far I have in rc.confftpproxy_flags="-D7 -v -p 8021" > > I can run manually/usr/sbin/ftp-proxy -D7 -v -R 10.1.1.1 -p21 -b 3and t

Re: Kernel panic with openbsd 6.2

2018-01-21 Thread Mik J
à 11:48:00 UTC+1, Stuart Henderson <s...@spacehopper.org> a écrit : On 2018-01-19, Mik J <mikyde...@yahoo.fr> wrote: > I had many kernel panic these past days. This is a 6.2 openbsd VM running o= > n esxi 5.5 > > # grep "" /tmp/if_vmx.dis I've reported a lo

Start 2 instances of ftp-proxy one for ftp one for reverse proxy

2018-01-17 Thread Mik J
Hello, I'd like my firewall to start two instances one for ftp proxy and one for ftp proxy.So far I have in rc.confftpproxy_flags="-D7 -v -p 8021" I can run manually/usr/sbin/ftp-proxy -D7 -v -R 10.1.1.1 -p21 -b 3and the reverse proxy works But I would like these to instance to start

Re: warn: smtpd: parent_forward_open

2018-01-12 Thread Mik J
smtp://127.0.0.1:10025 Le samedi 6 janvier 2018 à 17:00:55 UTC+1, Edgar Pettijohn <ed...@pettijohn-web.com> a écrit : On Sat, Jan 06, 2018 at 02:40:00PM +, Mik J wrote: > Hello Edgar, > I just found that the path is related to the home directory of the virtual >

Should I enable APM on VMs ?

2018-01-02 Thread Mik J
Hello, I have multiple VMs running on ESXi.I would like to know if it's worth enabling the apm daemon on my VM in order to spare ressources of the ESXi Thank you

Re: IPQoS values in sshd

2018-08-08 Thread Mik J
Hello Daren, Thank you for your answer, I didn't see it earlier today. This change in current makes sense to me. Regards Le mercredi 8 août 2018 à 06:07:10 UTC+2, Darren Tucker a écrit : On 8 August 2018 at 05:29, Mik J wrote: > Does anyone knows what means lowdelay and though

IPQoS values in sshd

2018-08-07 Thread Mik J
Hello, Does anyone knows what means lowdelay and thoughput for IPQoS parameter ? To what DSCP correspond these words I did a capture when writing ls in my terminal and I see DSCP=cs0. I would have expected something else. Regards

Re: IPQoS values in sshd

2018-08-08 Thread Mik J
ercredi 8 août 2018 à 11:31:39 UTC+2, Dahlberg, David a écrit : Am Dienstag, den 07.08.2018, 19:29 + schrieb Mik J: > Does anyone knows what means lowdelay and thoughput for IPQoS > parameter ? Bits 3 and 4 of old IP TOS field. > To what DSCP correspond these words You

Re: Kernel panic with openbsd 6.2

2018-01-22 Thread Mik J
22 janvier 2018 à 10:35:47 UTC+1, Stuart Henderson <s...@spacehopper.org> a écrit : On 2018/01/22 00:22, Mik J wrote: > Le dimanche 21 janvier 2018 à 11:48:00 UTC+1, Stuart Henderson > <s...@spacehopper.org> a écrit : > On 2018-01-19, Mik J <mikyde...@yahoo.fr> w

Re: Check if fsck will be run on a partition

2018-04-02 Thread Mik J
Hello, Thank you for your answers@Christian: The command takes 1s, and seem to work as you said# dumpfs sd1c | grep clean cgrotor 64  fmod    0   ronly   0   clean   0 @Theo: The fsck is not superfast, it takes 20s I end with that message39256 files, 5904368 used, 10865841 free

Re: Check if fsck will be run on a partition

2018-04-03 Thread Mik J
net> a écrit : On 04/02/18 02:28, Mik J wrote: > @Theo: The fsck is not superfast, it takes 20s I end with that message39256 > files, 5904368 used, 10865841 free (15345 frags, 1356312 blocks, 0.1% > fragmentation) you missed his point. If it took 20 seconds to run, you needed to ru

Check if fsck will be run on a partition

2018-04-01 Thread Mik J
Hello, I have a script that mounts a partition and it works well except when the partition needs to be fsck checked.How can I know if the partition needs to be checked by fsck, I'd like to test that.If the partition needs to be checked by fsck, I run fsck firstElse I mount the partition Happy

Re: _writes_to_HOME directories in /

2018-10-18 Thread Mik J
Hello, Did you have a full partition at some moment ? I had the same, as far as I remember I had a partition full at some point. Regards Le jeudi 18 octobre 2018 à 19:55:49 UTC+2, schwack a écrit : Was prepping for 6.4 upgrade and noticed a bunch of *_writes_to_HOME directories in my

equivalent to UserTasksMax in openbsd

2018-11-03 Thread Mik J
Hello, Does anyone know if there is an equivalent for UserTasksMax in openbsd ? UserTasksMax= - Sets the maximum number of OS tasks each user may run concurrently. This controls theTasksMax=setting of the per-user slice unit

Problem installing port ruby24-passenger / nginx

2018-11-04 Thread Mik J
Hello, It's been a few releases that I noticed I can't install nginx from the ports. The problem is not nginx itself but the package ruby24-passenger-5.1.11p0 I make install in the nginx port directory, I get the crash messages below. mv:

Changing kern.nprocs and kern.nfiles

2018-11-16 Thread Mik J
Hello, Does anyone know how to change these values ? # sysctl kern.nprocs=52 sysctl: kern.nprocs: Operation not permitted # sysctl kern.nfiles=575 sysctl: kern.nfiles: Operation not permitted Regards

Re: Changing kern.nprocs and kern.nfiles

2018-11-16 Thread Mik J
: > On 11/16/18 10:24 AM, Mik J wrote: > > Hello, > > > > Does anyone know how to change these values ? > > > > # sysctl kern.nprocs=52 > > sysctl: kern.nprocs: Operation not permitted > > # sysctl kern.nfiles=575 > > sysctl: kern.nfiles: Operation

Re: Changing kern.nprocs and kern.nfiles

2018-11-16 Thread Mik J
a écrit : On Fri, Nov 16, 2018 at 10:46:12AM +, Mik J wrote: >  Hello, > Thank you to both of you. > I had already changed openfiles-max=65536 in login.conf and > kern.maxproc=16384 in sysctl.conf. > Have a nice day But why?     -Otto > >    Le vendredi 16 novembre

Re: spamd and google smtp ips

2018-11-04 Thread Mik J
Hello Peter, Thank you for this article. Do you know why, and particularly Microsoft, use very random IPs to send mails. In that way, they make greylisting not as reliable as it should be. We could all use greylisting if google or microsoft would use the same 4 or 5 IPs to retry sending the

Re: spamd and google smtp ips

2018-11-04 Thread Mik J
than 500 people within 24h Le dimanche 4 novembre 2018 à 23:49:47 UTC+1, Misc User a écrit : On 11/4/2018 2:25 PM, Mik J wrote: >  Hello Peter, > > Thank you for this article. > Do you know why, and particularly Microsoft, use very random IPs to send > mails

Re: Running your own mail server

2018-09-17 Thread Mik J
écrit : On Mon, Sep 17, 2018 at 06:33:52PM +, Mik J wrote: > > Really it will take time, here are the components I installed for this to > work: opensmtp, dkimproxy, clamav, clamsmtp, nginx, roundcube, prosody, > dovecot, let's encrypt, bind > > I'm using imapsy

Re: Running your own mail server

2018-09-17 Thread Mik J
Hello, I started to use my own mail server two years ago, but a few years ago I tried it unsuccessfully. So yes it will take you some time to set it up with all options. Now for your needs I would advice you openbsd+opensmtpd, you don't especially need performance just a one box solution.

Re: How to synchronise 2 spamd instances

2019-05-26 Thread Mik J
Baker a écrit : On Mon, Apr 22, 2019, 10:43 AM Thuban, wrote: > * Otto Moerbeek le [21-04-2019 12:49:07 +0200]: > > On Sun, Apr 21, 2019 at 09:53:52AM +0000, Mik J wrote: > > > > > Hello, > > > I read the man but it's not so clear to me > > > htt

Re: How to synchronise 2 spamd instances

2019-05-30 Thread Mik J
26 mai 2019 à 22:49:25 UTC+2, Sean Kamath a écrit : On May 26, 2019, at 04:41, Mik J wrote: > > Hello, > > I'm coming back on this topic. I added the -K option > # /usr/libexec/spamd -v -s 5 -S 5 -w 1 -G5:24:2400 -l 127.0.0.1 -h > myhost.mydomain.org -y vmx0 -Y myhos

Re: Double nat with pf ?

2019-05-12 Thread Mik J
d it worked perfectly. However I'd be interested to know what can be done with PF Regards Le jeudi 9 mai 2019 à 17:57:18 UTC+2, Chris Cappuccio a écrit : Mik J [mikyde...@yahoo.fr] wrote: > Hello, > Is it possible to nat both source and destination IP on the same openbsd pf

  1   2   >