Re: [xmail] POP3 UIDL PROBLEM
Oversea Site via xmail wrote on 06/04/2015 04:25 PM: I have over 1 EMAILS but when I test UIDL, Sometimes, it's not sorting by ID. it's a file system -rw-rw-r-- 1 root root30558 Jun 1 04:46 1433105179992.70d12960.34c.3f8be2.bravo -rw-rw-r-- 1 root root 989 Jun 1 05:04 1433106257177.5ace6960.34c.3fafbd..bravo -rw-rw-r-- 1 root root 162486 Jun 1 13:04 1433135071576.71513960.34c.43c7a9.bravo -rw-rw-r-- 1 root root21401 Jun 1 13:47 1433137677235.6fd10960.34c.4428cc.bravo -rw-rw-r-- 1 root root54084 Jun 1 22:24 1433168674933.6ed0e960.34c.48d596.bravo -rw-rw-r-- 1 root root 9112 Jun 2 02:35 1433183738295.6ed0e960.34c.4acc30..bravo -rw-rw-r-- 1 root root 9142 Jun 2 02:35 1433183738434.5f4ef960.34c.4acc39.bravo -rw-rw-r-- 1 root root 5342 Jun 2 03:26 1433186769695.70511960.34c.4b30b7.bravo -rw-rw-r-- 1 root root 1238 Jun 2 04:02 1433188925598.6dd0c960.34c.4b7832.bravo -rw-rw-r-- 1 root root 1020 Jun 2 04:02 1433188949218..69d04960.34c.4b78f7.bravo -rw-rw-r-- 1 root root22474 Jun 2 06:32 1433197934458.6f50f960.34c.4ca2e8.bravo -rw-rw-r-- 1 root root 2615 Jun 2 07:40 1433202046360.59ce4960.34c.4d2b2f.bravo -rw-rw-r-- 1 root root 2678 Jun 2 07:43 1433202184456.4fcd0960.34c.4d2fbe.bravo -rw-rw-r-- 1 root root 3272 Jun 2 08:04 1433203475828.55cdc960.34c.4d5ab8.bravo -rw-rw-r-- 1 root root 2863 Jun 2 08:26 1433204809317.57ce0960.34c.4d8766.bravo -rw-rw-r-- 1 root root41748 Jun 2 11:30 1433215840379.72d16960.34c.4f3bf6.bravo -rw-rw-r-- 1 root root 1857 Jun 2 11:39 1433216376230.73d18960.34c..4f5305.bravo -rw-rw-r-- 1 root root 6157 Jun 2 11:44 1433216684073.71d14960.34c.4f5e9a.bravo -rw-rw-r-- 1 root root 5402 Jun 2 12:55 1433220946062.6f50f960.34c.500170.bravo -rw-rw-r-- 1 root root29790 Jun 2 14:03 1433224988810.70511960.34c.5092ca.bravo -rw-rw-r-- 1 root root10473 Jun 2 22:11 1433254291563.4a4c5960.34c.553526.bravo -rw-rw-r-- 1 root root 1238 Jun 3 04:02 1433275327112.6f50f960.34c.580f59.bravo -rw-rw-r-- 1 root root 1020 Jun 3 04:02 1433275353273.654fb960.34c.581041.bravo -rw-rw-r-- 1 root root 988 Jun 3 05:14 1433279643381.5ecee960.34c.589f69.bravo -rw-rw-r-- 1 root root15235 Jun 3 07:50 1433289052265.614f3960.34c.59db64.bravo -rw-rw-r-- 1 root root 3985615 Jun 3 08:36 1433291762335.49cc4960.34c.5a40b9.bravo -rw-rw-r-- 1 root root30149 Jun 3 14:52 1433314331266.71513960.34c.5dab73.bravo -rw-rw-r-- 1 root root 5382 Jun 3 14:54 1433314498740.6dd0c960.34c.5db2ce.bravo -rw-rw-r-- 1 root root44713 Jun 3 16:55 1433321724856.74d1a960.34c.5ed68c.bravo -rw-rw-r-- 1 root root 110709 Jun 3 17:54 1433325240897.6dd0c960.34c.5f65fa.bravo -rw-rw-r-- 1 root root 322169 Jun 3 18:56 143332954.6e50d960.34c.5fff22.bravo -rw-rw-r-- 1 root root14174 Jun 3 20:57 146272368.6e50d960.34c.610ed5.bravo -rw-rw-r-- 1 root root27877 Jun 4 00:03 1433347390242.7fc51afdd700.bca.152b.bravo -rw-rw-r-- 1 root root 8116 Jun 4 03:06 1433358408984.5c450960.24ad.336b.bravo -rw-rw-r-- 1 root root 9831 Jun 4 14:05 1433397936295.7347e960.24ad.635a7.bravo -rw-rw-r-- 1 root root90604 Jun 4 19:59 1433399979747.5ec55960.24ad.6860d.bravo -rw-rw-r-- 1 root root 2193650 Jun 4 20:00 1433412426056.43c1f960.24ad.8919a.bravo -rw-rw-r-- 1 root root 2783 Jun 4 20:07 1433419665957.6ead6960.649d.6e32.bravo -rw-rw-r-- 1 root root 4651 Jun 4 20:23 1433420596561.73ae0960.649d.90c8.bravo 13873 1433105179992.70d12960.34c.3f8be2.bravo 13874 1433106257177.5ace6960.34c.3fafbd.bravo 13875 1433135071576.71513960.34c.43c7a9.bravo 13876 1433137677235.6fd10960.34c.4428cc.bravo 13877 1433168674933.6ed0e960.34c..48d596.bravo 13878 1433183738295.6ed0e960.34c.4acc30.bravo 13879 1433183738434.5f4ef960.34c.4acc39.bravo 13880 1433186769695.70511960.34c.4b30b7.bravo 13881 1433188925598.6dd0c960.34c.4b7832.bravo 13882 1433188949218.69d04960.34c.4b78f7.bravo 13883 1433197934458.6f50f960.34c.4ca2e8.bravo 13884 1433202046360.59ce4960.34c.4d2b2f.bravo 13885 1433202184456.4fcd0960.34c.4d2fbe.bravo 13886 1433203475828.55cdc960.34c.4d5ab8.bravo 13887 1433204809317.57ce0960.34c.4d8766.bravo 13888 1433215840379.72d16960.34c.4f3bf6.bravo 13889 1433216376230.73d18960.34c.4f5305.bravo 13890 1433216684073.71d14960.34c.4f5e9a.bravo 13891 1433220946062.6f50f960.34c.500170.bravo 13892 1433224988810.70511960.34c.5092ca.bravo 13893 1433254291563.4a4c5960.34c.553526.bravo 13894 1433275327112.6f50f960.34c.580f59.bravo 13895 1433275353273.654fb960.34c.581041.bravo 13896 1433279643381.5ecee960.34c.589f69.bravo 13897 1433289052265.614f3960.34c.59db64.bravo 13898 1433291762335.49cc4960.34c.5a40b9.bravo 13899 1433314331266.71513960.34c.5dab73.bravo 13900 1433314498740.6dd0c960.34c.5db2ce.bravo 13901 1433321724856.74d1a960.34c.5ed68c.bravo 13902 1433325240897.6dd0c960.34c.5f65fa.bravo 13903 143332954.6e50d960.34c.5fff22.bravo 13904 146272368.6e50d960.34c.610ed5.bravo 13905
Re: [xmail] new maintainer for the 1.27 branch
bugs--- via xmail wrote on 06/02/2015 01:31 AM: Hi List, I already made some fixes. See http://www.econtrario.ch/tools/. Maybe you can use them. Yes, it's already on the todo list. Thx. -- cu Uenal ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] BUG : XMAIL 1.27 with SSL
Bart Mortelmans via xmail wrote on 05/26/2015 03:55 PM: It might be difficult to determine if the problem is with XMail or with the client. And even if for example Tencent actually closes the connection incorrectly, it should be better if XMail would be able to handle such an improperly closed connection. But I'm not sure if you'll find somebody in this forum that will be able to fix this problem. Maybe you could try to get K9 developers involved in this? That seems to be managed much more actively than XMail. With a bit of luck, they can at least find out what they are doing differently compared to for example Outlook and that could cause this problem. Regarding FIN_WAIT2: I suspect it is caused by a firewall issue where some FIN's or ACK's are blocked or wrongly filtered out, or the client side doesn't properly close the socket, or some of the sockets it allocates. One really cannot trust any interpreted scripting language many mobiles do use. Using iptables one can diagnose this by logging the FIN's, ACK's. cu Uenal Oversea Site via xmail schreef op 26/05/15 om 15:09: Now I am using original XMAIL-1.27.tar.gz source without simultaneous POP3 logins, no STUNNEL, use NATIVE XMAIL SSL. The problem still exists, K9-MAIL will report IllegalFormatConversonException when I receive more then 100-200 emails. So It should be XMAIL SSL problem. Because When I reuse STUNNEL to do a POP3 tunnel again, the problem will fix. ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] BUG : XMAIL 1.27 with SSL
Oversea Site via xmail wrote on 05/26/2015 03:09 PM: Now I am using original XMAIL-1.27.tar.gz source without simultaneous POP3 logins, no STUNNEL, use NATIVE XMAIL SSL. The problem still exists, K9-MAIL will report IllegalFormatConversonException when I receive more then 100-200 emails. So It should be XMAIL SSL problem. Because When I reuse STUNNEL to do a POP3 tunnel again, the problem will fix. But since you said that no error happens with normal mail-clients (Outlook etc.), then the error must lie in the mobile clients you listed. They seem to not handle properly the closing of the sockets they create. cu Uenal Original Message From: Bart Mortelmans b...@bim.be To: t...@os.st, XMail Users Mailing List xmail@xmailserver.org Sent: Tue, May 26, 2015, 3:13 PM Subject: Re: [xmail] BUG : XMAIL 1.27 with SSL Is there any way for you to test if the problem exists if you don't allow simultaneous POP3 logins? Oversea Site via xmail schreef op 26/05/15 om 08:14: POP3Utils.cpp - ADD POP3 Concurrent Login. I used this function over 5 years.. I don't know C++ programming. Sorry :) } if (pPOPMD-ulFlags POPF_MSG_DELETED) { UPopSendErrorResponse(hBSock, ERR_MSG_DELETED, pPOPSD-iTimeout); ErrSetErrorCode(ERR_MSG_DELETED); return ERR_MSG_DELETED; } UsrGetMailboxPath(pPOPSD-pUI, szMsgFilePath, sizeof(szMsgFilePath), 1); StrNCat(szMsgFilePath, pPOPMD-szMsgName, sizeof(szMsgFilePath)); /* * ADDED CODE START */ FILE *pMsgFile = fopen(szMsgFilePath, rb); if (pMsgFile == NULL) { UPopSendErrorResponse(hBSock, ERR_FILE_OPEN, pPOPSD-iTimeout); ErrSetErrorCode(ERR_FILE_OPEN); return ERR_FILE_OPEN; } fclose(pMsgFile); /* * ADDED CODE END */ SysSNPrintf(szResponse, sizeof(szResponse) - 1, +OK SYS_OFFT_FMT bytes, pPOPMD-llMsgSize); if (BSckSendString(hBSock, szResponse, pPOPSD-iTimeout) 0) return ErrGetErrorCode(); if (pPOPMD-llMsgSize 0 Original Message From: Oversea Site via xmail xmail@xmailserver.org To: XMail Users Mailing List xmail@xmailserver.org Sent: Tue, May 26, 2015, 1:56 PM Subject: Re: [xmail] BUG : XMAIL 1.27 with SSL FEDORA 4 X86_64 GLIBC 2.3.6-3 (I can't upgrade it to the lastest version.. Because I have a chiliasp 3.6.2 32-bit run ASP VBSCRIPT on APACHE 1.3 32-bit software, it need GLIBC 2.3.x and Kernel 2.6) KERNEL 3.3 MOD FROM FC15 (It will display KERNEL 2.6.43 Number). Kernel is not a main problem. Because I have been test 2.6.32 or other. same problem was found. REAL HARDWARE - INTEL B85M i3-4150 16G RAM SATA3 RAID 1 LINUX SOFTRAID1 MDADM Corp. Email System is not heavily use when I test it in HK TIME midnight.. Anyway I will test this issue in other linux distribution in VM, such as CentOS. (You can give me any linux distribution, let's build the same platform in VM. I use virtualbox. [root@bravo logs]# uname -a Linux bravo 2.6.43-gcc402 #3 SMP Sun May 17 23:10:29 HKT 2015 x86_64 x86_64 x86_64 GNU/Linux [root@bravo logs]# [root@bravo logs]# ldd /var/MailRoot/bin/XMail127v3 linux-vdso.so.1 = (0x77f0e000) libssl.so.0.9.8 = /usr/local/ssl/lib/libssl.so.0.9.8 (0x7f43b00bc000) libcrypto.so.0.9.8 = /usr/local/ssl/lib/libcrypto.so.0.9.8 (0x7f43afd35000) libdl.so.2 = /lib64/libdl.so.2 (0x003e1820) libpthread.so.0 = /lib64/libpthread.so.0 (0x003e1860) libstdc++.so.6 = /usr/lib64/libstdc++.so.6 (0x7f43afa37000) libm.so.6 = /lib64/libm.so.6 (0x003e1800) libgcc_s.so.1 = /lib64/libgcc_s.so.1 (0x003e1940) libc.so.6 = /lib64/libc.so.6 (0x003e17d0) /lib64/ld-linux-x86-64.so.2 (0x003e17b0) *** /var/MailRoot/bin/XMail127v3 -Md -Ms /var/MailRoot -Sl -Pl -Cl \ -SI 0.0.0.0:8025 -SI 0.0.0.0:25 \ -PI 0.0.0.0:8110 -PI 0.0.0.0:110 \ -BI 0.0.0.0:995 \ -XI 0.0.0.0:465 \ -Ql -Ln 256 -Pt 60 -St 150 -F- -SX 2048 -Mx 64 \ -Qn 64 -PX 2048 -Qr 1 -Qt 1 -QT 150 -Qg -CX 256 *** Original Message From: U.Mutlu um4...@mutluit.com To: t...@os.st, XMail Users Mailing List xmail@xmailserver.org Sent: Tue, May 26, 2015, 1:06 PM Subject: Re: [xmail] BUG : XMAIL 1.27 with SSL Oversea Site via xmail wrote on 05/26/2015 05:14 AM: No Log Error. No Fatal Error log. No Core Dump It's not RAM or HW problem. It's XMAIL internal issue, because when I switch to stunnel, all problems solved. And then when I test K9-MAIL with XMAIL+STUNNEL, K9 Client will not have any JAVA somethings Exception Error Two tests 1. Very Important Thing in Xmail 1.27 Native SSL If the emailbox has many emails such as 1, Microsoft Outlook with SSL or NON-SSL download them, it WILL NOT have this issue. Some Tencent Foxmail for Windows, after finish ssl session, it will take the server be FIN_WAIT2 (some version, not all) But K9-MAIL for Android, Download first 1000, it will appear the error
Re: [xmail] BUG : XMAIL 1.27 with SSL
U.Mutlu via xmail wrote on 05/26/2015 04:38 PM: Bart Mortelmans via xmail wrote on 05/26/2015 03:55 PM: It might be difficult to determine if the problem is with XMail or with the client. And even if for example Tencent actually closes the connection incorrectly, it should be better if XMail would be able to handle such an improperly closed connection. But I'm not sure if you'll find somebody in this forum that will be able to fix this problem. Maybe you could try to get K9 developers involved in this? That seems to be managed much more actively than XMail. With a bit of luck, they can at least find out what they are doing differently compared to for example Outlook and that could cause this problem. Regarding FIN_WAIT2: I suspect it is caused by a firewall issue where some FIN's or ACK's are blocked or wrongly filtered out, or the client side doesn't properly close the socket, or some of the sockets it allocates. One really cannot trust any interpreted scripting language many mobiles do use. Using iptables one can diagnose this by logging the FIN's, ACK's. cu Uenal Oversea Site via xmail schreef op 26/05/15 om 15:09: Now I am using original XMAIL-1.27.tar.gz source without simultaneous POP3 logins, no STUNNEL, use NATIVE XMAIL SSL. The problem still exists, K9-MAIL will report IllegalFormatConversonException when I receive more then 100-200 emails. So It should be XMAIL SSL problem. Because When I reuse STUNNEL to do a POP3 tunnel again, the problem will fix. One more thought: If an application throws an exception without catching and handling it, like is the case above, then this means that the application is badly programmed. A good application would catch the exception and do what is necessary in that state of of the program. In this case one can simply say the app or part of it just badly crashed; no app should behave so. Exceptions can and must be handled by the app. cu Uenal ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Tip: Speeding up xmail by pointing envvar XMAIL_TEMP to a ramdisk
Bart Mortelmans via xmail wrote on 05/25/2015 02:24 PM: Are you sure this will actually speed up XMail? Have you been able to compare, specifically for XMail? It will help for files xmail creates in /tmp and doesn't move to an other drive (for example when the realtime filters get fired during mail acceptance, the passed file always lies in /tmp). Since a /tmp on a ramdisk is ultra-fast I concluded that this will speed things up. But I'm not sure yet if xmail moves that file to main disk. As far as I understand how XMail processes e-mails, it actually only creates a file one time and then moves that file around between temp-folder, spool folder and local POP3 folders. Moving a file on the same filesystem means the file isn't re-rewritten. If you move a file between different filesystems, it does need to be re-written. That could actually mean that having the temp folder on a RAM-disk might slow things down if there would be an event in which XMail moves a file from spool to temp to local POP3 folder. When they are all on the same filesystem, this would mean the file would need to be written only once (and then moved around). If the temp folder is on a different file-system, this would cause the file to be writting to the hard drive twice and to the RAM-drive once. Hmm. yes, true. But there are use cases where ramdisk will be w/o question useful, for example starting the filter-programs from ramdisk. All mails will not only pass through the temp-folder, but will also end up in the spool-folder. If most mails only pass through the server (and don't need to be stored locally) then you might be able to see a speed improvement by also placing the spool folder on a ramdisk. But this would mean that all mails pending delivery are lost at server restart (so this isn't really recommended). Yes, true, putting spool on ramdisk is not that a good idea :-) cu Uenal Sincerely, Bart Mortelmans U.Mutlu via xmail schreef op 25/05/15 om 01:09: Tip: Speeding up xmail by pointing envvar XMAIL_TEMP to a ramdisk (here on Linux using a 64 MB ramdisk mounted to /mnt/ramdisk ) mkdir -p /mnt/ramdisk in /etc/fstab: tmpfs /mnt/ramdisk tmpfs nodev,size=64M 0 0 then either reboot or use this cmd: mount /mnt/ramdisk in xmail start script: export XMAIL_ROOT=/var/MailRoot export XMAIL_TEMP=/mnt/ramdisk export PATH=$XMAIL_ROOT/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin ... and restart xmail. The ramdisk size should be bigger than MaxMessageSize (unit KB) in server.tab. This will speed up mail processing (at least incoming mails) significantly. Here's more info about speed gains: http://www.jamescoyle.net/knowledge/951-the-difference-between-a-tmpfs-and-ramfs-ram-disk The major benefit to memory based file systems is that they are very fast – 10s of times faster than modern SSDs. Read and write performance is massively increased for all workload types. One can even copy the mostly called programs (for example filters) onto the ramdisk, but then one must use such a PATH line (instead of the above one): export PATH=/mnt/ramdisk:$XMAIL_ROOT/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] BUG : XMAIL 1.27 with SSL
Oversea Site via xmail wrote on 05/25/2015 09:23 PM: I found the bug on XMAIL 1.27 with SSL (POP3S is main), SSMTP service maybe has a same bug too 1. it will have too many FIN_WAIT_2 on POP3S with two many requests, It is because of some non-popular WINDOWS CLIENT e.g. tencent foxmail , outlook will not have this issue. 2. If you're using XMAIL'S internal SSL POP3S with any openssl lib. (tested 0.9.8za 1.0.0, tested gcc 4.0.2/4.0.4/4.3.6) and the email account contain too many emails (1000-2000 emails), the mobile client POP3 such as Samsung internal Email Client is using SSL, K9-MAIL on any android devices using SSL, some iPhone devices (connect with XMAIL SSL port 995), will not download them successfully (Android Error - Java Exception Error) and some iPhone device will stuck with it, it will not download all emails successfully. But if you disable XMAIL'S internal POP3S with -B- startup option, and switch stunnel 5.17 port 995 tunnel to port 110, it will solve this problem and kick out FIN_WAIT_2 * stunnel 5.17 config * [pop3s] accept = 995 connect = 110 cert = /etc/stunnel/stunnel.pem *** What do the logs (server, client) say about the errors? I think you need a faster server HW and/or need to optimize the resources, for example the number of threads, and possibly also RAM. An excerpt from the doc: If you have an heavily loaded server remember to setup the best number of XMAIL threads by specifying the '-Qn nthreads' option (you must do some tentatives to find the best value for your needs). Also you can limit the number of SMTP, POP3 and CTRL service threads by specifying the options '-SX maxthreads', '-PX maxthreads' and '-CX maxthreads'. If there are mail filters, you can put them into a ramdisk and set PATH accordingly, or use an absolute path to them. See also XMAIL_TEMP in the doc. In task manager / system monitor you can see how the resource usage is, especially CPU, memory, and network. -- cu Uenal ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] BUG : XMAIL 1.27 with SSL
U.Mutlu via xmail wrote on 05/26/2015 07:06 AM: Oversea Site via xmail wrote on 05/26/2015 05:14 AM: No Log Error. No Fatal Error log. No Core Dump It's not RAM or HW problem. It's XMAIL internal issue, because when I switch to stunnel, all problems solved. And then when I test K9-MAIL with XMAIL+STUNNEL, K9 Client will not have any JAVA somethings Exception Error Two tests 1. Very Important Thing in Xmail 1.27 Native SSL If the emailbox has many emails such as 1, Microsoft Outlook with SSL or NON-SSL download them, it WILL NOT have this issue. Some Tencent Foxmail for Windows, after finish ssl session, it will take the server be FIN_WAIT2 (some version, not all) But K9-MAIL for Android, Download first 1000, it will appear the error in K9-MAIL randomly. 2. Xmail 1.27 + Stunnel Proxy If the emailbox has many emails such as 1, Microsoft Outlook with SSL or NON-SSL download them, it WILL NOT have this issue. Some Tencent Foxmail for Windows, after finish ssl session, it WILL NOT have any problem. Server WILL NOT TAKE FIN_WAIT_2 K9-MAIL for Android, Download first 1000, it will NOT DISPLAY any error when it finished download emails. I would need full description about the server HW and SW (OS version, xmail start params etc., any xmail patches applied etc.). There is of course also the possibility that the bug lies in the said mobile client program, especially if it goes online via unstable mobile links as it seems to be a link latency problem, or the client does not close the socket cleanly. Take a look at these: https://github.com/Automattic/socket.io/issues/1380 http://stackoverflow.com/questions/5328155/preventing-fin-wait2-when-closing-socket Check this too: # cat /proc/sys/net/ipv4/tcp_fin_timeout 60 The following page is informative too: http://httpd.apache.org/docs/2.0/misc/fin_wait_2.html -- cu Uenal ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] HOWTO quick-testing spamassassin (spamd + spamc) at home
Hi Spros All, this maybe might interest some of you: HOWTO quick-testing spamassassin (spamd + spamc) at home spamd is the daemon program (runs in background) spamc is the client pgm to interact with spamd 1.) install spamassassin pkg (Debian-Linux: apt-get install spamassassin) 2.) enable the spamd daemon (in file /etc/default/spamassassin set ENABLED=1) 3.) start spamd (/etc/init.d/spamassassin start or service spamassassin start depending on your init-system (syvinit/upstart/systemd)) 4.) in your mailclient save a single mail to disk for testing 5.) spamc -R mailfile.eml This gives the result of spam testing Example: $ spamc -R test3.eml -0.5/5.0 Spam detection software, running on the system xx, has NOT identified this incoming email as spam. ... Content analysis details: (-0.5 points, 5.0 required) pts rule name description -- -- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: srpsecure.de] 0.0 TVD_RCVD_SPACE_BRACKET No description available. -0.6 RP_MATCHES_RCVDEnvelope sender domain matches handover relay domain 0.0 T_FRT_CONTACT BODY: ReplaceTags: Contact 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 DC_PNG_UNO_LARGO Message contains a single large inline gif After testing you can stop spamd, deaktive it or uninstall if desired. In real life one would install spamassassin on the mailserver and create a filter to pass the to be checked mail to it, and analyse its return value etc... More info @ http://wiki.apache.org/spamassassin/ cu Uenal Spyros Tsiolis via xmail wrote on 05/24/2015 06:34 PM: I was introduced to XMail by a colleague of mine. At first it seemed cryptic and it still is for some stuff I am interested in. I've been using it since 2003 and never looked back. --- On Sun, 24/5/15, U.Mutlu via xmail xmail@xmailserver.org wrote: Subject: Re: [xmail] new maintainer for the 1.27 branch To: Bart Mortelmans b...@bim.be, XMail Users Mailing List xmail@xmailserver.org Date: Sunday, 24 May, 2015, 19:07 Hi Bart All, Bart Mortelmans via xmail wrote on 05/16/2015 10:27 PM: I have been using XMail for what must have been almost 15 years. I still prefer XMail for anything that does not need IMAP. I have no experience yet with Dovecot, but what does it mean when they say If you already have XMail Setup and just want to add in IMAP support See : dovecot-setup.html on this webpage: http://xmail.nomadcf.com/xmail-dovecot I think what it's trying to say is : if you have already XMail setup for pop3/smtp, all you need is dovecot for lmtp/imap. I have working installations with XMail / dovecot / Horde and it works like a dream. No problems there. That has been for about seven years; Since 2008 I think. I made some small changes to the code. If anybody would be willing to pick up XMail and start development again, I hope that these changes can also get into the new version. If you need more details, let me know! Thx, since Davide is not reachable for a very long time now (3+ yrs?), WOW ! 3 Years ? I know he has a life (no pun intended) apart from his XMail project. I also know he has developed other stuff (see here : http://xmailserver.org/davide.html) but I never expected for him to just abandon XMail. It's a good project. Why would he do this ? I hereby accounce my general interest in bugfixing and adding new features (patches and wishes of users) into the current 1.27 branch, if time permits. I'll also setup an svn repository. There are many nice things one could add to XMail. However I am not a developer and I can only propose stuff. One feature I longed for is the ability to view e-mail traffic in real-time and also XMail be able to log incoming and outgoing messages. The only problem is: at this time I can't support any other OS beyond Linux. will brand the new version something like v1.27.n.linux where n is a counter. - Change the default error message for a failed pre-date or post-data filter to code 451 (by default this would otherwise be 554 which means there won’t be an other attempt). For me 451 makes much more sense. Can you explain how this is meant? Is it the return code of the filter program like discussed here? : http://xmailforum.marketmix.com/index.php?showtopic=3362 - Added basic support for LMTP. That way I can have XMail deliver mails to dovecot directly. For this, I just had to add the LHLO message next to the HELO and EHLO. This works for me, as with my configuration there shouldn’t be any event in which XMail tries to deliver one e
Re: [xmail] new maintainer for the 1.27 branch
Hi Bart All, Bart Mortelmans via xmail wrote on 05/16/2015 10:27 PM: I have been using XMail for what must have been almost 15 years. I still prefer XMail for anything that does not need IMAP. I have no experience yet with Dovecot, but what does it mean when they say If you already have XMail Setup and just want to add in IMAP support See : dovecot-setup.html on this webpage: http://xmail.nomadcf.com/xmail-dovecot I made some small changes to the code. If anybody would be willing to pick up XMail and start development again, I hope that these changes can also get into the new version. If you need more details, let me know! Thx, since Davide is not reachable for a very long time now (3+ yrs?), I hereby accounce my general interest in bugfixing and adding new features (patches and wishes of users) into the current 1.27 branch, if time permits. I'll also setup an svn repository. The only problem is: at this time I can't support any other OS beyond Linux. I will brand the new version something like v1.27.n.linux where n is a counter. - Change the default error message for a failed pre-date or post-data filter to code 451 (by default this would otherwise be 554 which means there won’t be an other attempt). For me 451 makes much more sense. Can you explain how this is meant? Is it the return code of the filter program like discussed here? : http://xmailforum.marketmix.com/index.php?showtopic=3362 - Added basic support for LMTP. That way I can have XMail deliver mails to dovecot directly. For this, I just had to add the LHLO message next to the HELO and EHLO. This works for me, as with my configuration there shouldn’t be any event in which XMail tries to deliver one e-mail to multiple recipients via LTMP. I’m not sure if there might be other configurations for which more work would be needed for LMTP to work. This sounds not trivial :-) I must admit I have no experience yet with LMTP, but I saw wikipedia has a page about it: https://en.wikipedia.org/wiki/Local_Mail_Transfer_Protocol https://tools.ietf.org/html/rfc2033 - Made XMail log a line to SMAIL log in case of delivery failure (posted details on this in an e-mail to this mailing list very recently). Yeah, I would need that feature too. I recently added this feature into xmail: spamassassin (spamd via spamc) reports, with default config, to every mail received by xmail the following bad score of 1.3: 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS After much research and experimenting I figured out what the reason is: it is the Received: line xmail prepends to the mail depending on ReceivedHdrType in server.tab. There are choices from 0 to 4, and I added one more (5), and now spamassassin no more gives the above spam-score. If anybody is taking feature requests: I would be interested in a way of XMail talking to a “filter” via a socket. Now, for every e-mail to be filtered, a process has to be started. It would be much more efficient if XMail could talk a filter-server via a socket. That filter server could be anything, but maybe we could even get it to talk directly to spamd and clamd… Yes, that's a good idea. I'll study the xmail sources. -- Thx Uenal ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] Tip: Speeding up xmail by pointing envvar XMAIL_TEMP to a ramdisk
Tip: Speeding up xmail by pointing envvar XMAIL_TEMP to a ramdisk (here on Linux using a 64 MB ramdisk mounted to /mnt/ramdisk ) mkdir -p /mnt/ramdisk in /etc/fstab: tmpfs /mnt/ramdisk tmpfs nodev,size=64M 0 0 then either reboot or use this cmd: mount /mnt/ramdisk in xmail start script: export XMAIL_ROOT=/var/MailRoot export XMAIL_TEMP=/mnt/ramdisk export PATH=$XMAIL_ROOT/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin ... and restart xmail. The ramdisk size should be bigger than MaxMessageSize (unit KB) in server.tab. This will speed up mail processing (at least incoming mails) significantly. Here's more info about speed gains: http://www.jamescoyle.net/knowledge/951-the-difference-between-a-tmpfs-and-ramfs-ram-disk The major benefit to memory based file systems is that they are very fast – 10s of times faster than modern SSDs. Read and write performance is massively increased for all workload types. One can even copy the mostly called programs (for example filters) onto the ramdisk, but then one must use such a PATH line (instead of the above one): export PATH=/mnt/ramdisk:$XMAIL_ROOT/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin -- cu Uenal ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] thx to xmail and its author
Hi folks, I'm using xmail for a long time now (maybe 7 yrs), and I'm still very satisfied with it. OTOH I must admit I'm using it only for a small number of users, and I've used (before xmail) only one other mail-system (it was qmail iirc). I'm using a self-compiled version of xmail (the crippled version in the debian repository I tried about 2 yrs ago was unusable due to cfg-files spread around to many OS-system dirs; I like it compact under a single app-dir and its subdirs). The only thing I don't like much is the usage of TAB as delimiter in the cfg-files. What I would like to ask is: - What are the shortcomings or missing features other users experience with xmail? - What about the new developments regarding ssl and crypto since Snowden, and their relevance to xmail? - What new features should xmail have implemented? -- Thx Uenal ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] non-delivered mails not listed in the logs
Hi, anybody left here? :-) Can anybody confirm this? : It seems xmail does not make a log entry for a non-deliverable mail. Though it sends an error mail to the sender (Subject Error sending message ...). This is not optimal, since the mail admin should have the possibility to inform himself about such problems from the logs. Thx ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] xmail bug: filter return codes wrong
Hi Edinilson, thanks for the info. I must have mixed up the SMTP filters with the other filters. The xmail documentation is unfortunately a little bit wild, it better should be grouped into real sections, and numbered with section and paragraph numbers for easier reading and referencing. BTW, does anybody know anything about the whereabouts of the xmail author, Davide? I haven't seen any posting from him here for more than a year, I think. cu uenal Edinilson - ATINET wrote, On 05/24/2013 09:29 PM: I think that you are missing some points about filters. Inside mailroot you will find 2 files: filters.in.tab filters.out.tab for example, in filters.in.tab put something like: * *@YOUR-DOMAIN 0.0.0.0/0 0.0.0.0/0 YOUR-DOMAIN.tab After that, you must create a file inside FILTERS dir called: YOUR-DOMAIN.tab So, inside FILTERS\YOUR-DOMAIN.TAB: you must point to your script, etc, etc README.TXT will help you with this. Edinilson -- ATINET Tel Voz: (0xx11) 4412-0876 http://www.atinet.com.br - Original Message - From: U.Mutlu um4...@mutluit.com To: XMail Users Mailing List xmail@xmailserver.org Sent: Friday, May 24, 2013 10:18 AM Subject: Re: [xmail] xmail bug: filter return codes wrong There is only one flag value, 16, it's optional and means to stop processing any further filters in the chain, ie. an early-break signal. I mainly mean the SMPT message filters. Are the return values 4, 5, 6 (plus +16 to them) not used with this? As said, in my installation (original v1.27) only 0, 3, and 0+16=16, 3+16=19 is working. I yesterday tried a filterpgm in filters.out.tab, but it never was called, not even when mail is destined to a remote server. When does such a filter normally fire? And: there is in the MailRoot dir also an empty subdirector named filters. What is it for? Thx Edinilson - ATINET wrote, On 05/24/2013 02:35 PM: Which kind of filter are you asking: MESSAGE FILTERS or SMTP MESSAGE FILTERS ? Remember that yout must ADD some flags values. There are some examples in readme.txt Here I have a filter that add 4 + 16 and returns this value. It´s working fine for years. Regards Edinilson -- ATINET Tel Voz: (0xx11) 4412-0876 http://www.atinet.com.br - Original Message - From: U.Mutlu um4...@mutluit.com To: xmail@xmailserver.org Sent: Thursday, May 23, 2013 12:54 PM Subject: [xmail] xmail bug: filter return codes wrong The xmail documentation says: If this filters returns '4, 5 or 6' the message is rejected and is stopped in its travel. If the filter modifies the message it must return '7'. But, this info seems to be totally wrong, as only 0 and 3 is working (plus adding 16 to it for stopping processing other filters). What happened to xmail? Anybody know if modifying the mail within a filter is (still) possible in v1.27 ? ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] Preventing deleting of messages on the server when fetching by mail client
Hi, is it possible with xmail to have a mailbox where the content cannot be deleted by the user via his mail reader? This is to allow multiple users to share the same mailbox, a kind of collaboration. When one user fetches the (new) mails with his mail client then normally the message gets removed from the server, but in this case that shall not happen. Is this possible by doing it on the server only (which setting?), as one can't rely on mail client settings. Thx ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] user permission RA
Yes, it seems that was it! After restarting xmail it worked as advertised :-) Edinilson - ATINET wrote, On 05/24/2013 09:30 PM: How are you dealing with XMail´s files? Be careful because some files are indexed and you CAN´T edit them directly. Edinilson -- ATINET Tel Voz: (0xx11) 4412-0876 http://www.atinet.com.br - Original Message - From: U.Mutlu um4...@mutluit.com To: XMail Users Mailing List xmail@xmailserver.org Sent: Friday, May 24, 2013 10:22 AM Subject: Re: [xmail] user permission RA I added a test user with just R permission, but that user still could post to the mailing list. I just wonder what I'm doing wrong... :-) ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] xmail bug: filter return codes wrong
There is only one flag value, 16, it's optional and means to stop processing any further filters in the chain, ie. an early-break signal. I mainly mean the SMPT message filters. Are the return values 4, 5, 6 (plus +16 to them) not used with this? As said, in my installation (original v1.27) only 0, 3, and 0+16=16, 3+16=19 is working. I yesterday tried a filterpgm in filters.out.tab, but it never was called, not even when mail is destined to a remote server. When does such a filter normally fire? And: there is in the MailRoot dir also an empty subdirector named filters. What is it for? Thx Edinilson - ATINET wrote, On 05/24/2013 02:35 PM: Which kind of filter are you asking: MESSAGE FILTERS or SMTP MESSAGE FILTERS ? Remember that yout must ADD some flags values. There are some examples in readme.txt Here I have a filter that add 4 + 16 and returns this value. It´s working fine for years. Regards Edinilson -- ATINET Tel Voz: (0xx11) 4412-0876 http://www.atinet.com.br - Original Message - From: U.Mutlu um4...@mutluit.com To: xmail@xmailserver.org Sent: Thursday, May 23, 2013 12:54 PM Subject: [xmail] xmail bug: filter return codes wrong The xmail documentation says: If this filters returns '4, 5 or 6' the message is rejected and is stopped in its travel. If the filter modifies the message it must return '7'. But, this info seems to be totally wrong, as only 0 and 3 is working (plus adding 16 to it for stopping processing other filters). What happened to xmail? Anybody know if modifying the mail within a filter is (still) possible in v1.27 ? ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] user permission RA
I added a test user with just R permission, but that user still could post to the mailing list. I just wonder what I'm doing wrong... :-) Edinilson - ATINET wrote, On 05/24/2013 02:26 PM: From readme.txt: MLUSERS.TAB If the user is a mailing list this file must exist inside the user account subdirectory and contain a list of users subscribed to this list. The file format is: user[TAB]perms[NEWLINE] where: user subscriber email address. perms subscriber permissions: R read. W write (check done using the 'MAIL FROM:...' SMTP return path). A write (check done using the email address used for SMTP authentication). Example: davi...@xmailserver.org RW ghostu...@nightmare.net R meawm...@kitty.cat RA Edinilson -- ATINET Tel Voz: (0xx11) 4412-0876 http://www.atinet.com.br - Original Message - From: U.Mutlu um4...@mutluit.com To: xmail@xmailserver.org Sent: Thursday, May 23, 2013 6:41 AM Subject: [xmail] user permission RA Hi, does anybody know what the RA user permission means? This is when adding a 'mailing list user' with CtrlClnt mluseradd. ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] user permission RA
Hi, does anybody know what the RA user permission means? This is when adding a 'mailing list user' with CtrlClnt mluseradd. ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] xmail bug: filter return codes wrong
The xmail documentation says: If this filters returns '4, 5 or 6' the message is rejected and is stopped in its travel. If the filter modifies the message it must return '7'. But, this info seems to be totally wrong, as only 0 and 3 is working (plus adding 16 to it for stopping processing other filters). What happened to xmail? Anybody know if modifying the mail within a filter is (still) possible in v1.27 ? ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] SPF update?
Too bad xmail doesn't have natively spf-support yet, many other mailers do: http://www.openspf.org/Implementations Here's a description of my solution of SPF with xmail: I tried to use the xm-spf.pl, but perl reported some errors about a missing component or so. Then I found a package named spfquery in the Debian repository, it's an executable (or maybe just a perl script?). So I managed to write a small filter programm (for filters.pre-data.tab) in C/C++, and from within that I'm calling the spfquery program with the right parameters. This works well. I can recommend it. It needs just 3 parameters (all supplied by xmail to the filter), like so: spfquery --ip=x.x.x.x --mfrom=u...@example.com --helo=hostname.com and returns a few lines where the first is the status, like pass, fail, softfail etc. For more info one should consult the man page of spfquery. But: one has to do some reformatting of the params, for example stripping off the braces from the ip [x.x.x.x] And here is an spf tester: http://www.kitterman.com/spf/validate.html Hope this info helps others wanting to add SPF-protection to their xmail server. But beware: this stuff is IMHO very advanced stuff, one needs some experience with DNS records, and some experience in writing a filter, ie. programming. So, my advice: if possible just hire someone who already has experience in this stuff and xmail. cu uenal Edinilson - ATINET wrote, On 05/21/2013 09:26 PM: Below a message from Davide about SPF: -- On Thu, 29 Jan 2009, Ralf wrote: I'm trying to switch from qmail to xmail. There I had SPF activated and would like to use SPF also in xmail. I saw that there is a perl script for SPF (http://www.xmailserver.org/xm-spf.pl), but how do I integrate it into xmail? Suggestion. Leave SPF alone. Nobody is using it and its contribution on SPAM-cutting on my servers was totally irrelevant WRT greylisting and RBLs. The whole SPF project tanked, badly. - Davide -- Edinilson -- ATINET Tel Voz: (0xx11) 4412-0876 http://www.atinet.com.br - Original Message - From: U.Mutlu um4...@mutluit.com To: xmail@xmailserver.org Sent: Sunday, May 19, 2013 4:31 PM Subject: [xmail] SPF update? Hi Davide All, just a question: does the SPF script (xm-spf.pl) cover the final SPFv1 specification (RFC 4408) as depicted here: http://www.openspf.org/Specifications The script is from the year 2004, but the above RFC was ratified in 2006. Can something go wrong when the script is used nowadays? Thx ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] SPF update?
Hi Davide All, just a question: does the SPF script (xm-spf.pl) cover the final SPFv1 specification (RFC 4408) as depicted here: http://www.openspf.org/Specifications The script is from the year 2004, but the above RFC was ratified in 2006. Can something go wrong when the script is used nowadays? Thx ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Email auto add in SPAM-ADDRESS.TAB and SPAMMERS.TAB
Hello, see these links: Linux file access monitoring: http://unix.stackexchange.com/questions/12247/linux-file-access-monitoring inotify-tools: https://github.com/rvoicilas/inotify-tools/wiki Use kfsmd to keep track of changes in your filesystems http://archive09.linux.com/feature/124903 Besides this, you as an admin must know about all the software that is installed on your system and is always running, or is running via a schedule (ie. crontab). It seems you have an addon-tool installed that does spam-filtering, maybe a webmail addon with such spam filtering capabilities, or xmail filters -- check the contents of filters.*.tab files in your xmail directory (/var/MailRoot or somewhere else like /etc/xmail; see of course also the docs of the xmail distribution for your system, maybe there are 2 sets of xmail config files on your system?... :-). You should also post information about your OS, the xmail distro you use, start params / start-script, which addons or filters are installed etc. Another possibility: maybe you have given a user access to your system, and he/she is editing the spammers.tab file, thinking it is an individual cfg file... ciao uenal Rittikorn L. wrote, On 04/25/2013 01:11 PM: Hi Edinilson Yes, It no any script on server, for you monitoring it have any kind of tool to monitoring process too? I mean it possible to know what process or service take action? Best Regards, Rittikorn L. -Original message- *From:* Edinilson - ATINET edinil...@atinet.com.br *Sent:* Thu 25-04-2013 01:30 *Subject:* Re: [xmail] Email auto add in SPAM-ADDRESS.TAB and SPAMMERS.TAB *To:* XMail Users Mailing List xmail@xmailserver.org; Are you sure that no anti-spam or some script is running in your server? Xmail, by default, doesn´t add entries in theses files automatically. Try to monitor these files with something like: http://www.ihaveapc.com/2011/11/how-to-monitor-file-system-changes-in-linux-in-real-time/ to see which process is adding these entries. Regards Edinilson -- ATINET Tel Voz: (0xx11) 4412-0876 http://www.atinet.com.br - Original Message - From: Rittikorn L. rittik...@ttni.co.th To: xmail@xmailserver.org Sent: Wednesday, April 24, 2013 7:20 AM Subject: [xmail] Email auto add in SPAM-ADDRESS.TAB and SPAMMERS.TAB Hi I found the strange problem, users said cannot send any email and I found user email address register in spam-address.tab but I surely no one add it by manual this problem occur two time but difference email address. it same case in spammers.tab, some time found IP Address register in spammers.tab Please help to advise. It can add automatic by XMail? OS: CentOS XMail v.1.27 No SPAM fitter software install Regards, Rittikorn L. ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Outbind
Try this: http://www.mail-archive.com/xmail@xmailserver.org/msg14305.html Hal Dell wrote, On 04/11/2013 08:38 PM: Hello... I have recently performed a new installation of xMail 1.27 onto a Windows Server 2008 R2 X64 configuration. The Server has two IPs 64..XXX.XXX.230 and 64.XXX.XXX.229. I am trying to force xMail to use 64.XXX.XXX.230 for all outbound eMails. I've looked an OLD server.tab that I have PLUS I look at the docs several times at: www.xmailserver.org/Readme.html#server_tab http://www.xmailserver.org/Readme.html#server_tab and www.xmailserver.org/Readme.html#smtp_gateway_configuration http://www.xmailserver.org/Readme.html#smtp_gateway_configuration. After which I added a line in sever.tab like: SmtpGwConfig OutBind=64.74.149.230 It appears to NOT be working when I perform a telent test and review the received eMail -- its still coming from the default IP 64.XXX.XXX.229.. Do I need to add some privledge to the service enable this or am I missing something else? The service is running with LSA! Any help would be appreciated. Thanks, Hal Dell ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] DbgFix: Mail loop detected
Hi, no, SmartDNSHost is not enabled in server.tab. Edinilson - ATINET wrote, On 10/15/2012 07:58 PM: Are you using SmartDNSHost in server.tab? If so, is SmartDNSHost pointing to the same server that you had issued the command: dig embarqnow.net MX ? Regards Edinilson -- ATINET Tel Voz: (0xx11) 4412-0876 http://www.atinet.com.br ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] DbgFix: Mail loop detected
Just wanted to share a debug session to trace down a Mail loop detected situation: A bounce mail with reason Mail loop detected is generated under this circumstance: if it takes too many steps (operations) to get the first MX record (or the final A record when MX is missing after trying all) of the recipient domain than what is defined in server.tab under MaxMTAOps 16 For example: I had a mail to an address xx...@embarqnow.net and got that error because that domain has many nameservers and a depth of 3 levels to finally get the MX record, but the number of steps to get to the MX exceeds the above defined 16 ... # # dig embarqnow.net any ; DiG 9.8.1-P1 embarqnow.net any ;; global options: +cmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 41501 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 13, ADDITIONAL: 13 ;; QUESTION SECTION: ;embarqnow.net. IN ANY ;; ANSWER SECTION: embarqnow.net. 39916 IN A 64.45.201.2 ;; AUTHORITY SECTION: net.62167 IN NS f.gtld-servers.net. net.62167 IN NS d.gtld-servers.net. net.62167 IN NS b.gtld-servers.net. net.62167 IN NS i.gtld-servers.net. net.62167 IN NS g.gtld-servers.net. net.62167 IN NS k.gtld-servers.net. net.62167 IN NS a.gtld-servers.net. net.62167 IN NS e.gtld-servers.net. net.62167 IN NS j.gtld-servers.net. net.62167 IN NS c.gtld-servers.net. net.62167 IN NS l.gtld-servers.net. net.62167 IN NS m.gtld-servers.net. net.62167 IN NS h.gtld-servers.net. ;; ADDITIONAL SECTION: a.gtld-servers.net. 22812 IN A 192.5.6.30 a.gtld-servers.net. 120523 IN 2001:503:a83e::2:30 b.gtld-servers.net. 2525IN A 192.33.14.30 b.gtld-servers.net. 9837IN 2001:503:231d::2:30 c.gtld-servers.net. 11423 IN A 192.26.92.30 d.gtld-servers.net. 79977 IN A 192.31.80.30 e.gtld-servers.net. 119385 IN A 192.12.94.30 f.gtld-servers.net. 70410 IN A 192.35.51.30 g.gtld-servers.net. 23788 IN A 192.42.93.30 h.gtld-servers.net. 23957 IN A 192.54.112.30 j.gtld-servers.net. 23958 IN A 192.48.79.30 l.gtld-servers.net. 22980 IN A 192.41.162.30 m.gtld-servers.net. 25511 IN A 192.55.83.30 ;; Query time: 5 msec ;; WHEN: Fri Oct 12 16:20:56 2012 ;; MSG SIZE rcvd: 500 # And picking one of the nameservers gives: # dig @b.gtld-servers.net embarqnow.net any ; DiG 9.8.1-P1 @b.gtld-servers.net embarqnow.net any ; (1 server found) ;; global options: +cmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 7771 ;; flags: qr rd; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 2 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;embarqnow.net. IN ANY ;; AUTHORITY SECTION: embarqnow.net. 172800 IN NS ns1.embarqservices.net. embarqnow.net. 172800 IN NS ns2.embarqservices.net. ;; ADDITIONAL SECTION: ns1.embarqservices.net. 172800 IN A 138.210.81.3 ns2.embarqservices.net. 172800 IN A 64.45.205.2 ;; Query time: 97 msec ;; WHEN: Fri Oct 12 16:29:17 2012 ;; MSG SIZE rcvd: 114 # And continuing: # dig @ns1.embarqservices.net embarqnow.net any ; DiG 9.8.1-P1 @ns1.embarqservices.net embarqnow.net any ; (1 server found) ;; global options: +cmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 61425 ;; flags: qr aa rd; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 3 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;embarqnow.net. IN ANY ;; ANSWER SECTION: embarqnow.net. 86400 IN SOA ns1.embarqservices.net. dns-admin.embarqservices.net. 2011070100 10800 3600 604800 86400 embarqnow.net. 86400 IN NS ns2.embarqservices.net. embarqnow.net. 86400 IN NS ns1.embarqservices.net. embarqnow.net. 86400 IN MX 10 localhost.embarqnow.net. embarqnow.net. 86400 IN A 64.45.201.2 ;; ADDITIONAL SECTION: ns1.embarqservices.net. 10800 IN A 138.210.81.3 ns2.embarqservices.net. 10800 IN A 64.45.205.2 localhost.embarqnow.net. 86400 IN A 127.0.0.1 ;; Query time: 130 msec ;; WHEN: Fri Oct 12 16:30:11 2012 ;; MSG SIZE rcvd: 218
[xmail] Feature request: counterpart to spam-address.tab (ie. a whitelist)
Hi, a counterpart to spam-address.tab would be nice, ie. a whitelist, with precedence over spam-address.tab. Then one could do such things like that: spam-address.tab: *@baddomain.com spam-address-whitelist.tab: ab...@baddomain.com Ie. reject all mails from baddomain.com except from ab...@baddomain.com (ie. in this case let replies from their abuse address pass thru; ie. the replies to our complaint mails (abuse reports) sent to them because of spam) :-) ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] reflecting config file changes
Does xmail have a reload option to just reload its config files into memory without stopping/restarting the program? Which of the config files (ie. the *.tab files) do not require a restart/reload after modifying the file? (using xmail 1.27 src distro on linux) ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] xmail logging of start/stop times
Hi, does xmail write its start and stop times to a log file? Which switch is used for that and which log file is it? ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Filter on 'Subject' line
Simply write a filter script or program, and register it in XMail, see filters in the doc; or consult a programmer to do it for you. Gary Bainbridge wrote, On 2011-12-20 17:01: My ISP has changed its spam detection policy, such that instead of diverting incoming spam to a different mailbox, it now simply adds the word 'SPAM:' to the header. At present I can filter on this basis within my email client, but for various reasons it would be better to do this within Xmail. Is there any way within Xmail to detect this addition to the subject line and use it to divert the email to a 'spam bucket' address. I can't see any reference to the subject line within the Xmail documentation. It's worth mentioning that I have Xmail running on an ARM based server so I can't make use of any external x86 programs. Gary. ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail