{"id":2419,"date":"2014-06-01T13:50:31","date_gmt":"2014-06-01T13:50:31","guid":{"rendered":"http:\/\/blog.bachi.net\/?p=2419"},"modified":"2015-09-29T19:50:22","modified_gmt":"2015-09-29T19:50:22","slug":"courier-imap","status":"publish","type":"post","link":"https:\/\/blog.bachi.net\/?p=2419","title":{"rendered":"Mail Server Installation"},"content":{"rendered":"<ul>\n<li><a href=\"http:\/\/www.dbmail.org\/\">DBMail<\/a><\/li>\n<li>Postfix<\/li>\n<li>ClamSMTP<\/li>\n<li>AfterLogic WebMail Pro<\/li>\n<li><a href=\"https:\/\/www.zimbra.com\">Zimbra<\/a><\/li>\n<li>amavisd-new<\/li>\n<li>spamassassin<\/li>\n<li>clamav<\/li>\n<li>pigeonhole<\/li>\n<li>pigeonhole<\/li>\n<\/ul>\n<p>Database vs. File-System<br \/>\n<a href=\"https:\/\/forums.freebsd.org\/threads\/database-based-mail-server.3405\/\">Database based mail server<\/a><br \/>\n<a href=\"http:\/\/blog.iandreev.com\/?p=1604\">FreeBSD 10: postfix, dovecot, Roundcube, amavisd-new, spamassassin, clamav, pigeonhole<\/a><\/p>\n<p><a href=\"http:\/\/www.dbmail.org\/dokuwiki\/doku.php\/migrating_from_qmail_vpopmail_sql\">migrating_from_qmail_vpopmail_sql<\/a><br \/>\n<a href=\"http:\/\/www.gossamer-threads.com\/lists\/dbmail\/users\/25897\">Importing mailboxes from vpopmail<\/a><br \/>\n<a href=\"http:\/\/www.gossamer-threads.com\/lists\/dbmail\/users\/2353\">dbmail + qmail + vpopmail + awk!!! \ud83d\ude42<\/a><\/p>\n<h3>qmail<\/h3>\n<p><a href=\"http:\/\/www.lifewithqmail.org\/\">Life with qmail<\/a><br \/>\n<a href=\"http:\/\/www.pofo.de\/HOWTO\/qmail\/\">QMail HOWTO f\u00fcr FreeBSD<\/a><br \/>\n<a href=\"http:\/\/www.marcogoncalves.com\/2012\/09\/my-qmail-installation-guide\/\">My Qmail installation guide<\/a><br \/>\n<a href=\"http:\/\/logicsquad.net\/freebsd\/qmail-how-to.html\">Installing qmail under FreeBSD<\/a><br \/>\n<a href=\"http:\/\/www.fehcom.de\/qmail\/smtpauth.html\">SMTP Authentication [Tutorial]<\/a><br \/>\n<a href=\"https:\/\/qmail.jms1.net\/smtp-service.shtml\">Setting up an SMTP service<\/a><br \/>\n<a href=\"http:\/\/www.cargal.org\/downloads\/HOW-TO\/debianqmail\/debianqmail.html\">Debian qmail Anleitung v1.2<\/a><br \/>\n<a href=\"http:\/\/people.kldp.org\/~eunjea\/qmail\/patch\/\">qmail patches<\/a><br \/>\n<a href=\"https:\/\/qmail.jms1.net\/relay.shtml\">Relaying with qmail<\/a> (Environment Variable RELAYCLIENT)<\/p>\n<h4>TLS \/ Certificate<\/h4>\n<p><a href=\"http:\/\/www.differentpla.net\/content\/2004\/03\/using-smtp-tls-with-qmail\">Using SMTP-TLS with qmail<\/a><br \/>\n<a href=\"http:\/\/www.marcogoncalves.com\/2012\/09\/my-qmail-installation-guide\/\">My Qmail installation guide<\/a><br \/>\n<a href=\"http:\/\/inoa.net\/qmail-tls\/\">Qmail-TLS patch<\/a><br \/>\n<a href=\"http:\/\/notes.sagredo.eu\/node\/84\">smtp-auth + qmail-tls (starttls) + forcetls patch for qmail<\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n220 XXX.com ESMTP\r\nehlo user\r\n250-XXX.com\r\n250-STARTTLS\r\n250-AUTH LOGIN PLAIN CRAM-MD5\r\n250-PIPELINING\r\n250 8BITMIME\r\nstarttls\r\n454 TLS missing certificate: error:0200100D:system library:fopen:Permission denied (#4.3.0)\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n$ chown vpopmail:vchkpw \/var\/qmail\/control\/servercert.pem\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n220 XXX.com ESMTP\r\nehlo user\r\n250-XXX.com\r\n250-STARTTLS\r\n250-AUTH LOGIN PLAIN CRAM-MD5\r\n250-PIPELINING\r\n250 8BITMIME\r\nstarttls\r\n220 ready for tls\r\n<\/pre>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# Request\r\n$ openssl req -new -nodes -out req.pem -keyout servercert.pem\r\n\r\n# Sign\r\n$ openssl req -new -x509 -nodes -out servercert.pem -days 366 -keyout servercert.pem\r\n$ openssl ciphers &gt; tlsclientciphers\r\n$ openssl ciphers &gt; tlsserverciphers\r\n\r\n# Display certificate information\r\n$ openssl x509 -text -noout -in servercert.pem\r\n<\/pre>\n<p><a href=\"http:\/\/wiki.samat.org\/CheatSheet\/OpenSSL\">CheatSheet\/OpenSSL<\/a><br \/>\n<a href=\"http:\/\/www.sslshopper.com\/article-most-common-openssl-commands.html\">The Most Common OpenSSL Commands<\/a><br \/>\n<a href=\"http:\/\/conshell.net\/wiki\/index.php\/OpenSSL_usage_tips_and_examples\">OpenSSL usage tips and examples<\/a><\/p>\n<h4>qmail Toaster<\/h4>\n<p><a href=\"http:\/\/wiki.qmailtoaster.com\/index.php\/Tcp.smtp\">tcp.smtp<\/a><br \/>\n<a href=\"http:\/\/wiki.qmailtoaster.com\/index.php\/Vpopmail_-_roaming_users_configuration\">Vpopmail &#8211; roaming users configuration<\/a><\/p>\n<h3>vpopmail<\/h3>\n<p><a href=\"http:\/\/www.qmailwiki.org\/Vpopmail\">Vpopmail<\/a><\/p>\n<p><a href=\"http:\/\/www.bowe.id.au\/michael\/isp\/vpopmail-mysql.htm\">A quick guide to vpopmail with MySQL<\/a><br \/>\n<a href=\"https:\/\/www.tnpi.net\/internet\/mail\/toaster\/patches\/tcpserver-mysql.shtml\">UCSPI-TCP MySQL patch<\/a><\/p>\n<pre class=\"brush: plain; collapse: true; light: false; title: installed applications; toolbar: true; notranslate\" title=\"installed applications\">\r\n&#x5B;root@te-clan \/usr\/ports\/mail\/qmail-tls]# pkg_info | grep mail\r\nautorespond-2.0.5   Simple autoresponder for qmail\r\ncourier-authlib-vchkpw-0.59.3 Vpopmail\/vchkpw support for the Courier authentication libr\r\ncourier-imap-4.1.3,1 IMAP (and POP3) server that provides access to Maildir mail\r\nezmlm-idx-0.40_4    Improved version of the ezmlm mailing list manager\r\np5-Email-Address-1.90.0 RFC 2822 Address Parsing and Creation\r\np5-Mail-DKIM-0.40   Perl5 module to process and\/or create DKIM email\r\np5-Mail-SpamAssassin-3.3.2_8 A highly efficient mail filter for identifying spam\r\np5-Mail-Tools-2.12  Perl5 modules for dealing with Internet e-mail messages\r\nqmail-qfilter-2.1_2 Front-end for qmail-queue to run messages through filters\r\nqmail-tls-1.03.20021228_1 A SECURE, reliable, and FAST MTA for UNIX systems WITH TLS \r\nroundcube-0.2,1     Fully skinnable XHTML\/CSS webmail written in PHP\r\nvpopmail-devel-5.5.0_2 Easy virtual domain and authentication package for use with\r\n<\/pre>\n<pre class=\"brush: plain; collapse: true; light: false; title: original tcpserver; toolbar: true; notranslate\" title=\"original tcpserver\">\r\n&#x5B;root@te-clan ~]# tcpserver -v\r\ntcpserver: usage: tcpserver &#x5B; -1UXpPhHrRoOdDqQsSv ] &#x5B; -c limit ] &#x5B; -C &#x5B;address&#x5B;\/len]:]limit ] &#x5B; -e name=var ] &#x5B; -x rules.cdb ] &#x5B; -B banner ] &#x5B; -g gid ] &#x5B; -u uid ] &#x5B; -b backlog ] &#x5B; -l localname ] &#x5B; -t timeout ] &#x5B; -n certfile ] host port program\r\n\r\n&#x5B;root@te-clan ~]# which tcpserver\r\n\/usr\/local\/bin\/tcpserver\r\n\r\n&#x5B;root@te-clan ~]# readelf -s \/usr\/local\/bin\/tcpserver                \r\nSymbol table '.dynsym' contains 144 entries:\r\n   Num:    Value          Size Type    Bind   Vis      Ndx Name\r\n     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND \r\n     1: 00000000004025f4    40 FUNC    GLOBAL DEFAULT  UND waitpid\r\n     2: 000000000050ef40    16 OBJECT  GLOBAL DEFAULT   20 ipl\r\n     3: 000000000050fb90     4 OBJECT  GLOBAL DEFAULT   20 subgetoptpos\r\n     4: 000000000050fba0    32 OBJECT  GLOBAL DEFAULT   20 b\r\n     5: 0000000000402604    55 FUNC    GLOBAL DEFAULT  UND recv\r\n     6: 0000000000402614     0 FUNC    GLOBAL DEFAULT  UND connect\r\n     7: 0000000000402624    52 FUNC    GLOBAL DEFAULT  UND sigemptyset\r\n     8: 000000000050d358     8 OBJECT  GLOBAL DEFAULT   13 buffer_2\r\n     9: 000000000050d390     4 OBJECT  GLOBAL DEFAULT   13 error_perm\r\n    10: 000000000050fbc0    40 OBJECT  GLOBAL DEFAULT   20 localportstr\r\n    11: 000000000050d320     8 OBJECT  GLOBAL DEFAULT   13 limit\r\n    12: 0000000000402634     0 FUNC    GLOBAL DEFAULT  UND munmap\r\n    13: 000000000050d394     4 OBJECT  GLOBAL DEFAULT   13 error_pipe\r\n    14: 000000000050e8f8     0 OBJECT  GLOBAL DEFAULT  ABS _DYNAMIC\r\n    15: 000000000050fb80     4 OBJECT  GLOBAL DEFAULT   20 subgetoptproblem\r\n    16: 000000000050ef58     8 OBJECT  GLOBAL DEFAULT   20 uid\r\n    17: 0000000000402644     0 FUNC    GLOBAL DEFAULT  UND execve\r\n    18: 0000000000402654     0 FUNC    GLOBAL DEFAULT  UND getpid\r\n    19: 0000000000402664    23 FUNC    GLOBAL DEFAULT  UND SSL_get_fd\r\n    20: 000000000050d3e0     4 OBJECT  GLOBAL DEFAULT   13 sig_child\r\n    21: 000000000050ef50     8 OBJECT  GLOBAL DEFAULT   20 gid\r\n    22: 0000000000402674   143 FUNC    GLOBAL DEFAULT  UND SSL_read\r\n    23: 0000000000402684   962 FUNC    GLOBAL DEFAULT  UND SSL_new\r\n    24: 000000000050fb70     8 OBJECT  GLOBAL DEFAULT   20 sgetoptprogname\r\n    25: 0000000000402694  1176 FUNC    GLOBAL DEFAULT  UND SSL_CTX_new\r\n    26: 00000000004026a4    35 FUNC    GLOBAL DEFAULT  UND malloc\r\n    27: 000000000050ef30     8 OBJECT  GLOBAL DEFAULT   20 limit_ip\r\n    28: 000000000050d340     4 OBJECT  GLOBAL DEFAULT   13 verbosity\r\n    29: 000000000050fbf0    20 OBJECT  GLOBAL DEFAULT   20 localipstr\r\n    30: 00000000004026b4   322 FUNC    GLOBAL DEFAULT  UND SSL_library_init\r\n    31: 000000000050d398     4 OBJECT  GLOBAL DEFAULT   13 error_again\r\n    32: 000000000050ef80     8 OBJECT  GLOBAL DEFAULT   20 remotehost\r\n    33: 00000000004026c4     0 FUNC    GLOBAL DEFAULT  UND socket\r\n    34: 00000000004026d4     0 FUNC    GLOBAL DEFAULT  UND setgroups\r\n    35: 00000000004026e4   367 FUNC    GLOBAL DEFAULT  UND SSL_CTX_use_RSAPrivateKey\r\n    36: 000000000050d3d0     4 OBJECT  GLOBAL DEFAULT   13 sig_term\r\n    37: 000000000050fc04     2 OBJECT  GLOBAL DEFAULT   20 remoteport\r\n    38: 00000000004026f4    53 FUNC    GLOBAL DEFAULT  UND lseek\r\n    39: 0000000000402704    99 FUNC    GLOBAL DEFAULT  UND sigaddset\r\n    40: 0000000000402714    31 FUNC    GLOBAL DEFAULT  UND SSL_pending\r\n    41: 0000000000402724    94 FUNC    GLOBAL DEFAULT  UND mmap\r\n    42: 000000000050d3ec     4 OBJECT  GLOBAL DEFAULT   13 subgetoptind\r\n    43: 000000000050d3c0     4 OBJECT  GLOBAL DEFAULT   13 sgetopterr\r\n    44: 0000000000402734    55 FUNC    GLOBAL DEFAULT  UND send\r\n    45: 00000000004025d0     0 FUNC    GLOBAL DEFAULT    8 _init\r\n    46: 0000000000402744     0 FUNC    GLOBAL DEFAULT  UND pipe\r\n    47: 000000000050d3a0     4 OBJECT  GLOBAL DEFAULT   13 error_inprogress\r\n    48: 0000000000403660    11 FUNC    GLOBAL DEFAULT   10 sigterm\r\n    49: 0000000000402754     0 FUNC    GLOBAL DEFAULT  UND accept\r\n    50: 000000000050fc20    40 OBJECT  GLOBAL DEFAULT   20 strnum2\r\n    51: 000000000050d330     4 OBJECT  GLOBAL DEFAULT   13 flagremotehost\r\n    52: 0000000000402764   241 FUNC    GLOBAL DEFAULT  UND SSL_set_bio\r\n    53: 0000000000402774     0 FUNC    GLOBAL DEFAULT  UND write\r\n    54: 000000000050fb98     8 OBJECT  GLOBAL DEFAULT   20 environ\r\n    55: 0000000000402784     0 FUNC    GLOBAL DEFAULT  UND fstat\r\n    56: 000000000050fc48     4 OBJECT  GLOBAL DEFAULT   20 remoteip\r\n    57: 0000000000402794     0 FUNC    GLOBAL DEFAULT  UND bind\r\n    58: 000000000050fc50    16 OBJECT  GLOBAL DEFAULT   20 bspace\r\n    59: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND __deregister_frame_info\r\n    60: 000000000050d388     4 OBJECT  GLOBAL DEFAULT   13 error_nodevice\r\n    61: 00000000004027a4     0 FUNC    GLOBAL DEFAULT  UND setsockopt\r\n    62: 000000000050d3d4     4 OBJECT  GLOBAL DEFAULT   13 sig_pipe\r\n    63: 000000000050fc60     2 OBJECT  GLOBAL DEFAULT   20 localport\r\n    64: 00000000004027b4    65 FUNC    GLOBAL DEFAULT  UND SSL_CTX_set_cipher_list\r\n    65: 000000000050d33c     4 OBJECT  GLOBAL DEFAULT   13 flagkillopts\r\n    66: 000000000050ef70     8 OBJECT  GLOBAL DEFAULT   20 fnrules\r\n    67: 000000000050d300     8 OBJECT  GLOBAL DEFAULT   13 __progname\r\n    68: 0000000000403db0   312 FUNC    GLOBAL DEFAULT   10 sigchld\r\n    69: 000000000050d3a4     4 OBJECT  GLOBAL DEFAULT   13 error_timeout\r\n    70: 000000000050d3ac     4 OBJECT  GLOBAL DEFAULT   13 error_io\r\n    71: 00000000004027c4    13 FUNC    GLOBAL DEFAULT  UND __error\r\n    72: 00000000004027d4     0 FUNC    GLOBAL DEFAULT  UND setgid\r\n    73: 000000000050ef60     4 OBJECT  GLOBAL DEFAULT   20 flag1\r\n    74: 00000000004027e4     0 FUNC    GLOBAL DEFAULT  UND read\r\n    75: 000000000050ef88     8 OBJECT  GLOBAL DEFAULT   20 localhost\r\n    76: 000000000050d348     8 OBJECT  GLOBAL DEFAULT   13 banner\r\n    77: 000000000050d3c8     8 OBJECT  GLOBAL DEFAULT   13 sig_ignorehandler\r\n    78: 00000000004027f4   148 FUNC    GLOBAL DEFAULT  UND SSLv23_server_method\r\n    79: 000000000050d38c     4 OBJECT  GLOBAL DEFAULT   13 error_acces\r\n    80: 000000000050d380     4 OBJECT  GLOBAL DEFAULT   13 error_isdir\r\n    81: 000000000050fb88     8 OBJECT  GLOBAL DEFAULT   20 subgetoptarg\r\n    82: 0000000000402804     0 FUNC    GLOBAL DEFAULT  UND listen\r\n    83: 0000000000402814     0 FUNC    GLOBAL DEFAULT  UND fork\r\n    84: 000000000050f020    16 OBJECT  GLOBAL DEFAULT   20 rules_name\r\n    85: 0000000000402824     0 FUNC    GLOBAL DEFAULT  UND sigaction\r\n    86: 000000000050d3b0     4 OBJECT  GLOBAL DEFAULT   13 error_txtbsy\r\n    87: 0000000000402834     0 FUNC    GLOBAL DEFAULT  UND gettimeofday\r\n    88: 0000000000402844    56 FUNC    GLOBAL DEFAULT  UND SSL_accept\r\n    89: 000000000050eee0     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start\r\n    90: 000000000050d318     8 OBJECT  GLOBAL DEFAULT   13 backlog\r\n    91: 000000000050d3b8     4 OBJECT  GLOBAL DEFAULT   13 error_nomem\r\n    92: 0000000000402854     6 FUNC    GLOBAL DEFAULT  UND _init_tls\r\n    93: 000000000050f140    96 OBJECT  GLOBAL DEFAULT   20 dns_resolve_tx\r\n    94: 000000000050fc62     4 OBJECT  GLOBAL DEFAULT   20 localip\r\n    95: 000000000050d328     8 OBJECT  GLOBAL DEFAULT   13 timeout\r\n    96: 0000000000402864     0 FUNC    GLOBAL DEFAULT  UND ntohs\r\n    97: 0000000000402874     0 FUNC    GLOBAL DEFAULT  UND getppid\r\n    98: 000000000050d3b4     4 OBJECT  GLOBAL DEFAULT   13 error_noent\r\n    99: 0000000000402884     0 FUNC    GLOBAL DEFAULT  UND poll\r\n   100: 000000000050d384     4 OBJECT  GLOBAL DEFAULT   13 error_proto\r\n   101: 000000000040c2fc     0 FUNC    GLOBAL DEFAULT   11 _fini\r\n   102: 0000000000402894   108 FUNC    GLOBAL DEFAULT  UND getservbyname\r\n   103: 00000000004028a4   121 FUNC    GLOBAL DEFAULT  UND gethostname\r\n   104: 000000000050efa4     4 OBJECT  GLOBAL DEFAULT   20 flagparanoid\r\n   105: 00000000004028b4    57 FUNC    GLOBAL DEFAULT  UND atexit\r\n   106: 000000000050d338     4 OBJECT  GLOBAL DEFAULT   13 flagdelay\r\n   107: 00000000004028c4     0 FUNC    GLOBAL DEFAULT  UND getpeername\r\n   108: 000000000050ef78     4 OBJECT  GLOBAL DEFAULT   20 flagallownorules\r\n   109: 000000000050efa0     4 OBJECT  GLOBAL DEFAULT   20 flagssl\r\n   110: 00000000004028d4   543 FUNC    GLOBAL DEFAULT  UND SSL_CTX_use_certificate_c\r\n   111: 000000000050ef90    16 OBJECT  GLOBAL DEFAULT   20 certfile\r\n   112: 000000000050d3bc     4 OBJECT  GLOBAL DEFAULT   13 error_intr\r\n   113: 000000000050fc80    40 OBJECT  GLOBAL DEFAULT   20 strnum\r\n   114: 000000000050d39c     4 OBJECT  GLOBAL DEFAULT   13 error_wouldblock\r\n   115: 000000000050ef68     8 OBJECT  GLOBAL DEFAULT   20 numchildren\r\n   116: 000000000050eee0     0 NOTYPE  GLOBAL DEFAULT  ABS _edata\r\n   117: 000000000050eaa0     0 OBJECT  GLOBAL DEFAULT  ABS _GLOBAL_OFFSET_TABLE_\r\n   118: 0000000000510640     0 NOTYPE  GLOBAL DEFAULT  ABS _end\r\n   119: 000000000050ef7c     4 OBJECT  GLOBAL DEFAULT   20 flagdeny\r\n   120: 00000000004028e4    77 FUNC    GLOBAL DEFAULT  UND exit\r\n   121: 0000000000402da0   160 FUNC    GLOBAL DEFAULT   10 found\r\n   122: 0000000000510620    32 OBJECT  GLOBAL DEFAULT   20 strerr_sys\r\n   123: 000000000050fcb0    20 OBJECT  GLOBAL DEFAULT   20 remoteipstr\r\n   124: 000000000050fcc8     8 OBJECT  GLOBAL DEFAULT   20 conns\r\n   125: 00000000004028f4     0 FUNC    GLOBAL DEFAULT  UND _exit\r\n   126: 000000000050fce0  2048 OBJECT  GLOBAL DEFAULT   20 tbuf\r\n   127: 0000000000402904     0 FUNC    GLOBAL DEFAULT  UND open\r\n   128: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND _Jv_RegisterClasses\r\n   129: 0000000000402914     0 FUNC    GLOBAL DEFAULT  UND fcntl\r\n   130: 000000000050d334     4 OBJECT  GLOBAL DEFAULT   13 flagremoteinfo\r\n   131: 0000000000402924     0 FUNC    GLOBAL DEFAULT  UND setuid\r\n   132: 000000000050fb78     8 OBJECT  GLOBAL DEFAULT   20 sig_defaulthandler\r\n   133: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND __register_frame_info\r\n   134: 0000000000402934     0 FUNC    GLOBAL DEFAULT  UND close\r\n   135: 000000000050d3a8     4 OBJECT  GLOBAL DEFAULT   13 error_exist\r\n   136: 0000000000402944   176 FUNC    GLOBAL DEFAULT  UND SSL_write\r\n   137: 0000000000402954     0 FUNC    GLOBAL DEFAULT  UND sigsuspend\r\n   138: 0000000000402964    35 FUNC    GLOBAL DEFAULT  UND free\r\n   139: 000000000050d3e8     4 OBJECT  GLOBAL DEFAULT   13 subgetoptdone\r\n   140: 00000000005104e0    40 OBJECT  GLOBAL DEFAULT   20 remoteportstr\r\n   141: 0000000000402974    85 FUNC    GLOBAL DEFAULT  UND BIO_new_socket\r\n   142: 0000000000402984     0 FUNC    GLOBAL DEFAULT  UND sigprocmask\r\n   143: 0000000000402994     0 FUNC    GLOBAL DEFAULT  UND getsockname\r\n\r\n&#x5B;root@te-clan ~]# ldd \/usr\/local\/bin\/tcpserver\r\n\/usr\/local\/bin\/tcpserver:\r\n\tlibssl.so.4 =&gt; \/usr\/lib\/libssl.so.4 (0x80064c000)\r\n\tlibc.so.6 =&gt; \/lib\/libc.so.6 (0x800791000)\r\n\tlibcrypto.so.4 =&gt; \/lib\/libcrypto.so.4 (0x8009ed000)\r\n\r\n&#x5B;root@te-clan ~]# pkg_info | grep tcp\r\nucspi-tcp-0.88_2    Command-line tools for building TCP client-server applicati\r\n<\/pre>\n<pre class=\"brush: plain; collapse: true; light: false; title: patch result; toolbar: true; notranslate\" title=\"patch result\">\r\n# patch &lt; ucspi-tcp-0.88-mysql+rss.patch \r\nHmm...  Looks like a unified diff to me...\r\nThe text leading up to this was:\r\n--------------------------\r\n| Additional info regarding this patch can be found at \r\n| http:\/\/www.tnpi.biz\/internet\/mail\/toaster\/patches\/tcpserver-mysql.shtml\r\n| \r\n| v1.2 - 2004.08.01\r\n|\r\n|   same patch, but entirely in unified diff format for folks whose\r\n|   patch program is nit picky.\r\n|\r\n| v1.1 - 2004.05.29\r\n| \r\n| added RBLSMTPD to IPs in MySQL table so that clients that \r\n| have authenticated override any IP blacklists (like SORBS)\r\n| \r\n|\r\n|diff -urN ucspi-tcp-0.88.dist\/Makefile ucspi-tcp-0.88\/Makefile\r\n|--- ucspi-tcp-0.88.dist\/Makefile\tSat Mar 18 10:18:42 2000\r\n|+++ ucspi-tcp-0.88\/Makefile\tMon Aug  2 20:36:50 2004\r\n--------------------------\r\nPatching file Makefile using Plan A...\r\nHunk #1 succeeded at 513.\r\nHunk #2 succeeded at 746.\r\nHmm...  The next patch looks like a unified diff to me...\r\nThe text leading up to this was:\r\n--------------------------\r\n|diff -urN ucspi-tcp-0.88.dist\/conf-cc ucspi-tcp-0.88\/conf-cc\r\n|--- ucspi-tcp-0.88.dist\/conf-cc\tSat Mar 18 10:18:42 2000\r\n|+++ ucspi-tcp-0.88\/conf-cc\tMon Aug  2 20:36:50 2004\r\n--------------------------\r\nPatching file conf-cc using Plan A...\r\nHunk #1 succeeded at 1.\r\nHmm...  The next patch looks like a unified diff to me...\r\nThe text leading up to this was:\r\n--------------------------\r\n|diff -urN ucspi-tcp-0.88.dist\/conf-ld ucspi-tcp-0.88\/conf-ld\r\n|--- ucspi-tcp-0.88.dist\/conf-ld\tSat Mar 18 10:18:42 2000\r\n|+++ ucspi-tcp-0.88\/conf-ld\tMon Aug  2 20:36:50 2004\r\n--------------------------\r\nPatching file conf-ld using Plan A...\r\nHunk #1 succeeded at 1.\r\nHmm...  The next patch looks like a unified diff to me...\r\nThe text leading up to this was:\r\n--------------------------\r\n|diff -urN ucspi-tcp-0.88.dist\/db.c ucspi-tcp-0.88\/db.c\r\n|--- ucspi-tcp-0.88.dist\/db.c\tWed Dec 31 19:00:00 1969\r\n|+++ ucspi-tcp-0.88\/db.c\tMon Aug  2 20:36:50 2004\r\n--------------------------\r\n(Creating file db.c...)\r\nPatching file db.c using Plan A...\r\nHunk #1 succeeded at 1.\r\nHmm...  The next patch looks like a unified diff to me...\r\nThe text leading up to this was:\r\n--------------------------\r\n|diff -urN ucspi-tcp-0.88.dist\/db.h ucspi-tcp-0.88\/db.h\r\n|--- ucspi-tcp-0.88.dist\/db.h\tWed Dec 31 19:00:00 1969\r\n|+++ ucspi-tcp-0.88\/db.h\tMon Aug  2 20:36:50 2004\r\n--------------------------\r\n(Creating file db.h...)\r\nPatching file db.h using Plan A...\r\nHunk #1 succeeded at 1.\r\nHmm...  The next patch looks like a unified diff to me...\r\nThe text leading up to this was:\r\n--------------------------\r\n|diff -urN ucspi-tcp-0.88.dist\/rblsmtpd.c ucspi-tcp-0.88\/rblsmtpd.c\r\n|--- ucspi-tcp-0.88.dist\/rblsmtpd.c\tSat Mar 18 10:18:42 2000\r\n|+++ ucspi-tcp-0.88\/rblsmtpd.c\tMon Aug  2 20:36:50 2004\r\n--------------------------\r\nPatching file rblsmtpd.c using Plan A...\r\nHunk #1 succeeded at 60.\r\nHmm...  The next patch looks like a unified diff to me...\r\nThe text leading up to this was:\r\n--------------------------\r\n|diff -urN ucspi-tcp-0.88.dist\/tcpserver.c ucspi-tcp-0.88\/tcpserver.c\r\n|--- ucspi-tcp-0.88.dist\/tcpserver.c\tSat Mar 18 10:18:42 2000\r\n|+++ ucspi-tcp-0.88\/tcpserver.c\tMon Aug  2 20:36:50 2004\r\n--------------------------\r\nPatching file tcpserver.c using Plan A...\r\nHunk #1 succeeded at 1.\r\nHunk #2 succeeded at 26.\r\nHunk #3 succeeded at 112.\r\nHunk #4 succeeded at 205.\r\nHunk #5 succeeded at 258.\r\nHunk #6 succeeded at 318.\r\nHunk #7 succeeded at 345.\r\nHunk #8 succeeded at 417.\r\nHunk #9 succeeded at 425.\r\ndone\r\n<\/pre>\n<pre class=\"brush: plain; collapse: true; light: false; title: compile error; toolbar: true; notranslate\" title=\"compile error\">\r\ndb.c:4:19: mysql.h: No such file or directory\r\ndb.c:18: error: syntax error before '*' token\r\ndb.c:18: warning: data definition has no type or storage class\r\ndb.c: In function `open_db':\r\ndb.c:32: error: `MYSQL' undeclared (first use in this function)\r\ndb.c:32: error: (Each undeclared identifier is reported only once\r\ndb.c:32: error: for each function it appears in.)\r\ndb.c:32: error: `tmp' undeclared (first use in this function)\r\ndb.c:38: error: syntax error before ')' token\r\ndb.c: In function `check_db':\r\ndb.c:60: error: `MYSQL_RES' undeclared (first use in this function)\r\ndb.c:60: error: `res' undeclared (first use in this function)\r\n*** Error code 1\r\n1 error\r\n===&gt; Compilation failed unexpectedly.\r\nTry to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to\r\nthe maintainer.\r\n*** Error code 1\r\n\r\nStop in \/usr\/ports\/sysutils\/ucspi-tcp.\r\n<\/pre>\n<pre class=\"brush: plain; collapse: true; light: false; title: modified tcpserver; toolbar: true; notranslate\" title=\"modified tcpserver\">\r\n&#x5B;root@te-clan ~]# tcpserver -v\r\ntcpserver: usage: tcpserver &#x5B; -1UXpPhHrRoOdDqQvS ] &#x5B; -c limit ] &#x5B; -x rules.cdb ] &#x5B; -B banner ] &#x5B; -g gid ] &#x5B; -u uid ] &#x5B; -b backlog ] &#x5B; -l localname ] &#x5B; -t timeout ] host port program\r\n\r\n&#x5B;root@te-clan ~]# readelf -s \/usr\/local\/bin\/tcpserver  \r\nSymbol table '.dynsym' contains 155 entries:\r\n   Num:    Value          Size Type    Bind   Vis      Ndx Name\r\n     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND \r\n     1: 00000000004029bc     0 FUNC    GLOBAL DEFAULT  UND strcpy\r\n     2: 00000000004029cc    40 FUNC    GLOBAL DEFAULT  UND waitpid\r\n     3: 000000000050fce0     4 OBJECT  GLOBAL DEFAULT   22 subgetoptpos\r\n     4: 000000000050fd00    32 OBJECT  GLOBAL DEFAULT   22 b\r\n     5: 00000000004029dc    55 FUNC    GLOBAL DEFAULT  UND recv\r\n     6: 00000000004029ec     0 FUNC    GLOBAL DEFAULT  UND connect\r\n     7: 00000000004029fc     8 FUNC    GLOBAL DEFAULT  UND mysql_error@libmysqlclient_15 (2)\r\n     8: 0000000000402a0c    52 FUNC    GLOBAL DEFAULT  UND sigemptyset\r\n     9: 0000000000402a1c   365 FUNC    GLOBAL DEFAULT  UND mysql_store_result@libmysqlclient_15 (2)\r\n    10: 000000000050d400     8 OBJECT  GLOBAL DEFAULT   15 buffer_2\r\n    11: 000000000050d434     4 OBJECT  GLOBAL DEFAULT   15 error_perm\r\n    12: 000000000050fd20    40 OBJECT  GLOBAL DEFAULT   22 localportstr\r\n    13: 000000000050d3b8     8 OBJECT  GLOBAL DEFAULT   15 limit\r\n    14: 0000000000402a2c   458 FUNC    GLOBAL DEFAULT  UND snprintf\r\n    15: 0000000000402a3c     0 FUNC    GLOBAL DEFAULT  UND munmap\r\n    16: 000000000050fe80   256 OBJECT  GLOBAL DEFAULT   22 db_database\r\n    17: 000000000050d430     4 OBJECT  GLOBAL DEFAULT   15 error_pipe\r\n    18: 000000000050ea28     0 OBJECT  GLOBAL DEFAULT  ABS _DYNAMIC\r\n    19: 000000000050fcf0     4 OBJECT  GLOBAL DEFAULT   22 subgetoptproblem\r\n    20: 000000000050f128     8 OBJECT  GLOBAL DEFAULT   22 uid\r\n    21: 000000000050ff80   256 OBJECT  GLOBAL DEFAULT   22 db_password\r\n    22: 0000000000000000     4 OBJECT  GLOBAL DEFAULT  UND errno\r\n    23: 0000000000402a4c     0 FUNC    GLOBAL DEFAULT  UND execve\r\n    24: 0000000000402a5c     0 FUNC    GLOBAL DEFAULT  UND getpid\r\n    25: 0000000000402a6c   506 FUNC    GLOBAL DEFAULT  UND fgets\r\n    26: 000000000050d454     4 OBJECT  GLOBAL DEFAULT   15 sig_child\r\n    27: 000000000050f130     8 OBJECT  GLOBAL DEFAULT   22 gid\r\n    28: 0000000000000000     8 OBJECT  GLOBAL DEFAULT  UND __stderrp\r\n    29: 000000000050fcd0     8 OBJECT  GLOBAL DEFAULT   22 sgetoptprogname\r\n    30: 0000000000402a7c    35 FUNC    GLOBAL DEFAULT  UND malloc\r\n    31: 0000000000510080   256 OBJECT  GLOBAL DEFAULT   22 db_user\r\n    32: 000000000050d398     4 OBJECT  GLOBAL DEFAULT   15 verbosity\r\n    33: 000000000050fd50    20 OBJECT  GLOBAL DEFAULT   22 localipstr\r\n    34: 000000000050d42c     4 OBJECT  GLOBAL DEFAULT   15 error_again\r\n    35: 000000000050f100     8 OBJECT  GLOBAL DEFAULT   22 remotehost\r\n    36: 0000000000402a8c   187 FUNC    GLOBAL DEFAULT  UND mysql_init@libmysqlclient_15 (2)\r\n    37: 0000000000402a9c     0 FUNC    GLOBAL DEFAULT  UND socket\r\n    38: 0000000000402aac     0 FUNC    GLOBAL DEFAULT  UND setgroups\r\n    39: 0000000000510180   256 OBJECT  GLOBAL DEFAULT   22 db_host\r\n    40: 000000000050d464     4 OBJECT  GLOBAL DEFAULT   15 sig_term\r\n    41: 000000000050fd64     2 OBJECT  GLOBAL DEFAULT   22 remoteport\r\n    42: 0000000000402abc    53 FUNC    GLOBAL DEFAULT  UND lseek\r\n    43: 0000000000402acc    99 FUNC    GLOBAL DEFAULT  UND sigaddset\r\n    44: 0000000000402adc    94 FUNC    GLOBAL DEFAULT  UND mmap\r\n    45: 000000000050d470     4 OBJECT  GLOBAL DEFAULT   15 subgetoptind\r\n    46: 000000000050d448     4 OBJECT  GLOBAL DEFAULT   15 sgetopterr\r\n    47: 0000000000402aec    55 FUNC    GLOBAL DEFAULT  UND send\r\n    48: 0000000000402afc  3968 FUNC    GLOBAL DEFAULT  UND mysql_real_connect@libmysqlclient_15 (2)\r\n    49: 0000000000402998     0 FUNC    GLOBAL DEFAULT   10 _init\r\n    50: 000000000050d424     4 OBJECT  GLOBAL DEFAULT   15 error_inprogress\r\n    51: 00000000004039f0    14 FUNC    GLOBAL DEFAULT   12 sigterm\r\n    52: 0000000000402b0c     0 FUNC    GLOBAL DEFAULT  UND accept\r\n    53: 000000000050fd80    40 OBJECT  GLOBAL DEFAULT   22 strnum2\r\n    54: 000000000050d3a8     4 OBJECT  GLOBAL DEFAULT   15 flagremotehost\r\n    55: 000000000050d3d0     4 OBJECT  GLOBAL DEFAULT   15 db_port\r\n    56: 0000000000402b1c     0 FUNC    GLOBAL DEFAULT  UND write\r\n    57: 000000000050fcf8     8 OBJECT  GLOBAL DEFAULT   22 environ\r\n    58: 0000000000402b2c     0 FUNC    GLOBAL DEFAULT  UND fstat\r\n    59: 0000000000402b3c   223 FUNC    GLOBAL DEFAULT  UND fprintf\r\n    60: 000000000050fda8     4 OBJECT  GLOBAL DEFAULT   22 remoteip\r\n    61: 0000000000402b4c     0 FUNC    GLOBAL DEFAULT  UND bind\r\n    62: 000000000050fdb0    16 OBJECT  GLOBAL DEFAULT   22 bspace\r\n    63: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND __deregister_frame_info\r\n    64: 000000000050d43c     4 OBJECT  GLOBAL DEFAULT   15 error_nodevice\r\n    65: 0000000000402b5c     0 FUNC    GLOBAL DEFAULT  UND setsockopt\r\n    66: 000000000050d460     4 OBJECT  GLOBAL DEFAULT   15 sig_pipe\r\n    67: 000000000050fdc0     2 OBJECT  GLOBAL DEFAULT   22 localport\r\n    68: 000000000050f1f0     8 OBJECT  GLOBAL DEFAULT   22 dbh\r\n    69: 000000000050d39c     4 OBJECT  GLOBAL DEFAULT   15 flagkillopts\r\n    70: 000000000050f110     8 OBJECT  GLOBAL DEFAULT   22 fnrules\r\n    71: 000000000050d380     8 OBJECT  GLOBAL DEFAULT   15 __progname\r\n    72: 0000000000403a00   182 FUNC    GLOBAL DEFAULT   12 sigchld\r\n    73: 000000000050d420     4 OBJECT  GLOBAL DEFAULT   15 error_timeout\r\n    74: 0000000000402b6c   136 FUNC    GLOBAL DEFAULT  UND strstr\r\n    75: 000000000050d418     4 OBJECT  GLOBAL DEFAULT   15 error_io\r\n    76: 0000000000402b7c     0 FUNC    GLOBAL DEFAULT  UND setgid\r\n    77: 000000000050f120     4 OBJECT  GLOBAL DEFAULT   22 flag1\r\n    78: 0000000000402b8c     0 FUNC    GLOBAL DEFAULT  UND read\r\n    79: 000000000050f0f8     8 OBJECT  GLOBAL DEFAULT   22 localhost\r\n    80: 000000000050d3c8     8 OBJECT  GLOBAL DEFAULT   15 banner\r\n    81: 0000000000402b9c   143 FUNC    GLOBAL DEFAULT  UND strcasecmp\r\n    82: 000000000050d468     8 OBJECT  GLOBAL DEFAULT   15 sig_ignorehandler\r\n    83: 000000000050d438     4 OBJECT  GLOBAL DEFAULT   15 error_acces\r\n    84: 000000000050d444     4 OBJECT  GLOBAL DEFAULT   15 error_isdir\r\n    85: 0000000000510280     4 OBJECT  GLOBAL DEFAULT   22 pop_timeout\r\n    86: 000000000050fce8     8 OBJECT  GLOBAL DEFAULT   22 subgetoptarg\r\n    87: 0000000000402bac     0 FUNC    GLOBAL DEFAULT  UND listen\r\n    88: 0000000000402bbc   418 FUNC    GLOBAL DEFAULT  UND mysql_close@libmysqlclient_15 (2)\r\n    89: 0000000000402bcc     0 FUNC    GLOBAL DEFAULT  UND fork\r\n    90: 0000000000402bdc   408 FUNC    GLOBAL DEFAULT  UND sscanf\r\n    91: 000000000050f1a0    16 OBJECT  GLOBAL DEFAULT   22 rules_name\r\n    92: 0000000000402bec     0 FUNC    GLOBAL DEFAULT  UND sigaction\r\n    93: 0000000000402bfc   225 FUNC    GLOBAL DEFAULT  UND mysql_free_result@libmysqlclient_15 (2)\r\n    94: 000000000050d414     4 OBJECT  GLOBAL DEFAULT   15 error_txtbsy\r\n    95: 0000000000402c0c     0 FUNC    GLOBAL DEFAULT  UND gettimeofday\r\n    96: 0000000000402c1c   264 FUNC    GLOBAL DEFAULT  UND fopen\r\n    97: 000000000050f088     0 NOTYPE  GLOBAL DEFAULT  ABS __bss_start\r\n    98: 000000000050d3c0     8 OBJECT  GLOBAL DEFAULT   15 backlog\r\n    99: 000000000050d40c     4 OBJECT  GLOBAL DEFAULT   15 error_nomem\r\n   100: 0000000000402c2c     6 FUNC    GLOBAL DEFAULT  UND _init_tls\r\n   101: 000000000050f2c0    96 OBJECT  GLOBAL DEFAULT   22 dns_resolve_tx\r\n   102: 000000000050fdc2     4 OBJECT  GLOBAL DEFAULT   22 localip\r\n   103: 0000000000402c3c   377 FUNC    GLOBAL DEFAULT  UND fclose\r\n   104: 000000000050d3b0     8 OBJECT  GLOBAL DEFAULT   15 timeout\r\n   105: 0000000000402c4c     0 FUNC    GLOBAL DEFAULT  UND ntohs\r\n   106: 0000000000402c5c     0 FUNC    GLOBAL DEFAULT  UND getppid\r\n   107: 000000000050d410     4 OBJECT  GLOBAL DEFAULT   15 error_noent\r\n   108: 0000000000402c6c    15 FUNC    GLOBAL DEFAULT  UND mysql_affected_rows@libmysqlclient_15 (2)\r\n   109: 0000000000402c7c     0 FUNC    GLOBAL DEFAULT  UND poll\r\n   110: 000000000050d440     4 OBJECT  GLOBAL DEFAULT   15 error_proto\r\n   111: 000000000040c3fc     0 FUNC    GLOBAL DEFAULT   13 _fini\r\n   112: 0000000000402c8c    55 FUNC    GLOBAL DEFAULT  UND mysql_query@libmysqlclient_15 (2)\r\n   113: 0000000000402c9c   108 FUNC    GLOBAL DEFAULT  UND getservbyname\r\n   114: 0000000000402cac   121 FUNC    GLOBAL DEFAULT  UND gethostname\r\n   115: 000000000050f0f4     4 OBJECT  GLOBAL DEFAULT   22 flagparanoid\r\n   116: 0000000000402cbc    57 FUNC    GLOBAL DEFAULT  UND atexit\r\n   117: 000000000050d3a0     4 OBJECT  GLOBAL DEFAULT   15 flagdelay\r\n   118: 0000000000402ccc     0 FUNC    GLOBAL DEFAULT  UND getpeername\r\n   119: 000000000050f10c     4 OBJECT  GLOBAL DEFAULT   22 flagallownorules\r\n   120: 00000000005102a0   256 OBJECT  GLOBAL DEFAULT   22 db_table\r\n   121: 000000000050d408     4 OBJECT  GLOBAL DEFAULT   15 error_intr\r\n   122: 000000000050fde0    40 OBJECT  GLOBAL DEFAULT   22 strnum\r\n   123: 000000000050d428     4 OBJECT  GLOBAL DEFAULT   15 error_wouldblock\r\n   124: 0000000000402cdc   216 FUNC    GLOBAL DEFAULT  UND fwrite\r\n   125: 000000000050f118     8 OBJECT  GLOBAL DEFAULT   22 numchildren\r\n   126: 000000000050f088     0 NOTYPE  GLOBAL DEFAULT  ABS _edata\r\n   127: 000000000050ebf0     0 OBJECT  GLOBAL DEFAULT  ABS _GLOBAL_OFFSET_TABLE_\r\n   128: 00000000005104c0     0 NOTYPE  GLOBAL DEFAULT  ABS _end\r\n   129: 000000000050f108     4 OBJECT  GLOBAL DEFAULT   22 flagdeny\r\n   130: 0000000000402cec    77 FUNC    GLOBAL DEFAULT  UND exit\r\n   131: 0000000000403190   145 FUNC    GLOBAL DEFAULT   12 found\r\n   132: 00000000005104a0    32 OBJECT  GLOBAL DEFAULT   22 strerr_sys\r\n   133: 0000000000402cfc    33 FUNC    GLOBAL DEFAULT  UND atoi\r\n   134: 000000000050fe10    20 OBJECT  GLOBAL DEFAULT   22 remoteipstr\r\n   135: 0000000000402d0c   123 FUNC    GLOBAL DEFAULT  UND mysql_ping@libmysqlclient_15 (2)\r\n   136: 0000000000402d1c     0 FUNC    GLOBAL DEFAULT  UND _exit\r\n   137: 0000000000402d2c     0 FUNC    GLOBAL DEFAULT  UND open\r\n   138: 000000000050f0f0     4 OBJECT  GLOBAL DEFAULT   22 usemysql\r\n   139: 0000000000402d3c    81 FUNC    GLOBAL DEFAULT  UND strchr\r\n   140: 0000000000402d4c   149 FUNC    GLOBAL DEFAULT  UND fputs\r\n   141: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND _Jv_RegisterClasses\r\n   142: 0000000000402d5c     0 FUNC    GLOBAL DEFAULT  UND fcntl\r\n   143: 000000000050d3a4     4 OBJECT  GLOBAL DEFAULT   15 flagremoteinfo\r\n   144: 0000000000402d6c     0 FUNC    GLOBAL DEFAULT  UND setuid\r\n   145: 000000000050fcd8     8 OBJECT  GLOBAL DEFAULT   22 sig_defaulthandler\r\n   146: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND __register_frame_info\r\n   147: 0000000000402d7c     0 FUNC    GLOBAL DEFAULT  UND close\r\n   148: 000000000050d41c     4 OBJECT  GLOBAL DEFAULT   15 error_exist\r\n   149: 0000000000402d8c     0 FUNC    GLOBAL DEFAULT  UND sigsuspend\r\n   150: 0000000000402d9c    35 FUNC    GLOBAL DEFAULT  UND free\r\n   151: 000000000050d474     4 OBJECT  GLOBAL DEFAULT   15 subgetoptdone\r\n   152: 000000000050fe40    40 OBJECT  GLOBAL DEFAULT   22 remoteportstr\r\n   153: 0000000000402dac     0 FUNC    GLOBAL DEFAULT  UND sigprocmask\r\n   154: 0000000000402dbc     0 FUNC    GLOBAL DEFAULT  UND getsockname\r\n\r\n&#x5B;root@te-clan ~]# ldd \/usr\/local\/bin\/tcpserver  \r\n\/usr\/local\/bin\/tcpserver:\r\n\tlibmysqlclient.so.15 =&gt; \/usr\/local\/lib\/mysql\/libmysqlclient.so.15 (0x80064c000)\r\n\tlibc.so.6 =&gt; \/lib\/libc.so.6 (0x8007c1000)\r\n\tlibcrypt.so.3 =&gt; \/lib\/libcrypt.so.3 (0x800a1d000)\r\n\tlibm.so.4 =&gt; \/lib\/libm.so.4 (0x800b38000)\r\n\tlibz.so.3 =&gt; \/lib\/libz.so.3 (0x800c60000)\r\n<\/pre>\n<pre class=\"brush: plain; collapse: true; light: false; title: tcpserver accepts client; toolbar: true; notranslate\" title=\"tcpserver accepts client\">\r\n\r\n\/var\/qmail\/service\/smtpd\/log\/main\/current\r\n\r\n@40000000538c4ed3372393e4 tcpserver: status: 1\/200\r\n@40000000538c4ed337326cac db_port set to: &#x5B;3306]\r\n@40000000538c4ed337328034 db_ping() is re-calling open_db!\r\n@40000000538c4ed337e6cc74 tcpserver: pid 74051 from x.x.x.x\r\n@40000000538c4ed337f3fb74 tcpserver: ok 74051 te-clan.ch:195.134.157.20:25 :x.x.x.x::57943\r\n@40000000538c4ed834e148ec tcpserver: end 74051 status 0\r\n@40000000538c4ed834efeeec tcpserver: status: 0\/200\r\n\r\n@40000000538c6b692688577c use mysql=1\r\n@40000000538c6b6926886eec after db_ping(), before check_db()\r\n@40000000538c6b6926888274 QUERY: SELECT timestamp FROM lastauth WHERE remote_ip='x.x.x.x' AND timestamp&gt;(UNIX_TIMESTAMP()-1800)\r\n@40000000538c6b69268899e4 QUERY(err:0\/rows:1): SELECT timestamp FROM lastauth WHERE remote_ip='x.x.x.x' AND timestamp&gt;(UNIX_TIMESTAMP()-1800)\r\n@40000000538c6b692688b154 found entry\r\n@40000000538c6b692688c4dc after check_db(): flagdeny=0\r\n@40000000538c6b692688d864 tcpserver: pid 79280 from 80.218.250.37\r\n@40000000538c6b6926963e14 doit() ip=x.x.x.x, port=55580, host=(null)\r\n@40000000538c6b692696596c doit() before usemysql: flagdeny=0\r\n@40000000538c6b6926966cf4 tcpserver: ok 79280 te-clan.ch:195.134.157.20:25 :x.x.x.x::55580\r\n@40000000538c6b692696807c doit() before exit: flagdeny=0\r\n@40000000538c6b7510181824 tcpserver: end 79280 status 0\r\n@40000000538c6b751026e91c tcpserver: status: 0\/200\r\n<\/pre>\n<h3>Courier IMAP<\/h3>\n<p><a href=\"http:\/\/www.linuxjournal.com\/article\/5917?page=0,0\">Large-Scale Mail with Postfix, OpenLDAP and Courier<\/a><br \/>\n<a href=\"http:\/\/www.lifewithqmail.org\/ldap\/\">Life With qmail-ldap<\/a><\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nCompiling imaplogin.c\r\nimaplogin.c:35:25: courierauth.h: No such file or directory\r\nimaplogin.c:36:30: courierauthdebug.h: No such file or directory\r\n\r\nuse CFLAGS=\/usr\/local\/include\r\n<\/pre>\n<p><a href=\"http:\/\/sourceforge.net\/p\/courier\/mailman\/message\/16822406\/\">Error in make around imaplogin.c<\/a><\/p>\n<p><a href=\"http:\/\/www.gentoo-wiki.info\/Complete_Virtual_Mail_Server\">Gentoo: Complete Virtual Mail Server<\/a><br \/>\n<a href=\"http:\/\/www.courier-mta.org\/authlib\/README.authdebug.html\">Courier MTA: Debugging authentication problems<\/a><\/p>\n<table>\n<tr>\n<td>\n<a href=\"http:\/\/blog.bachi.net\/wp-content\/uploads\/2014\/06\/tbpql.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/blog.bachi.net\/wp-content\/uploads\/2014\/06\/tbpql-207x300.png\" alt=\"tbpql\" width=\"207\" height=\"300\" class=\"alignleft size-medium wp-image-2423\" srcset=\"https:\/\/blog.bachi.net\/wp-content\/uploads\/2014\/06\/tbpql-207x300.png 207w, https:\/\/blog.bachi.net\/wp-content\/uploads\/2014\/06\/tbpql-708x1024.png 708w, https:\/\/blog.bachi.net\/wp-content\/uploads\/2014\/06\/tbpql.png 755w\" sizes=\"auto, (max-width: 207px) 100vw, 207px\" \/><\/a>\n<\/td>\n<\/tr>\n<\/table>\n<h3>Port 587<\/h3>\n<p><a href=\"http:\/\/briansnelson.com\/Setup_Qmail_to_Listen_on_port_587_for_SMTP\">Setup Qmail to Listen on port 587 for SMTP<\/a><br \/>\n<a href=\"http:\/\/www.emailquestions.com\/qmail\/1661-do-i-run-qmail-port-587-a.html\">How do I run qmail on port 587?<\/a><br \/>\n<a href=\"http:\/\/mugurel.sumanariu.ro\/linux\/running-toaster-qmail-smtp-on-a-2nd-port\/\">Running Toaster QMail SMTP on a 2nd port<\/a><br \/>\n<a href=\"http:\/\/www.gossamer-threads.com\/lists\/qmail\/users\/138104\">How to: qmail-smtpd for roaming users<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>DBMail Postfix ClamSMTP AfterLogic WebMail Pro Zimbra amavisd-new spamassassin clamav pigeonhole pigeonhole Database vs. File-System Database based mail server FreeBSD 10: postfix, dovecot, Roundcube, amavisd-new, spamassassin, clamav, pigeonhole migrating_from_qmail_vpopmail_sql Importing mailboxes from vpopmail dbmail + qmail + vpopmail + awk!!! \ud83d\ude42 qmail Life with qmail QMail HOWTO f\u00fcr FreeBSD My Qmail installation guide Installing qmail [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2419","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/2419","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2419"}],"version-history":[{"count":26,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/2419\/revisions"}],"predecessor-version":[{"id":4083,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=\/wp\/v2\/posts\/2419\/revisions\/4083"}],"wp:attachment":[{"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.bachi.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}