This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% sudo make -C /usr/ports/security/py-letsencrypt | |
===> License APACHE20 accepted by the user | |
===> py27-letsencrypt-0.0.0.d20151114 depends on file: /usr/local/sbin/pkg - found | |
=> letsencrypt-0.0.0.dev20151114.tar.gz is not in /usr/ports/security/py-letsencrypt/distinfo. | |
=> Either /usr/ports/security/py-letsencrypt/distinfo is out of date, or | |
=> letsencrypt-0.0.0.dev20151114.tar.gz is spelled incorrectly. | |
*** Error code 1 | |
Stop. | |
make: stopped in /usr/ports/security/py-letsencrypt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- src/main.c.origin 2015-11-19 16:53:19.341274000 +0100 | |
+++ src/main.c 2015-11-19 16:53:25.569655000 +0100 | |
@@ -283,13 +283,13 @@ | |
msg_warn ("main: cannot start reload thread, ignoring error"); | |
} | |
- if (smfi_opensocket(true) == MI_FAILURE) { | |
- msg_err("Unable to open listening socket"); | |
+ if (daemonize && daemon (0, 0) == -1) { | |
+ msg_err("Unable to daemonize"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# PROVIDE: rmilter | |
# REQUIRE: LOGIN | |
# BEFORE: mail | |
# KEYWORD: shutdown | |
# | |
# Add the following line to /etc/rc.conf to enable rmilter: | |
# rmilter (bool): Set to "NO" by default. | |
# Set it to "YES" to enable rmilter. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sample config file for rmilter | |
# $Id$ | |
# | |
# .include - directive to include other config file | |
#.include ./rmilter-grey.conf | |
# pidfile - path to pid file | |
# Default: pidfile = /var/run/rmilter.pid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[email protected] /var/run/rmilter] % procstat -b $(pgrep rmilter) | |
PID COMM OSREL PATH | |
8485 rmilter 1001000 /usr/local/sbin/rmilter | |
[[email protected] /var/run/rmilter] % procstat -b $(pgrep smtpd) | |
PID COMM OSREL PATH | |
8617 smtpd 1002000 /usr/local/libexec/postfix/smtpd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/usr/local/sbin/rmilter: | |
libcrypto.so.7 => /lib/libcrypto.so.7 (0x800844000) | |
libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x800c38000) | |
libmilter.so.5 => /usr/lib/libmilter.so.5 (0x800ead000) | |
libopendkim.so.10 => /usr/local/lib/libopendkim.so.10 (0x8010bc000) | |
libspf2.so.2 => /usr/local/lib/libspf2.so.2 (0x8012d8000) | |
libm.so.5 => /lib/libm.so.5 (0x8014f2000) | |
libthr.so.3 => /lib/libthr.so.3 (0x80171b000) | |
libc.so.7 => /lib/libc.so.7 (0x80193f000) | |
libssl.so.7 => /usr/lib/libssl.so.7 (0x801ceb000) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-rw------- 1 _rmilter mail 5 Nov 18 11:45 /var/run/rmilter/rmilter.pid | |
srwxrwxr-- 1 _rmilter mail 0 Nov 18 11:45 /var/run/rmilter/rmilter.sock |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nov 18 11:45:34 smaug rmilter[19703]: main: starting rmilter version 1.6.6 | |
Nov 18 11:45:34 smaug rmilter[19703]: maxsize is not set, no limits on size of scanned mail | |
Nov 18 11:51:06 smaug postfix/cleanup[19801]: warning: milter unix:/var/run/rmilter/rmilter.sock: can't read SMFIC_BODYEOB reply packet header: Operation timed out | |
Nov 18 11:53:07 smaug postfix/cleanup[19801]: warning: milter unix:/var/run/rmilter/rmilter.sock: can't read SMFIC_RCPT reply packet header: Operation timed out | |
Nov 18 11:53:24 smaug postfix/cleanup[20096]: warning: milter unix:/var/run/rmilter/rmilter.sock: can't read SMFIC_BODYEOB reply packet header: Operation timed out |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% cat Gemfile | |
source 'https://rubygems.org' | |
gem 'sup' | |
% pkg info xapian-\* | |
xapian-bindings-1.2.21 | |
xapian-core-1.2.21,1 | |
% bundle --path bundle | |
Fetching gem metadata from https://rubygems.org/...... | |
Fetching version metadata from https://rubygems.org/.. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require("fs"); | |
var dest = "./test.log"; | |
var stream = fs.createWriteStream(dest, {flags: 'a'}); | |
var newcons = new console.Console(stream, stream); | |
// all the stuff documented at https://nodejs.org/api/console.html | |
[ | |
'log', 'info', 'error', 'warn', 'dir', | |
'time', 'timeEnd', 'trace', 'assert' | |
].forEach(function (n) { |