New pages

Jump to navigation Jump to search
New pages
Hide registered users | Hide bots | Hide redirects
  • 08:03, 2 November 2024Dovecot Active Directory Authentication (hist | edit) ‎[1,129 bytes]Ebroch (talk | contribs) (Created page with "Back<br> Assumes working AD server # cd /etc/dovecot # cat > dovecot-ldap.conf.ext << __EOF__ hosts = mail.domain.tld dn = administrator@domain.tld dnpass = "adminpass" base = cn=users,dc=domain,dc=tld ldap_version = 3 auth_bind = yes iterate_attrs = userPrincipalName=user iterate_filter = (&(userPrincipalName=*)(objectClass=user)(!(userAccountControl:1.2.840.113556.1.4.803:=2))) user_filter = (&(userPrin...")
  • 08:03, 2 November 2024Qmail Active Directory Authentication (hist | edit) ‎[1,077 bytes]Ebroch (talk | contribs) (Created page with " Back<br> To authenticate Qmail Submssion/SMTPS against LDAP server instead of vpopmail download and compile https://github.com/qmtoaster/source/blob/main/qldapauth.c this file <pre> # wget https://raw.githubusercontent.com/qmtoaster/source/main/qldapauth.c # dnf install openldap-devel # g++ -o qldapauth qldapauth.cpp -lldap # mv qldapauth /home/vpopmail/bin # chown vpopmail:vchkpw /home/vpopmail/bin/qldapauth # chmod 755...")
  • 14:05, 19 October 2024Tcpserver (hist | edit) ‎[3,598 bytes]Ebroch (talk | contribs) (Created page with "Back<br> tcpserver controls most of your QMT daemons (pop, smtp, etc.). There are many options you can add/edit/change to get different results depending on your environment. The options listed below were taken from http://cr.yp.to/ucspi-tcp/tcpserver.html General options: * -q: Quiet. Do not print error messages. * -Q: (Default.) Print error messages. * -v: Verbose. Print error messages and status messages. Con...")
  • 12:18, 19 October 2024Secure /admin-toaster/ (hist | edit) ‎[2,685 bytes]Ebroch (talk | contribs) (Created page with "Back<br> =Secure /admin-toaster/, force https and aclnet (/etc/httpd/conf/toaster.conf)= <pre> RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] Define aclnet "172.16.1.0/24 192.168.9.0/24 127.0.0.1" <IfModule mod_alias.c> ScriptAlias /mail/ /usr/share/toaster/cgi-bin/ Alias /admin-toaster /usr/share/toaster/htdocs/admin/ Alias /stats-toaster/ /usr/share/toaste...")
  • 11:58, 19 October 2024Submission (hist | edit) ‎[751 bytes]Ebroch (talk | contribs) (Created page with "Back<br> # cd /var/qmail/supervise # cat > submission/run << __EOF__ #!/bin/sh QMAILDUID=\`id -u vpopmail\` NOFILESGID=\`id -g vpopmail\` MAXSMTPD=\`cat /var/qmail/control/concurrencyincoming\` SMTPD="/var/qmail/bin/qmail-smtpd" TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb" HOSTNAME=\`hostname\` VCHKPW="/home/vpopmail/bin/vchkpw"<br> export FORCETLS="1" export SMTPAUTH="!"<br> exec /usr/bin/softlimit -m 128000000 \\ /usr/bin/tcpserv...")
  • 11:56, 19 October 2024SMTPS (hist | edit) ‎[1,051 bytes]Ebroch (talk | contribs) (Created page with "Back = SMTPS = # qmailctl stop # cd /var/qmail/supervise # cp -Rp submission smtps<br> # cat > smtps/run << __EOF__ #!/bin/sh QMAILDUID=\`id -u vpopmail\` NOFILESGID=\`id -g vpopmail\` MAXSMTPD=\`cat /var/qmail/control/concurrencyincoming\` SMTPD="/var/qmail/bin/qmail-smtpd" TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb" HOSTNAME=\`hostname\` VCHKPW="/home/vpopmail/bin/vchkpw"<br> export SMTPS="1" export FORCETLS="0" export SMTPAUTH="!+cra...")
  • 11:46, 19 October 2024DNS Server (hist | edit) ‎[396 bytes]Ebroch (talk | contribs) (Created page with "[http://www.oreilly.com/catalog/linuxckbk/ <i>The Linux Cookbook</i> (O'Reilly) by Carla Schroder] has very good recipes for setting up a DNS server. Caching, public and private servers for both bind and djbdns are covered. You can also read it online [http://safari.oreilly.com/0596006403/linuxckbk-PREFACE-2#X2ludGVybmFsX1RvYz94bWxpZD0wNTk2MDA2NDAzL2xpbnV4Y2tiay1DSFAtMjQ= here]. ==== bind ==== A very nice tutorial for bind can be found [http://www.troubleshooters.com/li...")
  • 11:38, 19 October 2024SRS (hist | edit) ‎[2,591 bytes]Ebroch (talk | contribs) (Created page with "Back<br> First you need to configure some parameters in /var/qmail/control. Do the following: echo srs.YOURDOMAIN > /var/qmail/control/srs_domain echo SECRET > /var/qmail/control/srs_secrets YOURDOMAIN: Replace with your domain name, e.g. srs.foo-bar.com SECRET: Replace with a random string Important! You MUST create a MX record for srs.YOURDOMAIN pointing to your server. Optional parameters: echo...")
  • 11:09, 19 October 2024DKIM (hist | edit) ‎[6,581 bytes]Ebroch (talk | contribs) (Created page with "Back<br> Source: [https://manuel.mausz.at/coding/qmail-dkim/ Manuel Mausz'] Perl script 1. DKIM sign all email with global key '''Set up signing framework''' # yum -y install perl-XML-Simple perl-Mail-DKIM perl-XML-Parser # qmailctl stop # cd /var/qmail/bin # mv qmail-remote qmail-remote.orig <!--# wget -P /var/qmail/bin https://raw.githubusercontent.com/qmtoaster/dkim/master/qmail-remote--> <!--# wget http...")