All public logs
Jump to navigation
Jump to search
Combined display of all available logs of QmailToaster. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 09:41, 16 March 2024 Ebroch talk contribs created page 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....")
- 09:41, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:40, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:40, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:39, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:39, 16 March 2024 Ebroch talk contribs created page 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>...")
- 09:38, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:30, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:30, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:29, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:29, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:28, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:28, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:27, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:25, 16 March 2024 Ebroch talk contribs created page 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 === === ...")
- 09:25, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:17, 16 March 2024 Ebroch talk contribs created page SSL on submission port (Created page with "===SSL on Submission port=== Just trying some things out here I noticed that Outlook Express and qmail-toaster in ssl/require auth mode are not very compatible. Have not figured out what exactly goes wrong, but it seems OE never gets to auth itself. Debugging SSL encrypted sessions is a bit dificult .... It does work with the Mail program from Vista. Looking for ways to solve this, since using SSL on the submission port is pretty much required for security reasons I...")
- 09:17, 16 March 2024 Ebroch talk contribs created page SSL (Created page with "<u>'''SSL'''</u> After adding a Certificate, TLS should work, but SSL might need some additional configuration. As SSL over SMTP on port 465 is depreciated, there is nothing listening on port 465 with the basic Qmail-Toaster. In order to add legacy SSL over SMTP (smtps) capability on port 465, you need to add an smtp-ssl daemon. Here's how to do it. 1) Stop qmail: # service qmail stop 2) Create the supervise directories for smtps # mkdir -p /var/qmail/supervi...")
- 09:16, 16 March 2024 Ebroch talk contribs created page Fail2Ban (Created page with "'''Basic fail2ban installation and setup''' ---- == Installation == Install EPEL Repos * For CentOS 5 i386: # rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm * For CentOS 4: # rpm -Uvh http://download.fedora.redhat.com/pub/epel/4/i386/epel-release-4-10.noarch.rpm Instal fail2ban: # yum install fail2ban == Setup == To work with Qmail/vpopmail, a filter and jail should be defined. === Configure Filter === Create...")
- 09:16, 16 March 2024 Ebroch talk contribs created page EMPF (Created page with "Please refer to [http://www.qmailwiki.org/index.php/EMPF the Qmailwiki page on eMPF].")
- 09:15, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:15, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:14, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:13, 16 March 2024 Ebroch talk contribs created page Configuring SRS on Toaster 1.03-1.3.13+ (Created page with "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 7 > /var/qmail/control/srs_maxage echo 4 > /var/qmail/control/srs_hashle...")
- 09:13, 16 March 2024 Ebroch talk contribs created page Fetchmail (Created page with "=== fetchmail ===")
- 09:11, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:10, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:10, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:09, 16 March 2024 Ebroch talk contribs created page 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 (...")
- 09:09, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:08, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:08, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:08, 16 March 2024 Ebroch talk contribs created page 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...")
- 09:02, 16 March 2024 Ebroch talk contribs created page Tlsserverciphers (Created page with "<u>'''tlsserverciphers'''</u> man '''qmail-smtpd''' excerpt: A set of OpenSSL cipher strings. Multiple ciphers contained in a string should be separated by a colon. If the environment variable '''TLSCIPHERS''' is set to such a string, it takes precedence.")
- 09:01, 16 March 2024 Ebroch talk contribs created page Tlsclients (Created page with "<u>'''tlsclients'''</u> man '''qmail-smtpd''' excerpt: A list of email addresses. When relay rules would reject an incoming messages, '''qmail-smtpd''' can allow it if the client presents a certificate that can be verified against the CA list in clientca.pem and the certificate email address is in <u>tlsclients</u>.")
- 09:01, 16 March 2024 Ebroch talk contribs created page Timeoutsmtpd (Created page with "<u>'''timeoutsmtpd'''</u> man '''qmail-smtpd''' excerpt: Number of seconds '''qmail-smtpd''' will wait for each new buffer of data from the remote SMTP client. Default: 1200.")
- 09:00, 16 March 2024 Ebroch talk contribs created page Spfrules (Created page with "<u>'''spfrules'''</u> man '''qmail-smtpd''' modified excerpt: You can add a single line with SPF rules (also known as SPF mechanisms) that will be checked before other SPF rules would fail. This can be used to always allow certain machines to send certain emails. As an example, an spfrules file that contains the line '''ip4:192.0.0.1/24''' would allow the local qmail-toaster to receive Email from one of its supported domains from any host with the ip addresses 192.0....")
- 09:00, 16 March 2024 Ebroch talk contribs created page Spfguess (Created page with "<u>'''spfguess'''</u> man '''qmail-smtpd''' excerpt: You can add a line with SPF rules that will be checked if a sender domain doesn't have an SPF record. The local rules will also be used in this case.")
- 08:59, 16 March 2024 Ebroch talk contribs created page Spfexp (Created page with "<u>'''spfexp'''</u> man '''qmail-smtpd''' excerpt: You can add a line with an SPF explanation that will be shown to the sender in case of a reject. It will override the default one. You can use SPF macro expansion.")
- 08:59, 16 March 2024 Ebroch talk contribs created page Spfbehavior (Created page with "<u>'''spfbehavior'''</u> - Set to a value between 1 and 6 to enable SPF checks: * '''0''' to disable. * '''1''' selects ’annotate-only’ mode, where ''qmail-smtpd'' will annotate incoming email with ''Received-SPF'' fields, but will not reject any messages. * '''2''' will produce temporary failures on DNS lookup problems so you can make sure you always have meaningful Received-SPF headers. * '''3''' selects ’reject’ mode, where incoming mail will be rejected if...")
- 08:58, 16 March 2024 Ebroch talk contribs created page Smtpgreeting (Created page with "<u>'''smtpgreeting'''</u> - SMTP greeting message. Default: <u>me</u>, if that is supplied; otherwise '''qmail-smtpd''' will refuse to run. The first word of <u>smtpgreeting</u> should be the current host’s name.")
- 08:58, 16 March 2024 Ebroch talk contribs created page Servercert.pem (Created page with "<u>'''servercert.pem'''</u> If this file is absent, smtp TLS processing will be disabled. man '''qmail-smtpd''' excerpt: SSL certificate to be presented to clients in TLS-encrypted sessions. Should contain both the certificate and the private key. Certifying Authority (CA) and intermediate certificates can be added at the end of the file.")
- 08:58, 16 March 2024 Ebroch talk contribs created page Rsa512.pem (Created page with "<u>'''rsa512.pem'''</u> man '''qmail-smtpd''' excerpt: If this 512 bit RSA key is provided, '''qmail-smtpd''' will use it for TLS sessions instead of generating one on-the-fly.")
- 08:57, 16 March 2024 Ebroch talk contribs created page Rcpthosts (Created page with "<u>'''rcpthosts'''</u> This file contains all of the domains your server will accept mail for. Using the VqAdmin interface or the command line tools will automatically add the domains you create to this file. This is where you want to put domain names that you want to be a secondary mail server for. '''Do not add the domains or users if you want to be a caching email server.''' If you add a domain here that does not reside on your server, the machine will accept the...")
- 08:57, 16 March 2024 Ebroch talk contribs created page Queuelifetime (Created page with "<u>'''queuelifetime'''</u> This file defines how long your server will attempt to process or deliver an email before bouncing it to the originating sender defined in the header of the email message. The value in this file must be in seconds. Once the maximum time has been met the message will bounce, with the new sender being defined in bouncefrom and coming from the domain defined in bouncehost. The default for Qmail-Toaster is 86400 (one day). man '''qma...")
- 08:56, 16 March 2024 Ebroch talk contribs created page Percenthack (Created page with "<u>'''percenthack'''</u> man '''qmail-send''' excerpt: List of domain names where the percent hack is applied. If <u>domain</u> is listed in <u>percenthack</u>, any address of the form <u>user%fqdn@domain</u> is rewritten as <u>user@fqdn</u>. <u>user</u> may contain %, so the percent hack may be applied repeatedly. '''qmail-send''' handles <u>percenthack</u> before locals.")
- 08:56, 16 March 2024 Ebroch talk contribs created page Morercpthosts (Created page with "<u>'''morercpthosts'''</u> man '''qmail-smtpd''' excerpt: Extra allowed RCPT domains. If <u>rcpthosts</u> and <u>morercpthosts</u> both exist, <u>morercpthosts</u> is effectively appended to <u>rcpthosts</u>. You must run '''qmail-newmrh''' whenever <u>morercpthosts</u> changes. Rule of thumb for large sites: Put your 50 most commonly used domains into <u>rcpthosts</u>, and the rest into <u>morercpthosts</u>.")
- 08:55, 16 March 2024 Ebroch talk contribs created page Me (Created page with "<u>'''me'''</u> Contains the fully-qualified name (FQDN) of the host. This should be the same as the result of the command: # hostname --fqdn For machines running virtual hosts, this file should contain the host's IP address. This file is used as the default for the following hostname-related control files: bouncehost defaultdomain defaulthost doublebouncehost envnoathost helohost idhost localiphost")
- 08:54, 16 March 2024 Ebroch talk contribs created page Locals (Created page with "<u>'''locals'''</u> man '''qmail-send''' excerpt: List of domain names that the current host receives mail for, one per line. Default: me, if that is supplied; otherwise '''qmail-send''' refuses to run. An address <u>user@domain</u> is considered local if <u>domain</u> is listed in <u>locals</u>.")
- 08:53, 16 March 2024 Ebroch talk contribs created page Localiphost (Created page with "<u>'''localiphost'''</u> man '''qmail-smtpd''' excerpt: Replacement host name for local IP addresses. Default: <u>me</u>, if that is supplied. '''qmail-smtpd''' is responsible for recognizing dotted-decimal addresses for the current host. When it sees a recipient address of the form <u>box@[d.d.d.d]</u>, where <u>d.d.d.d</u> is a local IP address, it replaces <u>[d.d.d.d]</u> with <u>localiphost</u>. This is done before <u>rcpthosts</u>.")