User contributions for Ebroch
Jump to navigation
Jump to search
16 March 2024
- 10:5610:56, 16 March 2024 diff hist +3,713 N TCP Server limits configuration Created page with "http://iserve01.i-serve.net/ucspi-tcp-toaster-0.88-1.3.4.src.rpm The variables are: (1) MAXLOAD maximum 1-minute load average * 100. For example, if you have line :allow,MAXLOAD="350" in your rules file from which you created .cdb, the connection will be accepted only if load average is below 3.50 (2) MAXCONNIP maximum connections from one IP address. tcpserver's -c flag defines maximum number of allowed connections, but it can be abused i..." current
- 10:5510:55, 16 March 2024 diff hist +5,585 N Rsync your backups Created page with "== Rsync your backups == This is a quick guide on how to setup rsync to replicate your backups made using the backup script to other servers across the Internet. Why would you do this? Lets say that you're already making backups using the backup script. Now lets say the hard drive physically fails. How do you get all of your emails, accounts, domains, etc. back? You don't. Start rebuilding them by hand. Enter rsync. It's an easy way to allow you to copy/move your fil..." current
- 10:5510:55, 16 March 2024 diff hist +2,087 N Recovering from a blown upgrade Created page with "===Recovering from a blown upgrade=== A few weeks ago someone posted a message about how he did an upgrade on a production server and it stopped working. He was getting the message "451 qq write error or disk full (#4.3.0)" I had this same problem happen today. While I do not know what caused it, I suspect that not turning off monit had something to do with it, as monit would have tried to restart qmail every few minutes. Again, this is just a suspicion. The tangibl..." current
- 10:5510:55, 16 March 2024 diff hist +816 N Rebuilding cdb files Created page with "===Rebuilding cdb files=== I cannot seem to remember the commands to rebuild the cdbs, so I bashed one up to do it for me, automagically...put it in /etc/cron.hourly...this way all your cdbs are never more than an hour old. #!/bin/bash #rebuilds simcontrol.cdb /var/qmail/bin/simscanmk sleep 2 #rebuilds simversions.cdb /var/qmail/bin/simscanmk -g sleep 2 #rebuilds badloadertypes--rare-ok to comment out /var/qmail/bin/qmail-badloadertypes sleep 2 #rebuilds badm..." current
- 10:5410:54, 16 March 2024 diff hist +1,651 N Qmail Log Backup Script Created page with "Qmail Log Backup Script to backup your qmail log files without increasing the value of logsize and logcount control files by tar.gz-ed to another folder Filename: /etc/cron.daily/backupqmaillog.sh so it can run everyday. #!/bin/bash # # qmaillog backup utility # version 0.1 # pakogah@pala.bo-tak.info # 4 Aug 2007 # this qmaillog backup utility by default will backup # today qmail's send and smtp log into /home/backuplog # and keep it for the next 7 days # enh..." current
- 10:5410:54, 16 March 2024 diff hist +1,921 N MySQL - Tuning for QMT Created page with "For those who aren't MySQL DBA's, here is a good start to tuning the QMT MySQL. Here is a guy that wrote a nice script for testing the current performance and makes recommendations for improvement. http://www.day32.com/MySQL and for additional tool you can use MySQLTuner from http://mysqltuner.com In order for the script to have a good snapshot of what is happening, your MySQL should be running for at least 48 hours. When I ran it, it recommended the following: long..." current
- 10:5210:52, 16 March 2024 diff hist +4,007 N Hardening your toaster Created page with "Having done a basic install of QMT on Centos 5.4, I wanted to add a number of security-related features to protect my server. === SSH === Create a normal system user and set a password: <pre> adduser -g wheel <username> passwd <username> </pre> The above already added the user to the group wheel, so that you can later become root using '''su -'''. Edit '''/etc/ssh/sshd_config''' and set the option ''PermitRootLogin'' to ''no''. Now, restart sshd by running: <pre>..." current
- 10:5110:51, 16 March 2024 diff hist −27 User Tips & Tricks →System Administration
- 10:5010:50, 16 March 2024 diff hist +20,182 N QMT Failover replication Setup Created page with "==QMT Failover replication Setup== Craig Smith - 26th October 2006 - craig@doc-net.com Thanks to Jake for taking the time to review this for me before posting. It always helps to have a sounding board and Jake was kind enough to be that board for me. This page gives you a procedure to configure a backup qmt server that will be available for failover in the event of primary server failure. The backup server will only ever be 10 minute out from the primary.(depending..."
- 10:4910:49, 16 March 2024 diff hist +1,296 N Convert Vpopmail alias into qmail alias Created page with "From P.V.Anthony <pvanthony@singnet.com.sg> ---------------------- valias2dotqmail -------------------------------- !/bin/bash ################################################################# # script to convert alias stored in database back to .qmail-alias # # Example. # copy the script into the /home/vpopmail/domains/domain.com # then run: sh valias2dotqmail # ################################################################ # file name for the..." current
- 10:4910:49, 16 March 2024 diff hist +4,692 N Colorfull QMail Logging Created page with "Info from AM (agmsoft@gmail.com) to displaying your Qmail log in color Add this line on your /etc/multitail.conf, if not exist create it. # QMT COLORS # QMT: clamd colorscheme:clamd cs_re:blue:^....-..-.. ..:..:.. cs_re:magenta:: cs_re:green:/var/qmail/simscan/.*(: OK) cs_re:red:/var/qmail/simscan/.*(: [^ ]* FOUND) cs_re:yellow:/var/qmail/simscan/.*( ERROR) # # QMT: qmail-smtp colorscheme:qmail-smtp cs_re:cyan:: cs_re:blue:^....-..-.. ..:..:.. cs_re:magen..." current
- 10:4810:48, 16 March 2024 diff hist +4,934 N CHKUSR - Enable characters for Blackberry devices Created page with "== Intro == This tip is simply a step by step to recompile chkusr to allow the '/' character. == Why? == (PULLED FROM: [http://wiki.qmailtoaster.com/index.php/FAQs#I_keep_getting_.225.1.0_-_Unknown_address_error_571-.27sorry.2C_sender_address_has_invalid_format_.28.235.7.1_-_chkuser.29.27.22_errors.2C_especially_from_people_with_Blackberry_devices._What_can_I_do.3F This FAQ] ) I keep getting "5.1.0 - Unknown address error 571-'sorry, sender address has invalid format..." current
- 10:4810:48, 16 March 2024 diff hist +8,518 N MailingList Archiving Created page with "If you want to setup Mailinglist Archiving system like Mail-Archive.com, you may want to install [http://www.mhonarc.org/ MHonArc] and [http://www.mhonarc.org/mharc/ mharc]. But for simplity I have create a scripts to install them which can be directly run at QMailToaster or QMT-ISO box Install how to: # vi install-mailarchive.sh #!/bin/sh # This script installs MHonArc (www.mhonarc.org), # Namazu (www.namazu.org), Procmail (www.procmail.org) # then install (www...."
- 10:4810:48, 16 March 2024 diff hist +18,966 N Mailman Created page with "Some folks like myself may prefer a more user-friendly and robust List Management package for their toaster than what ezmlm-toaster provides. '''[http://www.gnu.org/software/mailman/index.html Mailman, the GNU Mailing List Manager]''' is a full featured, widely used and well supported List Manager which can be used in place of, or along side of ezmlm-toaster. (Running both together shouldn't be a problem that I can think of as long as domain and list names are kept separ..."
- 10:4710:47, 16 March 2024 diff hist +368 N Ezmlm Related Stuff Created page with "If you're getting errors about the address not being in the To: or CC: lines, enable the -T flag in your list file: edit your listfile (/home/vpopmail/domains/yourdomain.com/.qmail-yourlist) Change this line: |/usr/bin/ezmlm-reject '/home/vpopmail/domains/yourdomain.com/yourlist' To this: |/usr/bin/ezmlm-reject -T '/home/vpopmail/domains/yourdomain.com/yourlist'"
- 10:4710:47, 16 March 2024 diff hist +1,103 N Bulk import emails into EzMLM Created page with "Ever had a large list of email addresses that you wanted to import into a mailing list, or converting from another mail program? It's possible. If you put all of your email addresses into a text file (Unix format), one email address per line, you can import them into your mailing list (which you already created, right?). Each address MUST contain a @ symbol. The import will stop at the first emtpy line, EOF, or the first email in an invalid format (no @ symbol). You ca..."
- 10:4610:46, 16 March 2024 diff hist +3,260 N Outlook problems and possible solutions Created page with "This was taken from an email I sent to a user regarding their Outlook issues that they insisted were a server issue. Basically Outlook can have hangs for just about any reason. I'm not going to try and keep these links current so if you find a broken one and a new link, please update this page! - Jake Do you have Office SP2 installed? http://www.microsoft.com/downloads/details.aspx?FamilyID=57E27A97-2DB6-4654-9DB6-EC7D5B4DD867&displaylang=en If you have, are you al..." current
- 10:4410:44, 16 March 2024 diff hist +3,538 N Dspam Created page with "<pre> Install Dspam: wget https://raw.githubusercontent.com/qmtoaster/dspam/master/dspamdb.sh chmod 755 dspamdb.sh ./dpsamdb.sh Running the script 'dspamdb.sh' creates the dspam database, installs dspam, and starts the dspam service. If dspam is implemented for a domain, every email received by that domain will have a dspam signature in the header and a matching signature will automatically be entered in the dspam maria/mysql database. At this point there has been no tr..."
- 10:4210:42, 16 March 2024 diff hist +926 N Scanning External non locally hosted domains Created page with "===Scanning External non locally hosted domains=== Thanks to Erik Espinoza for these details. ;To scan an external domain or do a 3rd party spamassassin scanning service it is really rather easy. Follow the steps below. *1.Have Domain X's MX record changed to point to the spamassassin server. *2.On SA server, add Domain X's Domain to the /var/qmail/control/rcpthosts file. *3.ON SA server add the receiving server's address for Domain X to the smtproutes file. Examp..."
- 10:4110:41, 16 March 2024 diff hist +1,811 N Prevent Spam from valid sender/recipient Created page with "'''How to prevent spam from a spoofed local account.''' Example SMTP Log: 08-27 05:54:35 CHKUSER accepted sender: from <valid.email@account.no::> remote <[113.22.203.172]:unknown:113.22.203.172> rcpt <> : sender accepted 08-27 05:54:35 CHKUSER accepted rcpt: from <valid.email@account.no::> remote <[113.22.203.172]:unknown:113.22.203.172> rcpt <valid.email@account.no> : found existing recipient 08-27 05:54:35 policy_check: local valid.email@account.no -> local valid...."
- 10:4110:41, 16 March 2024 diff hist +2,705 N How to redirect/bounce mail for sa-learn Created page with "== How to bounce/redirect mail == As I've mentioned, forwarding mail into a spamtrap registers your email address as being a spam source; not good. Instead, we want to use the redirect or bounce feature available in a number of mail programs. Many thanks to all the contributors, listed in parentheses. '''AOL's integrated email client''' Redirecting mail is not available. (Dave Goldsmith) '''Eudora''' Select the message, go to the "Message" menu, choose redir..."
- 10:4010:40, 16 March 2024 diff hist +1,825 N Install Razor Created page with "This how to came from Gilbert T. Gutierrez, Jr. Operations Manager of [http://phoenixinternet.net/ Phoenix Internet] based on [http://wiki.apache.org/spamassassin/RazorSiteWide RazorSiteWide] <br> Create temporer razor folder <blockquote><code> mkdir razor<br> cd razor </code></blockquote> Install razor-agents-sdk <blockquote><code> wget http://prdownloads.sourceforge.net/razor/razor-agents-sdk-2.07.tar.bz2?download<br> tar xvjf razor-agents-sdk-2.07.tar.bz2<br> c..."
- 10:4010:40, 16 March 2024 diff hist +2,542 N Install Pyzor Created page with "===Install Pyzor=== Jake Vickers <jake@v2gnu.com> September 19, 2006 Scott Hughes - Updated - June 9, 2009 <blockquote>"Pyzor is a collaborative, networked system to detect and block spam using identifying digests of messages."<br /> (from the Pyzor website: http://pyzor.sourceforge.net/)</blockquote> Installing Pyzor is rather easy. You need to have python installed first. Here are the steps to install from source: Download pyzor from Sourceforge (http://s..."
- 10:3910:39, 16 March 2024 diff hist +1,193 N Disabling Spam checking for a particular address or domain Created page with "his tip shows how to disable Spam processing using simscan in your toaster. I added this tip after needing to disable spam checking for a given domain. I had a program which automatically generated emails for events and sent them using a perl script. The perl smtp module was not sending a header that Spam Assasin liked so every mail sent was being tagged as spam. Here are the steps I used to quit processing mails sent from this domain. First I located the simcontrol f..."
- 10:3910:39, 16 March 2024 diff hist +1,569 N Adding greylisting to QMT Created page with "'''Note, this method is deprecated, in favor of using spamdyke. Based on: http://www.kabewm.com/?p=19 and http://thomas.mangin.me.uk/software/qmail-greylist.html Download qmail-greyd and configure it <pre> cd /var/qmail/bin wget http://thomas.mangin.me.uk/data/source/qmail-greyd chmod +x qmail-greyd mkdir /var/qmail/grey chown vpopmail.vchkpw /var/qmail/grey </pre> Add ,GREY=”" to the :allow statement at the bottom of /etc/tcprules.d/tcp.smtp <pre>..."
- 10:3810:38, 16 March 2024 diff hist +2,149 N Account verification using badmailto Created page with "===Account verification using badmailto=== If you do not use a catchall account, then any incoming mail to an undefined account will be bounced or deleted, depending the CatchAll setting. However, if you choose to use a catchall account (for whatever reason), you can specify characteristics of invalid account names using entries in the badmailto control file to reject mail to invalid account names. For instance, if none of your account names contain the dash (-) ch..."
- 10:3010:30, 16 March 2024 diff hist +1,181 N Enable/Disable POP3/SMTP/IMAP/Webmail access for a whole domain Created page with "Below is a set of scripts to enable/disable POP3, SMTP, IMAP/Webmail and relaying for every user in a given domain. Create a script file, paste the code, and chmod +x it and you are done. Enjoy! [Credits to Eric Shubert for the original scripting.] ---- #!/bin/sh # script to change settings for all users in a domain # and disable POP3/SMTP/IMAP/Webmail Access. # SM - 24/11/10 # USAGE> ./disable_domain.sh yourdomain.net domain=$1 vpmdir=/home/vpopmail acc..." current
- 10:3010:30, 16 March 2024 diff hist +2,297 N Vpopmail - roaming users configuration Created page with "===Vpopmail - roaming users configuration=== If you want to use the vpopmail roaming users configuration option here area few steps to follow : 1. rpm -Uvh vpopmail-toaster*.src.rpm go to (if you didnt set your own .rpmmacros config) /usr/src/redhat/SPECS and edit the file vpopmail-toaster.spec look for the configure options .. (./configure --prefix ....) line and change --disable-roaming-users into --enable-roaming-users .. If you want to add/re..." current
- 10:2910:29, 16 March 2024 diff hist +5,310 N Maintain Trash and Spam folder Created page with " #!/bin/bash # qtprune.sh # # This file can be put in /etc/cron.daily # and will prune Trash/Spam directories # Nov 7, 2006 # # 3/5/2007 Added date configuration capability # # Erik A. Espinoza <espinoza@kabewm.com # # # # Number of days for Trasn TRASH_DAYS="28" # Number of days for Spam SPAM_DAYS="28" # Find Trash Dir PATH_TRASH="`find /home/vpopmail/domains -type d -name .Trash`" # Find Spam Dir PATH_SPAM="`find /home/vpopmail/domains -type d -nam..." current
- 10:2910:29, 16 March 2024 diff hist +1,486 N Bulk User Adding For Qmail Toaster Created page with "Greetings, With help from the script PakOgah sent me I have created a bulk user adding script! It reads a text file which has entries like FIRSTNAME LASTNAME USERNAME And automatically adds the users in the text file, creates a comment field sets a default quota and password Suggestions are welcome. The script is attarched. Its still missing some functionality but its work in progress Kisakye ALex akisakye@ucu.ac.ug #!/bin/sh # # BULK USER ADDING FOR QMAIL TOASTER..." current
- 10:2810:28, 16 March 2024 diff hist +5,927 N Automatic account expirations Created page with "== Information == From: http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg16395.html Below is a script to delete in-active account autimaticaally deleted from system. When I say in-active, it look from table vpopmail.lastauth. It's very suitable for enterprise/business mailserver which has many employees and maybe some of them are contract employees with medium turnover, and lacks of IT resource. And may not for ISP / Hosting company which has paying cu..." current
- 10:2810:28, 16 March 2024 diff hist +1,001 N Attachment size limitations Created page with "===Attachment size limitations=== The default setting for 'databytes' is 20971520 which is a sane, default number. But MIME overhead is fairly high, so that 20m limit means you may not be able to receive attachments larger that 12-15m. That may seem to not be a problem, but if you host a domain that deals in large attachments for data transfer, you may need to increase that number in /var/qmail/control/databytes. You could set that to 0 (not advisable) to accept atta..." current
- 10:2710:27, 16 March 2024 diff hist +3,008 N Account Creation and Deletion Date Created page with "== Background == My Helpdesk was audited by external auditor regarding date of creation and deletion of email accounts. I can't find it the exact date by looking /home/vpopmail folders. So I ask the community and Bharath Chari kind enough to provide the tweaks. == Notes == # Use this tips with qmailtoaster's version >= vpopmail-5.4.17 with mysql backend (not LDAP). # Use only with MySQL version 5.0 or newer which has trigger feature. # This trigger only work with vpopma..." current
- 10:2510:25, 16 March 2024 diff hist +2,297 N User Tips & Tricks Created page with "== Account Management == === Account Creation and Deletion Date === === Attachment size limitations === === Automatic account expirations === === Bulk User Adding For Qmail Toaster === === Maintain Trash and Spam folder === === Roaming pop3 users (vpopmail) === === Enable/Disable POP3/SMTP/IMAP/Webmail access for a whole domain === == Anti Spam == === Account verification using badmailto === === ..."
- 10:2510:25, 16 March 2024 diff hist +9,920 N Troubleshooting Created page with "==DNS== Typical /etc/hosts: 127.0.0.1 server.yourdomain.com localhost.localdomain localhost Typical /etc/resolv.conf without dns caching: search yourdomain.com nameserver ip-address-of-first-nameserver nameserver ip-address-of-second-nameserver Typical /etc/resolv.conf with dns caching: search yourdomain.com nameserver 127.0.0.1 [http://www.mxtoolbox.com/SuperTool.aspx The SuperTool at MXToolbox.com] is a nice tool for testing DNS records, blacklists, and o..."
- 10:2410:24, 16 March 2024 diff hist +66 Main Page No edit summary Tag: Manual revert
- 10:2110:21, 16 March 2024 diff hist −2,119 Main Page →QmailToaster-Plus Tag: Reverted
- 10:2010:20, 16 March 2024 diff hist +2,051 Main Page →https://www.qmailtoaster.org/migrate.html Backup/Migrate Tag: Reverted
- 10:1610:16, 16 March 2024 diff hist +85 N EMPF Created page with "Please refer to [http://www.qmailwiki.org/index.php/EMPF the Qmailwiki page on eMPF]."
- 10:1510:15, 16 March 2024 diff hist +5,152 N Certificate Created page with "<u>'''Security Certificate'''</u> To configure a SSL certificate for TLS and/or SSL over SMTP: 1) Create a private key using the triple des encryption standard (recommended): # openssl genrsa -des3 -out servercert.key.enc 1024 2) Remove the pass phrase from the private key: # openssl rsa -in servercert.key.enc -out servercert.key 3) Generate Certificate Request # openssl req -new -key servercert.key -out servercert.csr 4) Go to [http://www.discountwebcerts.com/i..."
- 10:1510:15, 16 March 2024 diff hist +3,561 N Tcpserver options/flags Created page with "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. Connection options: * -c n: Do not handle more th..."
- 10:1410:14, 16 March 2024 diff hist +6,856 N Tcp.smtp Created page with "Located at /etc/tcprules.d/, tcp.smtp is a 2 line (default toaster) file that orchestrates many of the QMT functions. It is the traffic cop in a busy intersection, controlling SMTP processing alternatives. If you're running another MTA in concert with QmailToaster, or you have an unusual or complicated setup, the following might not be applicable to you. If that is the case, you should take your problem straight to the mailing list. Hopefully this page will eventually c..."
- 10:1110:11, 16 March 2024 diff hist +2,768 N SURBL Created page with "SURBLs (SURBL - Spam URI Realtime Blocklists) differ from most other RBLs in that they're used to detect spam based on message body URIs (usually web sites). Unlike most other RBLs, SURBLs are not used to identify spam senders. Instead they allow you to identify messages that have spam hosts which are mentioned in message bodies. Here's how to get emails checked against [http://www.surbl.org SURBL] via SpamAssassin with QMailToaster. REQUIRES: current spamassa..."
- 10:1010:10, 16 March 2024 diff hist +9,085 N Spamassassin Created page with "SpamAssassin is a mail filter to identify spam. It is an intelligent email filter which uses a diverse range of tests to identify unsolicited bulk email, more commonly known as Spam. These tests are applied to email headers and content to classify email using advanced statistical methods. In addition, SpamAssassin has a modular architecture that allows other technologies to be quickly wielded against spam and is designed for easy integration into virtually any email syst..."
- 10:1010:10, 16 March 2024 diff hist +6,677 N Clamav Created page with "== About ClamAV == From: [http://www.clamav.net Clamav.net] ClamAV is an open source (GPL) antivirus engine designed for detecting Trojans, viruses, malware and other malicious threats. It is the de facto standard for mail gateway scanning. It provides a high performance mutli-threaded scanning daemon, command line utilities for on demand file scanning, and an intelligent tool for automatic signature updates. The core ClamAV library provides numerous file format detect..."
- 10:0910:09, 16 March 2024 diff hist +16,586 N Domainkeys Created page with "= Introduction = What are DomainKeys? See [http://antispam.yahoo.com/domainkeys Yahoo!'s DomainKeys page] for an explaination and further resources. This is a step by step guide for setting up DomainKeys on QmailToaster. It includes modifications needed to DNS. This guide assumes you have installed QmailToaster and have created at least one domain. The example name for your domain used throughout this guide is ''yourdomain.com''. The example DomainKey Selector name (..."
- 10:0910:09, 16 March 2024 diff hist +4,828 N Spamdyke Created page with "== Background == Spamdyke provides pre-transmission spam filtering, and should be used in addition to SpamAssassin, which provides post-transmission spam filtering. Spamdyke is available from [http://www.spamdyke.org/ the spamdyke website]. See that site for details. While a few of spamdyke's capabilities are already provided with the stock QMail-Toaster, spamdyke provides some additional spam fighting capabilities such as graylisting and enhanced blacklist/whitelist pr..."
- 10:0810:08, 16 March 2024 diff hist +9,308 N SPF Created page with "How to set up SPF on my Qmailtoaster : Erik Espinoza 01:15, 11 Sep 2005 (PDT) : Dan McAllister 16:33, 28 November 2008 (EST) <u>'''What is SPF'''</u> SPF is a tool used to defend against SPAM -- unwanted email messages. Originally named "Sender Permitted From", the re-named "Sender Policy Framework" was created in 2003, and is an attempt to identify and control one specific type of SPAM: ''forged'' messages. A ''forged'' email message is one that purports to be from..."
- 10:0810:08, 16 March 2024 diff hist +3,285 N RBLs Created page with "A DNS-based Blackhole List (DNSBL, also known as Real-time Blackhole List or RBL), is a means by which an Internet site may publish a list of IP addresses in a format that can be easily queried by mail servers on the Internet. These addresses are those of known spammers or open relays, which are places from which you do not want to receive email. If an email comes from one of these addresses, it can be rejected as spam. There is a [http://en.wikipedia.org/wiki/DNSBL#DNSB..."
- 10:0810:08, 16 March 2024 diff hist +1,214 N Chkuser Created page with "chkuser configuration is not configurable on the fly. Configuration settings currently in use are documented at /var/qmail/doc/chkuser_settings.h. To tailor your chkuser settings, use the following procedure (provided by Nick): # rpm -Uvh qmail-toaster*.src.rpm # cd /usr/src/redhat/SPECS (assuming you are using CentOS 4) edit qmail-toaster.spec. find 'sleep 5' (should be line 606). change 5 to 300 (5 seconds to 300 seconds). save. # rpmbuild -bb --with cnt40 q..."