OpenBSD // simple forward [ relay ] all local mails to [ via ] external smtp server
Use the already installed smtpd. /etc/mail/smtpd.conf: accept for local alias accept from local for any relay via smtp.mydomain.org
Use the already installed smtpd. /etc/mail/smtpd.conf: accept for local alias accept from local for any relay via smtp.mydomain.org
php-fpm is not an independent package. Install php, php-fpm is included. php-fpm is properly pre-configured and should run instantly. nginx.conf: location ~ \.php$ { try_files $uri $uri/ =404; fastcgi_pass unix:run/php-fpm.sock; # NO ABSOLUTE PATH PLS. !!! fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; }
You have had the correct file rights and this message already occurs in error.log? The icecast.xml is accepted without problems during regular start? Your icecast runs stable? Solution: Maybe you have chrooted and the icecast process now can not access to the icecast.xml you have had provided via command line.
Get the sources: https://github.com/savonet/liquidsoap/releases and untar them. Add some packages: # pkg_add ocaml # pkg_add ocaml-graphics # pkg_add fdk-aac # pkg_add faad # pkg_add libao # pkg_add libmad # pkg_add taglib # pkg_add ocaml-pcre # pkg_add ocaml-camlp4 # pkg_add libogg # pkg_add libvorbis # pkg_add flac # pkg_add lame # pkg_add gmake # pkg_add ffmpeg […]
Some hints /example: * Add a group sftpgroup: sftpgroup:*:1001: * Add a user sftpuser1. * Add a home directory for this user, it’s the sftp data directory. Here we use /data/sftp/sftpuser1 * Chown this directory to drwxr-x— 4 root sftpgroup 512 Jan 5 12:53 sftpuser1 * Tune this user, always (!) use vipw, otherwise your […]
Always use vipw, it updates the passwd database /etc/spwd.db This database is used by the running system. Any changes of /etc/passwd, dome with simple editors will be overwritten next time you will use useradd, userdel etc.
perl -e ‘print reverse <>’ < $FILE
NET: 1.2.3.16/28 the nsd.conf: zone: name: “3.2.1.in-addr.arpa” zonefile: master/3.2.1.reverse zone: name: “16/28.3.2.1.in-addr.arpa” zonefile: master/16_28.3.2.1.reverse the 3.2.1.reverse: $ORIGIN 3.2.1.in-addr.arpa. ; default zone domain $TTL 86400 ; default time to live @ IN SOA ns.domain.com. admin.domain.com. ( 2016010203 ; serial number 28800 ; Refresh 7200 ; Retry 864000 ; Expire 86400 ; Min TTL ) 16/28 NS […]
init-state offline carp_master = “carp1.link.up && carp2.link.up” carp_slave = “carp1.link.down && carp2.link.down” carp_down = “carp1.link.unknown && carp2.link.unknown” You have any problems at system startup even you have been used the example conf? Your state jitters and doesn’t switch to master? Use this example. Hint: The daemon loops inside a formerly reached state (function) until the […]
Your daemon doesn’t write to his logfile after rotating log using newsyslog? You are executing a postrotate command in newsyslog.conf? The reason for this strange behaviour is that in case of executing a postrate command per definition (rtfm newsyslog.conf) no SIGHUP will be sent to syslogd. Solution: execute a pkill -HUP syslogd afterwards: #/var/log/maillog 640 […]
You must be logged in to post a comment.