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).

Logs
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)
  • 22:05, 26 March 2024 Ebroch talk contribs created page Securing SquirrelMail (Created page with "== 1 == == PHP upgrade 7.x to 8.1 ==")
  • 22:02, 26 March 2024 Ebroch talk contribs created page 7.x to 8.x (Created page with "Tested EL8 Derivatives<br> 1) # dnf module reset php 2) # dnf module install php:remi-8.1 3) # dnf update Squirrelmail Update necessary")
  • 21:59, 26 March 2024 Ebroch talk contribs created page PHP (Created page with "== 7.x to 8.x ==")
  • 19:10, 26 March 2024 Ebroch talk contribs created page Vpopmail daemon (Created page with " # cd /var/qmail/supervise && qmailctl stop # install -d -m1751 vpopmaild && chmod 1700 vpopmaild && chown qmaill:qmail vpopmaild && install -d -m751 vpopmaild/log && chmod 0700 vpopmaild/log # printf '%s\n' \ '#!/bin/sh' \ 'QMAILDUID=`id -u vpopmail`' \ 'NOFILESGID=`id -g vpopmail`' \ 'VPOPD=/home/vpopmail/bin/vpopmaild' \ '' \ 'exec 2>&1' 'exec /usr/bin/tcpserver -vRHD -u "$QMAILDUID" -g "$NOFILESGID" 127.0.0.1 89 $VPOPD' \ >./vpopmaild/run # printf '%s\...")
  • 19:09, 26 March 2024 Ebroch talk contribs created page Vpopmail (Created page with "== Vpopmail daemon ==")
  • 17:28, 26 March 2024 Ebroch talk contribs created page LDA (Created page with "Install Dovecot Pigeonhole with Sieve protocol enabled Local Delivery Agent (LDA), enable ManageSieve server, specify Sieve rule locations, create Sieve files and set permissions, and restart Dovecot # yum install dovecot-pigeonhole # vi /etc/dovecot/local.conf (Add) mail_location = maildir:~/Maildir protocols = $protocols sieve plugin { sieve = ~/.dovecot.sieve sieve_dir = ~/.sieve } service managesieve-login { inet_listener sieve { port = 4190...")
  • 17:28, 26 March 2024 Ebroch talk contribs created page Dovecot (Created page with "== LDA ==")
  • 16:13, 26 March 2024 Ebroch talk contribs created page EzMLM Commands (Created page with " 1. Create a mailing list A. Create domain 1) # /home/vpopmail/bin/vadddomain mydomain.com 'password' B. Create ezmlm mailling list w/features ezmlm flags Flags: -5 List owner Flags: -Afpqut (No archive, Subject prefix, Public, Service requests, List members only, Trailer) 1) # ezmlm-make -5 postmaster@mydomain.com -Afpqut \ /home/vpopmail/domains/mydomain.com/mydomain-list \ /home/vpopma...")
  • 15:55, 26 March 2024 Ebroch talk contribs created page Fail2ban (Created page with "# Install fail2ban # yum install fail2ban -y # Create the filter definition files in filter.d # cat >/etc/fail2ban/filter.d/qmail-smtp-authnotavail.conf << EOL [Definition] #Looks for failed auth outside TLS to SMTP failregex = 503 auth not available \(\#5\.3\.3\) - <HOST> ignoreregex = EOL # cat >/etc/fail2ban/filter.d/qmail-smtps-auth.conf<< EOL [Definition] #Looks for failed password logins to SMTP failregex = vchkpw-smtps: password fail ([^)]*) [^@]*@[^:]*:<HOST>...")
  • 15:52, 26 March 2024 Ebroch talk contribs created page Spam Throttle (Created page with "Spam Throttle: If you are interested in implementing spam throttle, read the following man pages: man qmail-spamthrottle man qmail-spamt mail qmail-newst If you just want some reasonable defaults, do this: echo "::1501:120000::1000::::" > /var/qmail/control/spamt echo "." >> /var/qmail/control/spamt /var/qmail/bin/qmail-newst")
  • 15:29, 26 March 2024 Ebroch talk contribs created page Amavis (Created page with " For testing until production stability proven. Get Amavis Qmail queue # grep "release 7" /etc/centos-release # [ "$?" = "0" ] && cos=7 || cos=8 # echo $cos # wget -O /var/qmail/bin/qmail-queue.smtp https://github.com/qmtoaster/amavis/blob/main/qmail-queue.smtp.cos${cos}?raw=true # chown qmailq:qmail /var/qmail/bin/qmail-queue.smtp # chmod 4711 /var/qmail/bin/qmail-queue.smtp Build Your Own qmail-queue.smtp Install Amavis & edit config, run clamd under Amavis, star...")
  • 14:30, 26 March 2024 Ebroch talk contribs created page Simscan (Created page with "== Ramdisk ==")
  • 12:55, 20 March 2024 Ebroch talk contribs created page Secure Qmail web administration (Created page with "Secure QMT Apache configuration file (/etc/httpd/conf/toaster.conf). Use 'aclnet' parameters suited for your configuration. <pre> <toaster.conf> 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/toast...")
  • 12:52, 20 March 2024 Ebroch talk contribs undeleted page Configuration (2 revisions)
  • 12:52, 20 March 2024 Ebroch talk contribs deleted page Configuration (content was: "== Initial Configuration == == Domains == Follow this link for information about configuring domains. == Users == Follow this link for information about configuring users. List of Mobile Device which succesfully connect to QmailToaster with SMTP-Auth and Submission Port List of Wapmail for mobile users with GPRS and Wap Browser Handphone == Control File...", and the only contributor was "Ebroch" (talk))
  • 12:51, 20 March 2024 Ebroch talk contribs deleted page Fetchmail (content was: "=== fetchmail ===", and the only contributor was "Ebroch" (talk))
  • 10:05, 20 March 2024 Ebroch talk contribs created page Initial Configuration (Created page with "Add a domain: /home/vpopmail/bin/vadddomain your-domain.com Add a user: /home/vpopmail/bin/vadduser you@your-domain.com Edit /etc/php.ini and set register_globals = On service httpd restart Bring up your browser and go to: http://www.your-domain.com/admin-toaster/ Username: admin Password: toaster Change your password . . . Edit /etc/php.ini and set register_globals = Off service httpd restart Check your m...")
  • 16:17, 18 March 2024 Ebroch talk contribs created page QMT Wiki (Created page with "Download latest MediaWiki # cd /var/www # https://releases.wikimedia.org/mediawiki/1.41/mediawiki-1.41.0.tar.gz # tar zxvf mediawiki-1.41.0.tar.gz # tee /root/sql.cnf<<EOF [client] user=root password='mypass' host=localhost EOF # mysqladmin --defaults-extra-file=$credfile create mediawiki # mysql --defaults-extra-file=$credfile -e "CREATE USER mediawiki@localhost IDENTIFIED BY 'p4ssw3rd'" # mysql --defaults-extra-file=$credfile -e "GRANT ALL PRIVILEGES ON mediawi...")
  • 11:10, 16 March 2024 Ebroch talk contribs created page Wish List (Created page with "Have you found a patch, or know of some free software you'd like to see included with the Qmail-Toaster? You've come to the right place! Please edit a section below with your request. ====rblsmtpd & tcpserver timeouts==== '''Requestor:''' Jean-Paul van de Plasse '''Date:''' 1/9/07 '''Status:''' On Devel Site (1/14/2007) '''Description:''' If I am not mistaken the timeout is default 60 secs per rbl, normally one would think this would not give to much problems. But t...")
  • 11:10, 16 March 2024 Ebroch talk contribs created page Adding Horde Webmail to Toaster (Created page with "The Horde Project is a PHP framework for webmail and related applications. Go to [http://www.horde.org The Horde Project] for more details. The instructions below for Centos 5.x come from a meld of a post from Anil Aliyan on the Qmail-Toaster list and [http://wiki.horde.org/CentOS5InstallationNotes The Horde Wiki]. == '''Setup''' == '''Step 1.''' Install some additional applications and their dependencies to your server. Note, as far as I know all of these applicati...")
  • 11:10, 16 March 2024 Ebroch talk contribs created page Replacing Courier IMAP with Dovecot IMAP (Created page with "If your QMT is running Courier IMAP and you're experiencing poor IMAP performance with large mailboxes, this is your solution. Dovecot runs efficiently on relatively low powered hosts, with accounts having in excess of 10G of mail. Thanks go to Phil and Scott for contributing to the first wiki content regarding dovecot. Their work helped to lay the foundation for getting dovecot integrated into QMT. Since then, this process has become much simpler. Dovecot is schedule...")
  • 11:07, 16 March 2024 Ebroch talk contribs created page Autorespond-toaster (Created page with "'''Change Log''' * Wed Nov 01 2006 Erik A. Espinoza <espinoza@forcenetworks.com> 2.0.4-1.3.2 ** Add Fedora Core 6 support * Mon Jun 05 2006 Nick Hemmesch <nick@ndhsoft.com> 2.0.4-1.3.1 ** Add SuSE 10.1 support * Sat May 13 2006 Nick Hemmesch <nick@ndhsoft.com> 2.0.4-1.2.9 ** Add Fedora Core 5 support * Sun Nov 20 2005 Nick Hemmesch <nick@ndhsoft.com> 2.0.4-1.2.8 ** Add SuSE 10.0 and Mandriva 2006.0 support * Sat Oct 15 2005 Nick Hemmesch <nick@ndhsoft.com> 2.0.4-1.2.7 **...")
  • 11:06, 16 March 2024 Ebroch talk contribs created page Project Change Log (Created page with "The following change log is from the prior main web site. '''08/06/2012''' - Updated all packages to current upstream releases. These packages carry a 1.4.n QMT version. '''07/31/2011''' - Updated clamav to 0.97.2. This is a bugfix release and if you were experiencing issues with odd hangs of clamav it is recommended you upgrade. For more information, [http://git.clamav.net/gitweb?p=clamav-devel.git;a=blob_plain;f=ChangeLog;hb=clamav-0.97.2 here are the release notes]....")
  • 11:06, 16 March 2024 Ebroch talk contribs created page Change Logs (Created page with "====Project Change Log==== ====autorespond-toaster==== ====clamav-toaster==== ====control-panel-toaster==== ====courier-authlib-toaster==== ====courier-imap-toaster==== ====daemontools-toaster==== ====djbdns==== ====ezmlm-toaster==== ====isoqlog-toaster==== ====libdomainkeys-toaster==== ====maildrop-toaster==== ====qmailadmin-toaster==== ====qmailmrtg-toaster==== ====qmail-toaster==== ====ripmime-toaster====...")
  • 11:01, 16 March 2024 Ebroch talk contribs created page Webmail Client (Created page with "(This page is still underdevelopment) Below are lists of Webmail Client that can be use with QmailToaster == AfterLogic lite == http://www.afterlogic.com/products/webmail-lite == atmail == http://atmail.org/ == eGroupware == http://www.egroupware.org/ == Hastymail == http://www.hastymail.org/ == Horde == http://www.horde.org/ == Nutsmail == http://nutsmail.com == RoundCube == http://roundcube.net == Squirrelmail == http://squirrelmail.org/ == SquirrelOutlook ==...")
  • 11:01, 16 March 2024 Ebroch talk contribs created page Squirrelmail Global Address Book (Created page with "From: http://www.mail-archive.com/qmailtoaster-list@qmailtoaster.com/msg14851.html Below are my way to provide Squirrelmail Global Address Book for my users. 1. create sqweb_gabook.sh and sqweb_gabook.php in one folder 2. chmod +x sqweb_gabook.sh 3. edit parameters on both files 4. run sqweb_gabook.sh for first time 5. edit squirrelmail config to load your newly created global address book. More info: http://www.squirrelmail.org/docs/admin/admin-7.html#ss7.5 6. to...")
  • 11:01, 16 March 2024 Ebroch talk contribs created page Clickable Banner (Created page with "* Login as root to your server * Go to Squirrelmail folder cd /usr/share/squirrelmail/src * Make a backup of the original login.php cp login.php login.php.org * Edit the file login.php vi login.php * Add the text right at the bottom of the file, after: <pre> do_hook('login_bottom'); ?> <div style="text-align: center;"><a h ref=" your_url " target="_blank"> <img height="60" width="468" alt="any text h...")
  • 11:00, 16 March 2024 Ebroch talk contribs created page Resolving apparent login failures with SMTP and POP (Created page with "Following upgrades or initial installations, you may find that your mail client is unable to connect successfully to your SMTP submission port or to the POP3 port. Some mail clients will report this as a password error; others may simply report a generic problem. One possibility is that the 'vchkpw' daemon does not have enough memory to run. You can test this by hand-simulating a POP session with, for example: '''telnet yourhost.com pop3''' Trying 1.2....")
  • 10:59, 16 March 2024 Ebroch talk contribs created page How to set up a mail list so that you can email ALL of your domains at one time (Created page with "Have you ever wanted to email all the user accounts on all domains on your server at the SAME time (server downtime notifications, etc)? Now you can and the best part is that it is very simple to do! The first thing you need to do is to create a mailinglist on your default domain (does not have to be the default domain, however usually this is your domain anyway). I would suggest making the name of the list something obtuse (not easy to guess so as to prevent spam) and...")
  • 10:58, 16 March 2024 Ebroch talk contribs created page How to Setup DKIM with Qmail Toaster (Created page with " 1. Global key (default for all domains) # yum install perl-XML-Simple perl-Mail-DKIM perl-XML-Parser # wget https://raw.githubusercontent.com/qmtoaster/dkim/master/qmail-remote # wget https://raw.githubusercontent.com/qmtoaster/dkim/master/signconf.xml # mkdir /var/qmail/control/dkim # mv signconf.xml /var/qmail/control/dkim/ # chown -R qmailr:qmail /var/qmail/control/dkim/ CentOS 7 # dknewkey /var/qmail/co...")
  • 10:56, 16 March 2024 Ebroch talk contribs created page 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...")
  • 10:55, 16 March 2024 Ebroch talk contribs created page 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...")
  • 10:55, 16 March 2024 Ebroch talk contribs created page 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...")
  • 10:55, 16 March 2024 Ebroch talk contribs created page 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...")
  • 10:54, 16 March 2024 Ebroch talk contribs created page 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...")
  • 10:54, 16 March 2024 Ebroch talk contribs created page 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...")
  • 10:53, 16 March 2024 Ebroch talk contribs created page How to integrate qms-analog for nicely log stats (Created page with "Tried a while ago qmailrocks and liked qms-analog option and sometimes would have saved me from long log debugging on qmailtoaster. now I have some time and decided to refresh qms-analog script to new qmail-scanner. '''BEWARE''' this patch might contain some errors please use it only in testing environment ! '''Install Dependencies''' cpan Time::HiRes DB_File Sys::Syslog MIME::Base64 yum install sharutils unzip perl-suidperl '''Download qmailanalog''' wget...")
  • 10:52, 16 March 2024 Ebroch talk contribs created page 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>...")
  • 10:50, 16 March 2024 Ebroch talk contribs created page 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:50, 16 March 2024 Ebroch talk contribs created page Disabling Domain Keys (Created page with "Unfortunately, domain keys are broken in Toaster. It's recommended that you disable them for the time being. This will be disabled in future releases anyway, until a suitable fix can be found. To disable domain keys: cd /var/qmail/bin ln -sf qmail-queue.orig qmail-queue And then restart qmail: qmailctl restart That's it!")
  • 10:49, 16 March 2024 Ebroch talk contribs created page 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...")
  • 10:49, 16 March 2024 Ebroch talk contribs created page 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...")
  • 10:48, 16 March 2024 Ebroch talk contribs created page 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...")
  • 10:48, 16 March 2024 Ebroch talk contribs created page 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:48, 16 March 2024 Ebroch talk contribs created page 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:47, 16 March 2024 Ebroch talk contribs created page 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:47, 16 March 2024 Ebroch talk contribs created page 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:46, 16 March 2024 Ebroch talk contribs created page 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...")
  • 10:44, 16 March 2024 Ebroch talk contribs created page 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:42, 16 March 2024 Ebroch talk contribs created page 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: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....")
  • 10: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...")
  • 10: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...")
  • 10: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...")
  • 10: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...")
  • 10: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>...")
  • 10: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...")
  • 10: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...")
  • 10: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...")
  • 10: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...")
  • 10: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...")
  • 10: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...")
  • 10: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...")
  • 10: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...")
  • 10: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 === === ...")
  • 10: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...")
  • 10: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...")
  • 10: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...")
  • 10: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...")
  • 10: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].")
  • 10: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...")
  • 10: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...")
  • 10: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...")
  • 10: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...")
  • 10:13, 16 March 2024 Ebroch talk contribs created page Fetchmail (Created page with "=== fetchmail ===")
  • 10: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...")
  • 10: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...")
  • 10: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...")
  • 10: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 (...")
  • 10: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...")
  • 10: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...")
  • 10: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...")
  • 10: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...")
  • 10: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.")
  • 10: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>.")
  • 10: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.")
  • 10: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....")
  • 10: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.")
  • 09: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.")
  • 09: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...")
  • 09: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.")
  • 09: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.")
  • 09: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.")
  • 09: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...")
  • 09: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...")
  • 09: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.")
  • 09: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>.")
  • 09: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")
  • 09: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>.")
  • 09: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>.")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)