Re: [xmail] Possible bug and suggestion
On 26/09/12 15.10, Edinilson - ATINET wrote: Francesco, using nslookup or dig, how can I simulate a name resolution using this kind of dns name? I´ve tried: nslookup -type=MX university.ac.uk? MY-DNS-SERVER and dig university.ac.uk? without success. ps: Even nslookup -type=MX university.ac.uk MY-DNS-SERVER can´t find the correct address. In fact it is not a correct address. IMHO, the bug is in the syntax check, not in name resolution and the suggestion is, XMail should detect this as a syntax error without even trying DNS resolution. Well, I realize this makes two posts after my supposedly last one :-) Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] Possible bug and suggestion
Hi all, I don't think that XMail is still being developed and maintained. But, just in case: a user of mine sent an email to first.l...@university.ac.uk? (note the trailing question mark). XMail tried to deliver and failed for the following reason: ErrCode = -109 SMTP-Error = Unable to get UDP DNS response Since I don't think the address should have passed the syntax check, I googled a bit and found that the address is RFC5322 compliant (http://tools.ietf.org/html/rfc5322#section-3.4.1) but contains domain characters that are not allowed by DNS. Section 3.4.1 says that Note: A liberal syntax for the domain portion of addr-spec is given here. However, the domain portion contains addressing information specified by and used in other protocols (e.g., [RFC1034], [RFC1035], [RFC1123], [RFC5321]). It is therefore incumbent upon implementations to conform to the syntax of addresses for the context in which they are used. So, I think in general XMail should not accept such addresses (and, more generally, the reference for syntax check should be RFC5321 more than RFC5322). Final note: this may be my last message on the list; my server will close in a few days, and that will be the end of my (very good) experience with XMail. I leave the suggestion to anybody willing to keep XMail alive. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Possible bug and suggestion
On 25/09/12 22.01, Edinilson - ATINET wrote: Francesco, even using SmartDNSHost will this error be returned? I use SmartDNSHost ps: Could I try to send a message to first.last@... ? Yes, you can use a fake email b/c the trailing ? will screw things up anyway. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Filters help
At 11.55 13/04/11, you wrote: How can I debug filters operations? You can try running XMail with command line switches --debug -Md -Qg -Md enables verbose output on the console, including filters operations -Qg is supposed to enable filters logging (undocumented) Back in 2005, a helpful user posted this info http://www.mail-archive.com/xmail@xmailserver.org/msg12190.html on the format of filters logs. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] IMAP clients resulting overcuota
At 19.43 02/04/11, you wrote: However, the behavior of my installation of xmail imap customer does not match the one described in your inbox. /var/MailRoot/domains/mydomain/account/Maildir/cur /var/MailRoot/domains/mydomain/account/Maildir/new /var/MailRoot/domains/mydomain/account/Maildir/tmp That/s the Maildir directory structure (default on *nix but you can change that). The mailbox size that counts for XMail is reported by the POP3 STAT command (if you are using XMail as a POP3 server), which in my case is the size of the mailbox subdir, in your case, I think, of Maildir/new. But I think the quota you are referring to is that reported/enforced by the IMAP server, not XMail. If so, you may want to check the configuration of the IMAP server rather than XMail. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] IMAP clients resulting overcuota
At 21.15 01/04/11, you wrote: Recently, the directors of a company that uses a mail server XMail have purchased IPhone terminals, which have set up to manage their mailboxes through the IMAP protocol. This configuration has led to the creation of a folder Deleted Messages and Sent Messages in addition to the folders that normally exists. These new folders are used by the iPhone to save a copy of sent messages and deleted messages. I've been checking the account settings in the iPhone to indicate that leaves no copy on the server or sent items or deleted items but I have not found any option that allows it. This is causing me to reach their mailbox quota limit. Not sure that I understand your problem, but I'm running XMail on Windows, with a mailbox directory structure, together with a webmail client that creates its own folders for sent messages, deleted messages etc, like this: $MAIL_ROOT/domains/domain/user/mailbox $MAIL_ROOT/domains/domain/user/Sent $MAIL_ROOT/domains/domain/user/Trash etc. XMail totally ignores folders other than mailbox and only counts messages in mailbox for purposes of enforcing the quota limit. If the IPhone behaves like my webmail client, this should create no quota-related problems. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] 5xx errors in SMAIL log
At 04.12 06/01/11, you wrote: Alternatively, XMail should take care of escaping leading dots when doing SMTP delivery of files picked up by LMAIL. You are right. Either SendMail.cpp should do it, or XMail. Davide wait a moment ... I quickly looked at the source and sent a couple of test messages, and it looks like XMail: - does not unescape leading dots when receiving from SMTP client - does not escape leading dots when sending to POP3 client - stores messages in mailbox with leading dots escaped If so, the only thing to change is to have the LMAIL server escape leading dots when processing spool/local files. (Note to myself: applications that access messages directly from the file system should take care of unescaping, just like a POP3 client does). Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] 5xx errors in SMAIL log
Hi all (and happy new year), I saw lines like these in the SMAIL log: tsd.unifi.it 1294151990810.a28.880.25d715.dex1 L1C7667 [PRIVATE] [PRIVATE] SMTP gmail-smtp-in.l.google.com. 2011-01-04 15:36:46 5.5.1 Unrecognized command. a11si22710935wer.104 tsd.unifi.it 1294151991384.a28.880.25d722.dex1 L1C7667 [PRIVATE] [PRIVATE] SMTP mx1.mail.eu.yahoo.com. 2011-01-04 15:36:49 Command Unimplemented Looks like XMail picked up a file from /spool/local containing a single-dot line and tried to send it untouched. It tried again and again before giving up and, as a result, non-local recipients got multiple copies of the same (truncated) mail, so in a sense delivery was successful ... IMHO: if the LMAIL client is supposed to escape leading dots, XMail should take care of unescaping them in LOCAL delivery (and should validate spool files better ... and documentation of LMAIL files format should be updated ...). Alternatively, XMail should take care of escaping leading dots when doing SMTP delivery of files picked up by LMAIL. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] 5xx errors in SMAIL log
At 04.12 06/01/11, you wrote: Alternatively, XMail should take care of escaping leading dots when doing SMTP delivery of files picked up by LMAIL. You are right. Either SendMail.cpp should do it, or XMail. Better XMail, I think, b/c LMAIL clients need not use the sendmail binary AFAIK As an emergency solution, I instructed my webmail to escape leading dots (which results in extra dots being delivered to local users from time to time, but is more acceptable than SMTP mess). But pls let us know as soon as you have a working patch, since MUAs and MTAs are not supposed to alter email text. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Unable to load spool file
At 15.47 05/07/10, you wrote: I´m using XMail Win32 for +- 8 years without problems. But, since last week our server is logging several messages like this: ErrCode = -55 ErrString = Invalid spool file Unable to load spool file \\?\D:\MailRoot\spool\12\3\mess\1278337154020.9a4.4a8.333180.ntserver3 SMTP-Error = 554 Error loading spool file I'v been using XMail on Windows NT/2000/XP since 2003, and the only time I got that error was because of an invalid address (RCPT TO:) in the header of a spool file generated by LMAIL. Looks like those spool files are malformed. Do they come from a specific sender/server? Are they processed by a specific filter? What does their syntax/structure look like? Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Prevent filters on mailing lists
At 11.42 12/01/10, you wrote: Is there a way to be sure a filter won't be executed on members of a ML ? You can try setting: - ML users' write permissions to A (check done using the email address used for SMTP authentication) - filter execution flag to aex (exclude filter execution in case of authenticated sender) This should exclude filter execution for members of a closed ML. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] Suggestion: handling of invalid addresses in spool file
Hi all, if an address in the envelope of a spool file fails the syntax check (I had an example of a null recipient, RCPT TO:), currently XMail raises a -55 ERR_INVALID_SPOOL_FILE error and silently freezes the message. I think in these cases a bounce would be appropriate, to let the sender know that delivery failed due to a syntax error (most likely a typo). Keep in mind that MUAs which drop stuff in spool/local bypass SMTP checks and feedback. OT: merry Christmas and happy new year to everybody. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Suggestion: handling of invalid addresses in spool file
At 18.04 24/12/09, you wrote: What you have seen in the latest bug report, it is a bug. Do you mean there's a bug in XMail? (I'm still using 1.26 on my server). Let me explain what I think has happened: webmail created a file in spool/local with a header like this: MAIL FROM:sen...@address RCPT TO:g...@address RCPT TO: LMAIL correctly picked up and exploded this file into single-recipient spool files. When processing the spool file with the empty recipient, XMail raised the -55 error, I think because of bad recipient's address. I think in this case a bounce to sen...@address would be fine. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Patches: IPv6 and SSL
At 08.41 17/12/09, Stephan Mueller wrote: I am starting to use xmail on an embedded system based on ARM. Due to the limited space available, I had to make IPv6 and SSL support a compile time option. Essentially, I added a bunch of ifdefs around the problematic code. There are not that many though. Do you want to have these patches? I doubt very much that Davide will accept to include that in the main distro. However, if Davide agrees, I think it might be useful to have those patches - especially the no-SSL one - available for download on XMail home page. Current versions of XMail require that you have SSL up and running even if you don't use it (which means that you may stumble over SSL-specific bugs even if you have disabled SSL, as in the case of the Windows-specific CtrlClnt issue discussed some time ago in the list). Patching the source may be faster (and funnier ...) than setting up and configuring something you're going to disable. For me, I've been running a patched version of XMail since 1.24 (basically, I stripped all references to SSLBind.cpp and SSLConfig.cpp and to everything that depends on them). For Davide: there are *a lot* of broken links on XMail home page. I can send a list if you feel like deleting them. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Patches: IPv6 and SSL
At 11.36 17/12/09, you wrote: Strange !? On my install (win32), no ssl enables with server.tab variables and I never had any SSL issue Like 99% users, I think. Copying and creating the SSL stuff is not that terrible, of course, but merging a diff is even faster ;-) provided someone has made the diff for you. Since Stephan has done the job for us, I still think it might be useful to post its patch on the XMail home page. But let's wait for Davide's verdict. I only created the cert files server.key and server.cert, but don't know if it was really necessary then ssl is completly disabled in server.tab. Without the cert files you get errors in the SMTP log, perhaps you can still receive mail, I don't remember. For the last win32 CtrlClnt issue (local CtrlClnt on xmail server did not work), don't know if it was a SSL problem It was. My patched SSL-free CtrlClnt.exe was not affected. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Patches: IPv6 and SSL
At 16.39 17/12/09, you wrote: For Davide: there are *a lot* of broken links on XMail home page. I can send a list if you feel like deleting them. If you have a list, send it to me and I'll clean it up. These do not work for sure (checked links with link checker and checked link checker by hand): http://mail.godeltech.com/xmail 400 - Bad Request http://software.dolist.net/xarchive.asp 400 - Not Found http://software.dolist.net/xav.asp 400 - Not Found http://software.dolist.net/xscanner.asp 400 - Not Found http://spamreview.argolink.net/software 408 - Timed out http://spf.pobox.com/ 408 - Timed out http://www.656.org/xmumhowto.htm400 - Not Found http://www.akxak.de/xpai400 - Not Found http://www.altair2000.net/software/xmail-wai/ 400 - Not Found http://www.hagen-mayer.de/technical/xmail-solaris.html 400 - Not Found http://www.henry.it/xmail 400 - Not Found http://www.iclub.cz/xmail 400 - Not Found http://www.it.xmailserver.org 400 - can't resolve hostname to IP address http://www.keithstric.com/imap_install.html 400 - Not Found http://www.kryptontech.com/modules.php?name=Downloadsd_op=viewdownloadcid=2 400 - Not Found http://www.netgi.com.ar/xqflusher/ 408 - Timed out http://www.saltstorm.net/depo/scope/400 - Not Found http://www.saltstorm.net/depo/xm2nntp/ 400 - Not Found http://www.spectr.org/sergey/HowTo-Chrooted-XMail.html 400 - Not Found http://www.spectr.org/sergey/XMail_for_Gentoo.html 400 - Not Found http://www.ubaight.com/index.php?option=com_wrapperItemid=37 400 - Not Found http://xmail.topconcepts.net400 - can't resolve hostname to IP address Others might be dead, I had no time to check right now. Will let you know if I find others. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] webmail for xmail ?
At 17.01 28/10/09, you wrote: Does anyone have a success story with Xmail and webmail for linux ? I am so addicted to XMail that I don't want to install another MTA. And since XMail is such a great piece of software, I was wondering if someone out there has managed to make it work and/as a webmail server. I'm currently testing the PHP version of AfterLogic WebMail Lite from http://www.afterlogic.com/products/webmail-lite. I'm interested in it because it knows about the XMail directory structure and the XMail LMAIL and Ctrl servers, so it can access mail via the local filesystem (no POP3/SMTP connections to localhost), retrieve/set user vars (MaxMBSize, password) and perform alias resolution (users can login with their email alias). And, of course, because it's GPL'ed open source. After a little customization the thing is working so far without (known) problems, on Windows but - being the PHP version - should work on *nix, too. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Typos in error messages
At 16.29 15/10/09, you wrote: ERR_LOADMODULE and ERR_LOADMODULESYMBOL say moading instead of loading in their messages. Perhaps it's a technical word that stands for m(odule l)oading :-)) BTW, since it's house cleaning time, I add that SysSameAddress in SysDepCommon.cpp is no longer used (replaced by a version of SysInetAddrMatch). Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] CtrlClnt local/remote diff in return value on w2k
At 10.34 25/09/09, CLEMENT Francis wrote: Server : W2K server SP4, xmail 1.26 WorkStation : W2K workstation SP4, ctrlclnt.exe copied from xmail 1.26 server (so exactly same binary) When running CtrlClnt from the workstation all ok, output result is ok, ctrlclnt exit immediatly and exit code (errorlevel) is 0 Same exactly command localy on the server, I get the same good output result , then ctrlclnt seems blocked for some seconds then finaly end but with exit code 1073807364 (decimal) I run CtrlClnt locally on a XP Pro machine for changing passwords from a Perl script and it returns 0 on success. Connects to the server's public IP, though, not localhost. Things to consider: - different behaviour between WS and Server Windows versions (or XP vs 2K); - different behaviour when connecting to the public or the loopback IP I'm using 1.26, but I think the CtrlClnt.exe binary hasn't changed since 1.24. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] Is anyone having problems with spamhaus?
Hi all, zen.spamhaus.org has been catching nothing on my server for over a week, now (it used to catch thousands of spams per day). Looks like XMail cannot reach it, maybe because of some DNS problems of theirs (see http://www.dnssniffer.com/report.php?domain=spamhaus.orgSniff=Sniff). Is it still working for you? Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Is anyone having problems with spamhaus?
At 14.12 27/11/08, you wrote: Seems ok here too Perhabs your xmail server (or SmartDnsHost if configured) try only the 'temporary unavailable' spamhaus dns server (as seens in the report) What does your nslookup report for zen.spamhaus.org? Mine reports a timeout error, maybe it is related. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Is anyone having problems with spamhaus?
At 14.12 27/11/08, you wrote: Seems ok here too It is definitely a problem with the university dns. Changed my dns setup and spamhaus worked again. Ciao, Francesco ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] Duplicate log entries (1.25)
Hi all, I've just moved glst from pre-data to post-rcpt and noticed that every rejection generates two entries in the smtp log: a spurious DATA=EFILTER followed by RCPT=EFILTER. I've tried patching SMTPSvr.cpp in 1.26 pre-01 (moving the log statement from SMTPRunFilters to SMTPHandleCmd_DATA) and this apparently removes the spurious line. Any opinion? === --- SMTPSvr.cpp 2008-05-14 02:50:24.0 +0200 +++ SMTPSvr.cpp.nodup 2008-06-11 12:43:22.75000 +0200 @@ -1838,10 +1838,6 @@ fclose(pFiltFile); RLckUnlockSH(hResLock); - if (SMTPLogEnabled(SMTPS.pThCfg-hThShb, SMTPS.pSMTPCfg)) - SMTPLogSession(SMTPS, SMTPS.pszFrom, SMTPS.pszRcpt, - DATA=EFILTER, 0); - pszError = SMTPGetFilterRejMessage(SMTPS.szMsgFile); ErrSetErrorCode(ERR_FILTERED_MESSAGE); @@ -1917,6 +1913,10 @@ ErrorPush(); SMTPResetSession(SMTPS); + if (SMTPLogEnabled(SMTPS.pThCfg-hThShb, SMTPS.pSMTPCfg)) + SMTPLogSession(SMTPS, SMTPS.pszFrom, SMTPS.pszRcpt, + DATA=EFILTER, 0); + if (pszError != NULL) { SMTPSendError(hBSock, SMTPS, %s, pszError); SysFree(pszError); @@ -2005,6 +2005,10 @@ ErrorPush(); SMTPResetSession(SMTPS); + if (SMTPLogEnabled(SMTPS.pThCfg-hThShb, SMTPS.pSMTPCfg)) + SMTPLogSession(SMTPS, SMTPS.pszFrom, SMTPS.pszRcpt, + DATA=EFILTER, 0); + if (pszError != NULL) { SMTPSendError(hBSock, SMTPS, %s, pszError); SysFree(pszError); = Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Lockdown xMail
At 06.45 25/04/08, you wrote: Greylisting is not working as well as it used to... Verizon, Hotmail and Yahoo Mail seem to not re-send correctly when Graylisting is ON. I previously posted about this AFAIK it is only Yahoo Groups that does no resend and requires xnet or white list. In any event, if they do not resend on a 4xx they are likely to lose mails whenever the recipient is busy for whatever reason, besides glst, and besides breaking RFCs. And yes, glst seems to be the ultimate solution against mail viri: I have hardly seen any virus hitting my server since using glst, and the very few come with DSNs to forged senders or from legitimate servers without an (updated) AV. Unfortunately glst seems to be ineffective against phishers: they systematically retry and bypass it, and need be blocked by other means. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: hotmail delivery problems
At 12.47 21/03/08, David Lord wrote: On 21 Mar 2008, at 1:56, max toro q wrote: I installed Xmail on win2k, and I have delivery problems to hotmail. Some messages get delivered, some simply get lost. The log shows no sign of problem. Yes but not very often. Mails are accepted but never delivered. Not sure we're talking about the same thing, anyway from time to time my users complain that mails for hotmail accounts are not delivered, meaning that the receiver did not receive them and the sender was not notified of any error. Every time I have investigated I found that hotmail did accept the message for delivery: smail logs say that. For me, this means that XMail did its job and the problem (if any: you know, 90% of a computer's problems lie between the keyboard and the chair ...) is with hotmail: if a MTA accepts a message for delivery, it must either deliver or bounce. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: hotmail delivery problems
At 19.16 21/03/08, Phillip R. Shaw wrote: if a MTA accepts a message for delivery, it must either deliver or bounce.. While this was a nice idea at one time, it really isn't desirable any more. Why? SPAM. I get thousands of emails that I accept but are then rejected by my spam filtering. You don't want me sending all those bounce messages to your users (whose email address was forged in the email). If a MTA thinks an incoming mail is spam, it can reject it with a 5xx. If it doesn't - i.e., accepts it for delivery - then it must deliver or bounce (indeed, I think it's required to do that by relevant RFCs). I would assume that hotmail (and the others) have user options that say 'delete spam', so they don't have to look at it in their spam folder. This could the reason that it goes into hotmail, and the user never sees it. Some filtering is done when the email arrives, but a lot of time more filtering is done later. Yes, I think what is happening is that hotmail or others mark the mail as spam and place it somewhere, users don't realize it and say I didn't receive it. Actually it is delivered, and users can read it if they like and know how. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Header 'Received :' question/suggestion
At 11.39 19/03/08, you wrote: Here is a sample xmail generated 'Received :' header : Received: from some_sender_name ([aaa.bbb.ccc.ddd]:p) (not important) What is exactly the 'some_sender_name' actual value ? - The value of the HELO/EHLO ? - The reverse dns of aaa.bbb.ccc.ddd ? And what is the corresponding field in the different logs generated by xmail ? same as the one used in generating the 'received :' header ? They're both the HELO/EHLO/ClientDomain thing. Received: from some_sender_name ([aaa.bbb.ccc.ddd]:p) (RDNS : therevdnsvalue) Hmm ... too many DNS queries for logging? But if you (Davide) are going to add this option, pls make the revdnsvalue available to filters (for antispam purposes). Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] ErrCode -40 vs -215
Hi all, since installing 1.25 I notice that when a message gets frozen immediately because of a DNS problem there are two kinds of slog messages. One is familiar since 1.23 ErrCode = -215 ErrString = DNS name not exist Recipient domain yahoo.fr' does not exist (or it has a misconfigured DNS) except for the added or it has a misconfigured DNS. The other is quite new: ErrCode = -40 ErrString = Invalid server address ErrInfo = libero.ir new because up to 1.24 XMail would keep trying on a -40. Does 1.25 give up immediately when a DNS query times out? Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: SMTP after POP3 in 1.25 pre-22
At 23.20 15/11/07, you wrote: Not using from a long time pop before smtp auth method. Looks like nobody is using it, indeed, since I've not yet received feedback from others using that feature, so far ... Anyway, a feature should either be dropped or work, IMHO ... As noted by Davide seems your smtp and pop sessions start at same time, so Actually, it is the whole pop before smtp method that no longer works in 1.25-pre22. On my server at least ... I can only recommend you to switch to the good smtp auth method :) I've always told users to use 'real' smtp auth, but most of them seem happy with the try, error, retry pattern :-) until yesterday, Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] SMTP after POP3 in 1.25 pre-22 (a clue)
Hi all, apparently I have a problem with the new SysGetHostByName which causes POP3-SMTP auth always to fail. This chainsaw patch works for me: --- POP3Utils.cpp 2007-11-02 01:34:32.0 +0100 +++ POP3Utils.cpp.new 2007-11-16 13:23:20.890625000 +0100 @@ -1544,8 +1544,7 @@ /* Do IP matching */ SYS_INET_ADDR PrevAddr, CurrAddr; - if (SysGetHostByName(szIP, SysGetAddrFamily(CurrAddr), PrevAddr) 0 || - !SysSameAddress(PrevAddr, CurrAddr)) { + if (!SysSameAddress(PrevAddr, CurrAddr)) { ErrSetErrorCode(ERR_NO_POP3_IP); return ERR_NO_POP3_IP; } No idea: - of side effects :-) - if this is everybody's problem; - if this is Windows problem; - if this is my problem ??? Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue)
At 18.24 16/11/07, you wrote: Can you try the patch below? diff --git a/POP3Utils.cpp b/POP3Utils.cpp index 85ee92d..5b3111b 100644 --- a/POP3Utils.cpp +++ b/POP3Utils.cpp @@ -1542,10 +1542,10 @@ int UPopUserIpCheck(UserInfo *pUI, SYS_INET_ADDR const *pPeerInfo, unsigned int fclose(pIpFile); /* Do IP matching */ - SYS_INET_ADDR PrevAddr, CurrAddr; + SYS_INET_ADDR CurrAddr; - if (SysGetHostByName(szIP, SysGetAddrFamily(CurrAddr), PrevAddr) 0 || - !SysSameAddress(PrevAddr, CurrAddr)) { + if (SysGetHostByName(szIP, SysGetAddrFamily(*pPeerInfo), CurrAddr) 0 || + !SysSameAddress(*pPeerInfo, CurrAddr)) { ErrSetErrorCode(ERR_NO_POP3_IP); return ERR_NO_POP3_IP; } Currently testing ... Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue)
At 18.24 16/11/07, you wrote: Can you try the patch below? diff --git a/POP3Utils.cpp b/POP3Utils.cpp index 85ee92d..5b3111b 100644 --- a/POP3Utils.cpp +++ b/POP3Utils.cpp @@ -1542,10 +1542,10 @@ int UPopUserIpCheck(UserInfo *pUI, SYS_INET_ADDR const *pPeerInfo, unsigned int fclose(pIpFile); /* Do IP matching */ - SYS_INET_ADDR PrevAddr, CurrAddr; + SYS_INET_ADDR CurrAddr; - if (SysGetHostByName(szIP, SysGetAddrFamily(CurrAddr), PrevAddr) 0 || - !SysSameAddress(PrevAddr, CurrAddr)) { + if (SysGetHostByName(szIP, SysGetAddrFamily(*pPeerInfo), CurrAddr) 0 || + !SysSameAddress(*pPeerInfo, CurrAddr)) { ErrSetErrorCode(ERR_NO_POP3_IP); return ERR_NO_POP3_IP; } Sorry to say: not working :-( Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue)
At 20.12 16/11/07, you wrote: Duh!? Can you try to add here ... const *pPeerInfo, unsigned int fclose(pIpFile); char szIPP[128]; SysInetNToA(*pPeerInfo, szIPP, sizeof(szIPP)); SysLogMessage(LOG_LEV_MESSAGE, PreIP='%s'\tCurrIP='%s'\n, szIPP, szIP); /* Do IP matching */ And run in debug mode? Screen output: POP3 client connection from [127.0.0.1] POP3 client exit [127.0.0.1] SMTP client connection from [127.0.0.1] PreIP='127.0.0.1' CurrIP='127.0.0.1' SMTP filter run: Filter = C:\MailRoot\bin\glst\glst Retcode = 0 SMAIL local SMTP = tsd.unifi.it From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] SMTP client exit [127.0.0.1] Logs: localhost tsd.unifi.it 127.0.0.1 2007-11-16 21:11:25 vertova LOGIN 1 614 tsd.unifi.it tsd.unifi.it 127.0.0.1 2007-11-16 21:11:25 ZOUZOU.tsd.unifi.it tsd.unifi.it [EMAIL PROTECTED] [EMAIL PROTECTED] SD8598 RCPT=OK 0 tsd.unifi.it tsd.unifi.it 127.0.0.1 2007-11-16 21:11:25 ZOUZOU.tsd.unifi.it tsd.unifi.it [EMAIL PROTECTED] [EMAIL PROTECTED] SD8598 RECV=OK 333 Sigh sigh sigh :-( Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: SMTP after POP3 in 1.25 pre-22 (a clue)
At 22.01 16/11/07, you wrote: Cat you try to show me the content and metadata of the account's .ipconn file? dir C:\MailRoot\domains\tsd.unifi.it\vertova\.ipconn Volume in drive C is unlabeled Serial number is F8F7:824F Directory of C:\MailRoot\domains\tsd.unifi.it\vertova\.ipconn 16/11/2007 21.11 11 .ipconn 11 bytes in 1 file and 0 dirs512 bytes allocated 20.875.244.032 bytes free type C:\MailRoot\domains\tsd.unifi.it\vertova\.ipconn 127.0.0.1 Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Me too? (1.25-pre22)
Hi all, I've installed 1.25-pre22 from an hour. Looks like auth'd (SMTP after POP3) users cannot bypass DNSBL in spite of code 0: excerpt from today's pop3log: dex1.tsd.unifi.it tsd.unifi.it 151.49.38.240 2007-11-15 09:30:54 xxx LOGIN 230 4129295 dex1.tsd.unifi.it tsd.unifi.it 151.49.38.240 2007-11-15 09:31:02 xxx LOGIN 230 4129295 dex1.tsd.unifi.it tsd.unifi.it 151.49.38.240 2007-11-15 09:31:26 xxx LOGIN 230 4129295 dex1.tsd.unifi.it tsd.unifi.it 79.23.132.80 2007-11-15 10:27:25 yyy LOGIN 102 4626182 dex1.tsd.unifi.it tsd.unifi.it 79.23.132.80 2007-11-15 10:33:24 yyy LOGIN 974600841 dex1.tsd.unifi.it tsd.unifi.it 79.23.132.80 2007-11-15 10:33:26 yyy LOGIN 974600841 excerpt from today's smtp log: tsd.unifi.it tsd.unifi.it 151.49.38.240 2007-11-15 09:30:54 xxx xxx SNDRIP=EIPMAP (zen.spamhaus.org) 0 tsd.unifi.it tsd.unifi.it 151.49.38.240 2007-11-15 09:31:02 xxx xxx SNDRIP=EIPMAP (zen.spamhaus.org) 0 tsd.unifi.it tsd.unifi.it 151.49.38.240 2007-11-15 09:31:26 xxx xxx SNDRIP=EIPMAP (zen.spamhaus.org) 0 tsd.unifi.it tsd.unifi.it 79.23.132.80 2007-11-15 10:33:19 yyy yyy SNDRIP=EIPMAP (zen.spamhaus.org) 0 tsd.unifi.it tsd.unifi.it 79.23.132.80 2007-11-15 10:33:23 yyy yyy SNDRIP=EIPMAP (zen.spamhaus.org) 0 tsd.unifi.it tsd.unifi.it 79.23.132.80 2007-11-15 10:33:26 yyy yyy SNDRIP=EIPMAP (zen.spamhaus.org) 0 I'm further investigating ... Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] dnscache directory
Hi all, just got a directory listing of MAIL_ROOT/dnscache/mx. After 30 or 40 mins it reported a total of over 252,000 files. Since XMail checks MailerDomain before CustMapsList (why?), I think they're mostly domain files of blacklisted spam. Is it advisable and safe to delete some of this stuff while XMail is running (since I think delete won't take less than a directory listing)? Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: server.tab CustMapsList
At 17.03 08/11/07, Edinilson - ATINET wrote: Here we are using: CustMapsList zen.spamhaus.org.:0,dsn.rfc-ignorant.org.:0,bl.spamcop.net.:0 BUT we are having too many '551 Server access forbidden by your IP' *even* with authenticated users (yes, I=B4m sure they are authenticated). The default error message from CustMapsList=20 should be 550 Denied due inclusion of your IP in=20 the following map (map name). Even if you=20 changed the SmtpMsgIPBanMaps server.tab variable,=20 the error message should always include the map name. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: server.tab CustMapsList
At 17.26 08/11/07, you wrote: So, in which situation '551 Server access forbidden by your IP' is returned? I think it's a sort of default error message. Usually from smtp.ipmap.tab, since the other IP-based blocks (CustMapsList and spammers.tab) have their own messages. Because, if I comment CustMapsList line, users can send without problems. SmtpMsgIPBanMaps set to an empty string? or a server.tab syntax error? Real [TAB]s etc.? Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: server.tab CustMapsList
At 18.46 08/11/07, you wrote: Here we are using: #SmtpMsgIPBanMaps 550 Denied due inclusion of your IP in the following map With that entry commented out, the peer should get a 550 Denied due inclusion of your IP inside (map name), besides the usual SNDRIP=EIPMAP (map name) in the SMTP log. If you don't get either, and there is no config error somewhere, I think the rejection is not due to an IP map. What do the SMTP log and a TCP dump show? Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: server.tab CustMapsList
At 11.35 07/11/07, you wrote: To filter a bit the spam, I'm using this CustMapsList (but I'm not satisfied at all with my list.) CustMapsList sbl-xbl.spamhaus.org.:0,combined.njabl.org.:0,bl.spamcop.net.:0 Anyone has a better list to give me or complete? It depends on the reasons why you are unsatisfied ... my list is similar to yours: zen.spamhaus.org:0,bl.spamcop.net:0,dnsbl.njabl.org:0,prc.tqmcube.com:0,ko.tqmcube.com:0,blackholes.five-ten-sg.com:-30,dnsbl.sorbs.net:-30 As a second line of defence I have glst, and as a third line a few formal checks on the HELO. Besides spammers.tab etc. of course. Some remarks zen is more comprehensive than sbl-xbl, it replaces dynablock.njabl.org that has closed. Since dynablock has closed, combined.njabl is now just a copy of dnsbl.njabl. The tqmcube things are geographic blocks against Korea and People's Republic of China, good for me, may be bad for you. The last two are too aggressive for blocking. With spamhaus I've had 0,00 false positives since I use XMail, with spamcop no false positives for at least a couple of years. spamhaus has become very effective, too, indeed it alone catches 90% junk, at least, with tqmcube being the second catcher and spamcop the third. Maybe I should cut my list b/c I suspect it's a bit too long (too many lists to query for each mail). In that case I would scale down to: zen.spamhaus.org:0,bl.spamcop.net:0,prc.tqmcube.com:0,ko.tqmcube.com:0 Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Another xmail dns resolver problem ?
At 11.24 27/09/07, CLEMENT Francis wrote: IMOO, is this case (Domain ok BUT no MX AND no A entry), xmail such immediatly stop at first attempt and return an NDR to the sender (like a 5xx error) as the domain older didn't give any info who to join them by mail This issue has already been brought to the list, I think. If I remember correctly, there was sort of a philosophical dispute about the proper way of handling such cases. I myself agree with you: no MX and no A = immediate failure. If we decide to vote, vote +1. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: 1.25-pre14
At 21.19 10/06/07, Davide Libenzi wrote: I made pre15 with some new -M* options. You can select if to use only IPV4, only IPV6, IPV4 if present or IPV6, IPV6 if present or IPV4. It defaults to the former at the moment. For those wishing a clickable link: http://www.xmailserver.org/xmail-1.25-pre15.tar.gz http://www.xmailserver.org/xmail-1.25-pre15.win32bin.zip Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: glst question
At 22.41 16/05/07, you wrote: The exact same yahoo issue happens to our users very often. The yahoo groups servers do not retry - they simply stop sending after any failure. And they even send viri, from time to time. They suck ... Has anyone been successfull in finding all the needed xnet settings for yahoo? You might try the smtp.hnprop.tab settings available since XMail 1.24. They allow you to whitelist by host name rather than IP, and if you add !wlex to the glst filter this might help. Only drawback, this might have a performance hit b/c of RDNS lookup (Davide's warning). Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: 1.25-pre04 ...
At 10.35 10/04/07, you wrote: I agree, but i have thousand of entrances of this, all for pellicano.biz, all after and immediately after the upgrade. I only running 1.25-pre04 for 30 minutes. Do you mean: I would like XMail not to report this kind of error in the Event Log? Description: The description for Event ID ( 0 ) in Source ( XMail ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: Maximum DNS query depth 32 exceeded ('pellicano.biz') Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Question about GLST
At 13.56 15/03/07, you wrote: Well, see, that's the weird thing. When I do a glst --cleanup, the glst.dbm file actually *grows* (admittedly, only a small amount - maybe 10 - 20 KB or so). Which I thought was weird. That may be normal: --cleanup marks some space allocated by the file as unused - so that subsequent entries can use it instead of allocating new space - but may not reduce file size. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Drop NDRs?
At 23.43 05/03/07, you wrote: Also, my spool is loaded with messages that xmail keeps trying to deliver to obviously bad addresses. This has been mostly cured with XMail = 1.23. Which version are you running? Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: wlex doubt
At 18.50 11/02/07, you wrote: !aex,wlexTAB/var/MailRoot/filters/filip-supera-filters/GLST_.plTAB@@REMOTEADDRTAB@@FILETAB@@FROMTAB@@CRCPT A doubt: should be something like --mfileTAB@@FILETAB--raddrTAB@@REMOTEADDR, I think ... Also, if you pass a @@FILE you don't need any other parameters (they will be overridden anyway). A message comming from 195.114.26.147 has fired my filter GLST_.pl and I don't understand why. Hmmm, that shouldn't happen. Did anyone else have problems with wlex? I still have this problem. Same conditions. !wlex seems to work well on my server. If you can reproduce the error and find a pattern, I can check against my logs if I'm missing something. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Multipe Reply-To headers
Suggestion for 1.25: if UseReplyTo is set, XMail will prepend a Reply-To header to messages for a mailing list. If the incoming message already has one, it will end up with multiple Reply-To headers, which is - depending on different interpretations of the RFCs - either illegal (agents should not output that) or unspecified (legal but agents can do what they like with it - including replying to the sender instead of the list). In either case, what about parsing for and dropping/replacing an existing Reply-To header in messages for a UseReplyTo ML? Would be the reverse of what XMail already does for the Return-Path. (An alternative would be conflating all Reply-Tos into a sinlge one with multiple addresses, which is surely legal but, IMHO, not worth the extra code). Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Advices
At 17.35 24/01/07, you wrote: - does anyone knows an antivirus working fine with xmail (on Windows 2003 server) and working with xmail filters. I've been using F-PROT for DOS on both Win2K Pro and WinXP Pro and works very well in a post-data filter. I've also tested ClamAV - native Win32 port - on WinXP and should work. Both can check the mail file directly with no need to set up temporary stuff for unzipping/decoding etc. F-prot is ligthning fast, ClamAV needs to run in daemon client mode (the standalone scanner takes 3/4 seconds to scan a mail file, the daemon client 0.x secs, so you have no choice). Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: wlex doubt
At 07.54 23/01/07, you wrote: Davide Libenzi a écrit : Hmmm, that shouldn't happen. Did anyone else have problems with wlex? Does anyone else use wlex with success ? I'm using !aex,wlex for glst - as pre-data filter - on Windows and it works as expected, AFAIK. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Verifying usage of wlex
At 09.58 11/11/06, you wrote: Just so that I'm absolutely correct according to the documentation, the new wlex will work as a flag inside of filter files used by filters.in.tab and filters.out.tab but will NOT work if it is part of filters.pre* and filters.post* files correct? As I understand it it's the reverse: wlex is only supported in SMTP (post- or pre-) filters but not in SMAIL (in- or out-) filters. For Davide: may be the docs can be improved. They mention aex and wlex in the section on message filters, with the qualification that wlex only works for SMTP filters, and only mention aex in the section on SMTP filters. It might be worthwhile moving the explanation of wlex to the latter section, where it pertains. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: 1.23-pre11 ...
At 13.20 08/11/06, Rob Arends wrote: And found this in the readme: MACRO SUBSTITUTION XMail support two kinds of macro declaration inside its TAB file. The old macro declaration done by prefixing the macro name with the '@@' sequence is still supported for backward compatibility, and has to be used when the macro is the only content of the parameter. I take has to to mean should only; i.e. should only be used when the macro is the only content of the parameter, for otherwise they are not recognized properly. Waiting for the Creator to enlighten us ... Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Local domain and trailing dot
At 00.25 30/10/06, you wrote: Ok, this comes from 2005 but I'm going through stuff to include in 1.23. The trailing dot is not legal, according to section 4.1.2 of: http://www.faqs.org/rfcs/rfc2821.html Path = [ A-d-l : ] Mailbox Mailbox = Local-part @ Domain Domain = (sub-domain 1*(. sub-domain)) / address-literal sub-domain = Let-dig [Ldh-str] I'm not clear what legal means here. If I pass anydomain.com. (with the trailing dot) to nslookup, it does resolve. That's why the mail loop occurs (the MX point to the XMail server, but the XMail server does not accept it and tries SMTP delivery to itself again and again). IMHO and/or AFAIK: - a mail loop should only result from broken server config, not a user's typo; - this issue is more (or as much) related to DNS than SMTP; - the trailing dot is a common convention for indicating that a domain is fully qualified (per RFC 1912, 3.2: If you don't put a `.' at the end of an FQDN, it's not recognized as an FQDN.) - Xmail should either perform a syntax check for the trailing dot, and if found issue a 5xx error WITHOUT trying to deliver/resolve, or recognize that a domain is local IF DELIVERING/RESOLVING; Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Spool dir
At 21.34 09/10/06, you wrote: Is there a way to run XMail (Win32 version) with the spool dir in a separeted folder (example: I'm running XMail on D:\mailroot BUT I want to run *only* spool in another drive/folder, something like: Z:\spool or Z:\mailroot\spool)? Under Win2K/XP and NTFS you can map, say, D:\XMail\spool to Z:\spool, so that the latter can be accessed with both names. No idea how you do that from a plain vanilla installation, maybe from the disk administration tool in the control panel ... anyway, there are freeware or shareware utilities around that can do that, try googling for soft link and NTFS. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Reducing spam
At 22.25 01/10/06, you wrote: Hi list. Spam seems to be getting to rediculous levels so I'm trying to re= duce the number of spam messages I am receiving in my xmail server. I started by uncommenting the line in server.tab: CustMapsList list.dsbl.org.:1,blackholes.mail-abuse.org.:1,dialups.mail-abuse.org.:0 My CustMapsList is bl.spamcop.net:0,combined.njabl.org:0,sbl-xbl.spamhaus.org:0 And I run greylist as a predata filter. And my postdata AV filter performs some checks on the ClientDomain. Together, they catch almost all spam (and viruses). As to dns blacklists: spamhaus and njabl are virtually 0 false positives (provided you give auth'ed dialup users a way to bypass them). Spamcop requires some whitelisting from time to time, but not too much. I had to stop using sorbs and blackholes.five-ten because of too many false positives. Anyway, I think you have to experiment with dnsbl: no one is the best for everyone, it depends on your specific situation (geographic location, traffic patterns etc.). Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Format of @@REMOTEADDR
At 20.22 27/06/06, oi01 wrote: actually it should be host:port like 192.168.0.1:8956, seperated by a colon. Yes, after some experimenting I can confirm that the ip is NOT included in square brackets. I can say nothing about the port part since I only retrieve the IP but I think you are right. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Format of @@REMOTEADDR
Hi all, before starting trial and error: do you know the format of the @@REMOTEADDR macro passed to SMTP filters? ip:port, [ip;port] ...? Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Format of @@REMOTEADDR
At 16.49 27/06/06, you wrote: The Manual here: http://www.xmailserver.org/Readme.html OK, I RTFMed and found: @@REMOTEADDR: remote IP address and port of the sender. But how are they bundled together in the macro? Are they separated by comma, colon, space, nothing ... Are they enclosed in square brackets as in the @@FILE? If I missed something please direct me to the correct page. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: xmail DNS problem : First sample
At 12.30 22/05/06, you wrote: First problem : Use of A domain entry (exist) even if Mx entries exist for the destination domain [00] XMail bounce: [EMAIL PROTECTED];Error=3D[554 [EMAIL PROTECTED]: Relay access denied] (preliminary: my nslookup reports non-authoritative answer for ifrance.com and this might be part of the problem). This behaviour - XMail trying A even if MX exists - has been reported on this list from time to time, without a final answer. Possible cause: a temporary/intermittent problem with MX - DNS timeout? - and XMail falls back on A, even though MX might be available a bit later. Possible solution (read: suggestion for Davide's long queue): XMail should distinguish in DNS matters between a negative answer and silence (timeout) and only fall back on A in the first case. The contrary risks turning a delay into a permanent failure, I think ... Second problem : On no existing destination domains, Xmail don't return immediatly a NDR but start the 'normal' retry process My old IMS mailserver would give up immediately on a non-existing domain and keep trying on a network error. XMail treats the two as equivalent, and this seems to be a common design of modern mailservers (I'm told that M$ SMTPSVC behaves exactly likes XMail). Sincerely, I preferred the old-fashion way, since 99% of non-existing domains are typos or parsing errors on the client side. But you know ... Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] GLST bug?
Hi all, It seems that glst 0.23 does not distinguish between a numeric ClientDomain - a spammer sends an IP address as HELO - and the actual sender IP. As a result, if the ClientDomain is a XNETted IP - typically, the mail server's IP - glst stops processing and passes the message. Can anybody reproduce this? Perhaps, the problem is in parsing the @@FILE (my C skills are not enough for checking this myself ...). Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: quota bug in forwarding
At 21.49 17/02/06, you wrote: I have found a situation with XMail where XMail ignores the mailbox = quotas. If there are two mailboxes on the same box and one forwards into the = other, XMail ignores the mailbox quota of the second mailbox when receiving forwards from the first one. From what I've seen on my server, and from what I've read on this list, it seems that XMail only checks mailbox quotas on a RCPT TO command at SMTP time. This means that mailbox quotas are ignored when PSync'ing; when delivering to mailing list members; when delivering from a (l)redirect in mailproc.tab; when LMail'ing; when DSN'ing; possibly in other cases. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Thoughts on mail processing with Xmail.
At 00.57 18/02/06, you wrote: It seems that the quota check is done on smtp processing, but should be done at other times too. I'd like to see a change in the way Xmail processes mail, so that whenever a movement of mail occurs, all checks are done. I see a problem here: checking mailbox quotas outside of SMTP conversation would require XMail to generate a bounce (according to both RFCs and common sense if you say OK at SMTP time and then fail to deliver, you should inform the sender). And, in the age of forged return addresses, a bounce is most often spam. Think of a mailing list: how can XMail say: I accept for member A (under quota) and reject for member B (over quota) at SMTP time? Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: mail loop?
At 21.55 16/02/06, you wrote: If I send a message to [EMAIL PROTECTED] -- with a trailing '.' After the .com, I get a mail loop error back. I suppose domain.com is a local domain. This is a known issue (see the thread on local domain and trailing dot). Queued for next release. By now the only solution is defining a domain alias. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Local domain and trailing dot
Hi all, if I have domain.net in domains.tab and send an e-mail to [EMAIL PROTECTED] (note the final dot), domain.net. is not recognized as local, which leads to a mail loop. Can anybody confirm this? Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Log files ending with 0100
At 05.12 31/10/05, you wrote: What is the condition that makes the log files end with 0100? I suspect it has to do with DST change. If this is the case - it's a classical topic that comes up twice a year - you should have two files for Oct 30: one ending in storing entries until 2:59:59 am (end of DST), another ending in 0100 storing entries from 3 am (which has become 2 am) until the end of day. On the last Sunday of March (start of DST) you'll have a file ending in and another one ending in 2300. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: XMail 1.22 ZIP and .arch-ids ?
At 11.40 18/10/05 +0200, you wrote: Hi Davide, what are these .arch-ids folders that are spread thru the whole directory tree of the 1.22 Win32 ZIP archive ? Are they vital ? I hope they aren't, since I nuked them from the whole MAIL_ROOT dir just after upgrading ... Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Suggestion: bypass filter execution in case of whitelisted ip
At 10.33 04/08/05 -0600, you wrote: I've been trying to hack an AV script of ours to have an IP whitelist, but my Perl is pretty rudimentary, so I haven't had a lot of success. I'd love to see this functionality in XMail itself. The overhead of an interpreted script is mostly in initialization. Once the filter has been run, terminating execution upon an IP check does little good, IMHO. So, what we need is an IP-based way of skipping execution of SMTP filters, like there is for SMAIL filters. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Suggestion: bypass filter execution in case of whitelisted ip
At 18.06 04/08/05 +0200, you wrote: I think a flag for (SMTP)-filters which disables filter execution for whilelisted Ips (listed in smtp.ipprop.tab with Whitelist=3D1) would = be very helpful (similar to aex). Something like: !ipprop(Whitelist=3D1)[TAB]command[TAB]arg-or-macro[TAB]...[NEWLINE= ] This would be usefull for a lot of custom scripts like greylisting or = other spamfilters. Vote +2 Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: DNS again?
At 16.50 21/07/05 -0300, you wrote: XMail DNS resolver had a bug in handling CNAME, but this was fixed in 1.18 and later. However, all versions of XMail have problems with - which means, are less good than nslookup and dig at - handling DNS info that is 'Non-authoritative' (see below). I used to think this could be worked around by setting a SmartDNSHost, but I now discover this is not entirely true. It's mostly a matter of robustness or error recovery: if information stays 'non-authoritative' too long, something is screwed up somewhere, as in this case. But, IMHO, if nslookup can succeed, so should XMail ... set type=MX datacomm.iue.it Server: dns.unifi.it Address: 150.217.1.32 Non-authoritative answer: datacomm.iue.it canonical name = dns1.iue.it dns1.iue.it preference = 10, mail exchanger = avas-iue.cineca.it dns1.iue.it preference = 20, mail exchanger = mx2.cineca.it In fact, I'm afraid you've found a bug. I've tried to send a mail to just_a_test at datacomm.iue.it and XMail tried to send it to dns1.iue.it (192.167.90.1). I just sent the same mail from yahoo.com.br and I got 550 5.1.1 User unknown as expected. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: DNS again?
At 18.14 20/07/05 -0300, you wrote: any idea why XMail (1.21 Win32) delivers OK to [EMAIL PROTECTED] but fails to deliver to [EMAIL PROTECTED] The two have exactly the same MX records, I do, I do :) http://www.dnsreport.com/tools/dnsreport.ch?domain=datacomm.iue.it So another question: why nslookup can retrieve MX info and XMail cannot? (150.217.1.32 is first in SmartDNSHost line). nslookup Default Server: dns.unifi.it Address: 150.217.1.32 set type=MX datacomm.iue.it Server: dns.unifi.it Address: 150.217.1.32 Non-authoritative answer: datacomm.iue.it canonical name = dns1.iue.it dns1.iue.it preference = 10, mail exchanger = avas-iue.cineca.it dns1.iue.it preference = 20, mail exchanger = mx2.cineca.it iue.it Server: dns.unifi.it Address: 150.217.1.32 Non-authoritative answer: iue.it preference = 9, mail exchanger = avas-iue.cineca.it iue.it preference = 19, mail exchanger = mx2.cineca.it Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] DNS again?
Hi all, any idea why XMail (1.21 Win32) delivers OK to [EMAIL PROTECTED] but fails to deliver to [EMAIL PROTECTED] The two have exactly the same MX records, the only difference being that datacomm.iue.it has also an A record (is an alias of dns1.iue.it). For some reason, XMail tries A instead of MX. I have enabled SmartDNSHost in server.tab. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: UHHHHHHH STOP IT !
At 11.29 15/06/05 +0200, you wrote: LOL - someone could assume that this is my personal PITA mailserver for If I remember well, this is the very same guy (or machine) who reinjected messages in the list a couple of weeks ago. From the header: Received: from mail pickup service by arsenet-princip.ArSeNet-LasRozas.local with Microsoft SMTPSVC; Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: DNS entry files
At 14.04 07/06/05 -0400, you wrote: Yes Windows will not allow trailing spaces or periods in file or directory names. I have just checked my DNS cache. Theoretical question: if such file names are not allowed in Windoze, how can XMail create and use them? Practical answer (this is copyright Rob Arends 2003 :-): you should be able to access them using the short (8.3) alias. Example: COMMAND\PROMPT DIR /X \mailroot\dnscache\mx\5\tvcabo* 4/04/2005 13.17 79 TVCABO~1tvcabo.co.mz. where TVCABO~1 is the alias for tvcabo.co.mz. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: RDNS and RBLsquestion
At 10.37 20/05/05 +0200, you wrote: Now I'm using Spamhaus, Ordb and Spamcop as RBL servers, do you advise any others? The list of DNSBL is very dependent on your special needs (and geographical location, I think). You have to experiment a bit for yourself. I'm using spamcop, njabl, spamhaus and sorbs (in this order). Spamhaus and njabl are 0% false positives (my experience dating back to 2003). Spamcop catches the most junk but you have to add some lines in your whitelist. Sorbs too needs some whitelisting. Not too much, in either case. Together, the four reject between 80% and 90% of all incoming SMTP connections every day ... Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Filters and info line format in spool files (first line)
At 10.39 27/05/05 +0200, you wrote: Hello Davide and list XMail doc in sections for filters (in and out) and smtp filters (in and out) says that first line in the spool file passed to filters is as this : ClientDomain;ClientIP;ClientPort;ServerDomain;ServerIP;ServerPort;Time;Logo The filter docs need some revision, for sure (I assume you're using version 1.21). Second : After getting a copy of some spool files with a test filter that only copy the spool file and return ok, and after reading the them, first line is really formatted like this : [aaa.bbb.ccc.ddd]:eee;[fff.ggg.hhh.iii]:jjj;Mon, 23 May 2005 12:05:39 +0200 As you can see no 'ClientDomain' field, no 'ServerDomain' field, and no 'Logo' field ! No info in changelog !!! What you report seems to be the first line of the spool files stored in the queue. The docs say that the format of the @@FILE passed to SMTP filters is different. Are you sure you got the right spool file? Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: RDNS and RBLsquestion
At 10.37 20/05/05 +0200, you wrote: Now I'm using Spamhaus, Ordb and Spamcop as RBL servers, do you advise any others? The list of DNSBL is very dependent on your special needs (and geographical location, I think). You have to experiment a bit for yourself. I'm using spamcop, njabl, spamhaus and sorbs (in this order). Spamhaus and njabl are 0% false positives (my experience dating back to 2003). Spamcop catches the most junk but you have to add some lines in your whitelist. Sorbs too needs some whitelisting. Not too much, in either case. Together, the four reject between 80% and 90% of all incoming SMTP connections every day ... Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Filters and info line format in spool files (first line)
At 10.39 27/05/05 +0200, you wrote: Hello Davide and list XMail doc in sections for filters (in and out) and smtp filters (in and out) says that first line in the spool file passed to filters is as this : ClientDomain;ClientIP;ClientPort;ServerDomain;ServerIP;ServerPort;Time;Logo The filter docs need some revision, for sure (I assume you're using version 1.21). Second : After getting a copy of some spool files with a test filter that only copy the spool file and return ok, and after reading the them, first line is really formatted like this : [aaa.bbb.ccc.ddd]:eee;[fff.ggg.hhh.iii]:jjj;Mon, 23 May 2005 12:05:39 +0200 As you can see no 'ClientDomain' field, no 'ServerDomain' field, and no 'Logo' field ! No info in changelog !!! What you report seems to be the first line of the spool files stored in the queue. The docs say that the format of the @@FILE passed to SMTP filters is different. Are you sure you got the right spool file? Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: MTP filters docs (and ML question)
At 20.53 03/05/05 +0200, you wrote: On Tuesday, May 03, 2005 10:15 AM [GMT+1=CET], Francesco Vertova [EMAIL PROTECTED] wrote: The (unrelated) question is: a ListSender[tab] in user.tab sets an empty MAIL FROM: in delivering to ML users without changing the mail headers (much like NoSenderBounce in server.tab and unlike UseReplyTo), right? Yes - ListSender _is_ the return path. And not more - imho that's by design and no bug ;) That's how it should be, in fact. Just wanted to be sure. I'm considering replacing a very long redirect line in one user's mailproc.tab with one single redirect to an ad hoc list, to reduce backscatter. This, on the assumption that BS from a real mailing list is easier to tame ... Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] SMTP filters docs (and ML question)
Hi all, for those of you who are wondering why /domain$/ may not match a @@FILE's 4th line: the SMTP filters docs should say MAIL FROM:...[ SIZE=...] [ 4th line ] rather than MAIL FROM:... [ 4th line ] Apparently, the line holds the peer's MAIL FROM command as is, including the (optional) SIZE param. The (unrelated) question is: a ListSender[tab] in user.tab sets an empty MAIL FROM: in delivering to ML users without changing the mail headers (much like NoSenderBounce in server.tab and unlike UseReplyTo), right? Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Never seen before
At 07.18 12/04/05 -0700, you wrote: Only, no SMTP transaction was logged for about 1 hour. Nothing in the Event Log, disk OK (no errors in chkdsk), no server load (30 messages or so during the blackout, no idea about rejected connections: they are only logged in smtp logs). Has anybody seen this below? Well, if port 25 was temporarly blocked ahead of you, this might explain the blackout. The blackout was only in smtp logging, not in mail processing. Mail was sent and received via smtp, filters were run on these mails, there is track of this in filters and smail logs (and in mail headers), no track in smtp log. From what I see, the only things I can think of so far are: 1) security breach: a hacker - or myself during sleep typing - deleting some lines from smtp-20050412000 ;-) 2) some process temporarily preventing XMail from writing to the above file, without XMail or the OS complaining in any way ... 3) weird, weird bug? No comment about 1) ... but do 2) or 3) make sense? A fourth scenario? Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: server.tab
At 00.55 06/04/05 -0700, you wrote: Can _NOT_ be modified while XMail is running (And shouldn't be edited by hand - use the CTRL Admin Protocol instead): aliases.tab aliasdomain.tab domains.tab extaliases.tab mailusers.tab pop3links.tab They shouldn't be modified through the CTRL cfgfileset command either, right? Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: name of xmail log files is wrong
At 07.55 28/03/05 +0200, you wrote: I use 1.21 As I tought today the logs are fine. But we could think about next change... I've been using XMail since version 1.17, first on NT4 then on Win2K (always with the latest service pack) and I've always observed this behaviour at daylight saving time change: a new log file ending in 2300 (when DST starts) or 0100 (when DST ends) is created at the time of change. The next day the file namings become again normal (, I've no hourly rotation set). The reason of this behaviour has always been very obscure (Davide sent a test programme some time ago: though it uses the same routine as XMail, it does not exhibit this ...). Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: anti-spam DNS MX Record Lookup
At 20.32 28/03/05 -0800, you wrote: Hi all - Does anyone know of a way, or have a filter written to, do a lookup of the domain in the from field and/or the return field of an email and check that it has a valid MX record as a spam deterrent using XMail? At least on my server ( 90% of incoming mail rejected by DNSBLs ...) most spam comes from [EMAIL PROTECTED], so it's no use checking the MAIL FROM domain. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: name of xmail log files is wrong
At 23.42 29/03/05 +1000, you wrote: Sounds more like it is only a problem on the _day_ DST changes. DST usually changes at 02:00, so I'm guessing that on the day of change, when a new log is being rotated, the new day is having 1 hour adjusted when the file name is being calculated at 00:00 (day change) Nope, the day DST changes two log files are created: one, correctly named, holds entries until 2am (DST starts) or 3am (DST ends); after 01.59.59 am a new file is created, incorrectly named, that holds entries for the rest of the day (from the next day on, as I've said, log file names are correct again). Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: MAIL FROM: Syntax
At 17.06 17/02/05 +0100, you wrote: What's a clear response ;-) Thanks Chris ;-) What is the new crypto algo used here ? Didn't pass any crack here ... = ;-) Francis -Message d'origine- De : Chris L. Franklin [mailto:[EMAIL PROTECTED] Envoy=E9 : jeudi 17 f=E9vrier 2005 14:30 =C0 : xmail@xmailserver.org Objet : [xmail] Re: MAIL FROM: Syntax SW4gdGhpcyBjYXNlIEV4Y2hhbmdlLCB5b3UgY2FuJ3QgaGF2ZSBhICIuIiByaWdodCBuZXh0= IHRv I guess that Chris's message left his MUA with Content-transfer-encoding: 8bit; some piece of software on the route from him to the list decided that 8bit should be converted to base64, but didn't change the header accordingly. This is the outcome ... Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Syntax questions
Hi all, current XMail (1.21) accepts addresses such as real name [EMAIL PROTECTED] (tries to deliver to address], which eventually results in a DNS failure) or 'real name' [EMAIL PROTECTED] (tries to deliver to address, which eventually results in a user unknown from address). Is this correct? (Note the [ ] in the first case, the single quotes inside double quotes in the second). Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Abemus Papam ...
At 22.59 10/01/05 +1100, you wrote: Thanks Davide, Would you believe Google can't translate Abemus Papam There are numerous google hits, but I have been unable to workout what you said - only I think it is related to Finally Could you enlighten the non Italian speaking world? It isn't Italian, but Latin, and (with a leading h) means We have the Pope (the Vatican's ritual formula to announce that the new Pope has been elected) ... Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Perl filters on Windows
At 23.52 01/11/04 -0500, you wrote: If I wan to run a perl script (on Windows)should the command be: c:\perl\bin\perl.exe[TAB]MyFilter.pl[TAB]@@FILE... or c:\perl\bin\perl.exe MyFilter.pl[TAB]@@FILE... for some reason following line doesn't work: MyFilter.pl[TAB]@@FILE... even though .pl is correctly associated with perl.exe and executing MyFilter.pl from a command line works as expected. In order to run an interpreted script on Windows you have to put the interpreter as the command in the filters file, with the script as the first parameter (not only Perl, but VBS etc.). Registry associations do not work in XMail (you may also have noticed that running script.pl from the command line does not allow you to redirect output, while you can by running perl.exe script.pl). Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Block (some) attachments
At 21.12 11/10/04 +0200, you wrote: Thank you Francesco, It indeed worked. Can you tell me what's the different between filters*.tabs? I want to use the fastest attachment check. No other check (AV, content) is used. Shouldn't I use the filters.in or global filters file? In my own view, the best place to put an AV/anti-attach filter is in filters.post-data.tab (since you want to filter all messages regardless of whom they are from or to). But I had to add an AV check - besides rejecting exes, pifs and things like that - because I didn't want to prevent users from sending zip attachments, nor to let zipped viruses in. Originally, FLAVS was designed to be a filters.in filter and to send a virus found notification (which is very bad practice). Be sure to modify FLAVS so that it sends an appropriate 550 SMTP error message (look at the section on the .rej file in the source code). Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Block (some) attachments
At 13.51 11/10/04 +0200, you wrote: Hi all, What's the easiest way to reject mail that contains exe, pif and vbs and received on XMAIL 1.20 (windows)? I've been running a modified version of Michail Altair Valasek's FLAVS for a year (the link to the original version can be found on the XMail home page). It's a VBS script that rejects messages with executable attachments and calls F-PROT antivirus (DOS) for those with a .ZIP attachment. I've set it up as a post-data filter (issues a 550 error after the final crlf dot crlf). Works well on my lightweight NT4 server, no idea of possible performance issues with a more heavily loaded server. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Block (some) attachments
At 16.24 11/10/04 +0200, you wrote: Francesco hi, This looks like exactly what I need, but although xmail process the filter, the bad attachment still delivers. I tried changing the error code (from 97 to 4), but it didn't work either (message was still delivered. Can you help me getting it rejected? Here's a snippest of the log file. If you plan to run it as a post-data filter you need to set the EXITCODE_BAD to 3. I see from the log that the filter itself does catch the court.exe attachment. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: SMTP Log desc
At 01.08 06/08/04 +0200, you wrote: I'm looking for a smtp log file description. I need to give a name to each column of data. Found nothing in doc. Any help ? Thanks. Try here: http://xmail.eye-catcher.com/products/XMail/LogFiles/index.asp Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Special character problem?
At 09.55 02/08/04 +0200, you wrote: I received a complained where people could not reply to a message they =3D received because the reply field seemed empty in their mail client. =3D Appearently the people who sent these mails have special characters in =3D their names like 'L=3DE9on'. If I look at the headers I receive in xmail it looks like this: From: =3D =3D3D?WINDOWS-1252?Q?=3D3D22user=3D3D2C_L=3D3D2E_=3D3D28L=3D3DE9on=3D3D29= =3D3D22?=3D3D=3D20 [EMAIL PROTECTED] This seems like a very strange from field, Looks like a Q-encoded From header, messed up by Ecartis but is this caused by xmail =3D or 'the other end' ? The problem seems to be between the keyboard and the chair, as often: the=20 user put an '=E9' - e acute - in the e-mail address, where he/she should= have=20 probably put a simple 'e'. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: XMail Filter @@MACROS
At 11.15 28/05/04 -1000, you wrote: I think it would be neat to allow replacement anywhere in an argment, so you could write something like: /some/path/myfilter.pl rcpt=@@RCPTmsg=@@FILEfrom=@@FROM and have the replacements done. Then, in this example, you could parse a single argument like a query string and be sure everything matches up ok. The possibilities are endless ;) I was interested in this - needed to enclose @@FROM in quotes - and had an exchange with Davide a few days ago. I'm no longer interested - b/c of the new SMTP filters - but it might be nice. I vote for. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] New file naming convention?
Hi all, for those who have not looked at the headers of this msg: 1.19-pre06 has been up and running for a day on my Windows NT box :-) I noticed that message files are no longer named stime.pid.hostname but stime.pid.hexdigit.hostname. What's that additional hex digit for? (I also noticed that XMail no longer publishes the platform (Win32/Ix86) together with the server version in the received header ...) Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Log files fields meanings
At 16.02 25/05/04 +0200, you wrote: where can I find the meanings of all the fields in xmail log files? Try here: http://xmail.eye-catcher.com/products/XMail/LogFiles/index.asp Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: 1.19-pre05 (Unix and Win32) ...
At 11.39 23/05/04 -0700, you wrote: (I need to escape @@FROM b/c the Windows VBS interpreter sees everything beginning with // - including a malformed MAIL FROM address - as an argument to itself rather than to the script ...). If you have: myexe.exe @@FROM@@FROM@@FROM the parameter is substituted everywhere. But if you have: myexe.exe a@@FROM or myexe.exe @@FROMa the parameter is not substituted. I think I'll use something like this: [TAB]\[TAB]@@FROM[TAB]\[TAB]... It's a little cumbersome, though ... Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: 1.19-pre05 (Unix and Win32) ...
At 12.58 22/05/04 -0700, you wrote: I made 1.19-pre05 for Unix (source) and Win32 (source and binaries): http://www.xmailserver.org/xmail-1.19-pre05.tar.gz http://www.xmailserver.org/xmail-1.19-pre05.win32bin.zip I'd like to receive reports from all the architectures XMail runs on, that on 1.19 count one more (OSX). This one it is running fine on my Linux box hosting xmailserver.org. Wow :-) is a SMTP or message ID available as a macro argument to SMTP filters? It might be useful for a filter to record it in its own log, in case you want to cross-check it with XMail's SMTP log and see what each says about a particular message ... A related question about macro-arguments: can a macro be part of an argument, besides being used as an argument? Suppose I need to enclose a parameter in quotes, may I put, say, \@@FILE\ as a parameter in the .tab file? Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: filter.{pre|post}-data.tab
At 12.46 13/05/04 -0400, you wrote: I've noticed that, when a message is rejected by filter.pre-data.tab or filter.post-data.tab, no log entry is made in the SMTP logs. It might be a good idea to add a log entry there, so that log review can see that (why) a message was rejected... I agree: a RCPT=EFILTER or DATA=EFILTER in the SMTP logs would be very nice :-) Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Mail loop detected - Can't seem to find the problem.
At 12.11 12/05/04 -0500, you wrote: Why Xmail decided to use the A record from the next DNS it was able to talk with is beyond me. My dns reports MX information for bioenergy.com as Non-authoritative. It seems - I've seen this other times - that in such a case the XMail internal resolver fails, so it falls back on A. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]