[xmail] Re: filter not working (is never executed)
Hello First think to specify when posting to the list (please) : OS version, XMail version Second think to verify : Xmail logs to see if xmail really start the filters Third : I think python, like others good languages, have 'minimum' error = control possibilities (=E0 la 'on error goto' !? ;) ), so you could get any = 'error' from your script ? Lastly : Generaly problems come with user permissions : Does the OS 'user' used = by xmail have : read access on python and the filter script, they directories or files ? write access to the directory where your filter want to write ? Francis -Message d'origine- De : Tiziano Bettio [mailto:[EMAIL PROTECTED] Envoy=E9 : lundi 11 avril 2005 08:52 =C0 : xmail@xmailserver.org Objet : [xmail] filter not working (is never executed) =20 =20 Hi There =20 My Config is as follows: =20 filters.in.tab / filters.out.tab: =20 **0.0.0.0/00.0.0.0/0avscan.tab =20 avscan.tab: =20 /usr/bin/python /var/MailRoot/filters/avscan.py @@FILE=20 @@FROM@@RCPT =20 =20 just to see if it runs the app with args i write a file, but=20 this file=20 is never/nowhere created... =20 =20 i can't figure out why it isn't working... =20 =20 please help me - 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] =20 - 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 not working (is never executed)
-Message d'origine- De : Tiziano Bettio [mailto:[EMAIL PROTECTED] Envoy=E9 : lundi 11 avril 2005 19:29 =C0 : xmail@xmailserver.org Objet : [xmail] Re: filter not working (is never executed) =20 =20 Well to clear it up: =20 OS: Linux Debian Woody =20 Version: XMailserver 1.17 Did you try 1.17 ? Currently xmail last release is 1.21 ... And especialy last versions give options to log filters execution .. .. I'm stuck now with the problem, that I can't find my logfiles... in=20 other installations I found my log under MailRoot/logs where=20 I right now=20 don't find a file. This is the corret place ... =20 Any help on how to spawn or configure the server to write logs?? Review xmail CMDLINE parameters to turn on various logs Remember that only v1.21 have -Qg option for filters logs Francis - 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: Maybe Odd - Maybe not. SMTP Outbound
In fact, it is 'normal' ... On your xmail server your two interfaces are in the same network. Windows (seems to ?) allways use the smallest ip assigned ... So it will allways use .4, except when you disable the interface. Note that xmail -Sp 25 direct xmail to 'listen' for incoming = connexions. Choice for outgoing connexions are done at os level. (don't know if it = is possible to force by program to use a specific ip) You could try to set a different network for the current .66 xmail = interface and set default route to the pix ONLY on this interface. Doing so, windows will not have the choice when it want to connect to = ip's not in your local network. You will need to configure the pix too to translate the new xmail ip to = the good .51 external ip. PS: I don't exactly understand why you put two interfaces on the xmail server ... Francis -Message d'origine- De : Brett [mailto:[EMAIL PROTECTED] Envoy=E9 : lundi 18 avril 2005 06:48 =C0 : XMail List Objet : [xmail] Maybe Odd - Maybe not. SMTP Outbound =20 =20 =20 OK - First - I want to thank Davide and the others who helped=20 for working out such a nice SMTP mail program. =20 I am interfacing XMail as a frontend server to an Exchange 2000 = server (which honestly can't even handle the load of our less than=20 100 users - in the current email environment - I think you know what I mean...) And it has performed almost flawlessly since March 1st. It has been the only server on two other domains - but they don't get any=20 mail at all really - since December of 2003. =20 Now I have finally gotten everything working so it can handle=20 all three domains and it does everything except Spam Filtering like=20 SpamAssassin. Everything logged is also dumped to a MySQL database. =20 I do allow users to filter email based on address or domain=20 through our Intranet server (same box) or by address by emailing the=20 server directly. =20 I have added an LDAP routine to pull the current users from Active Directory but not in real time (kind of wasteful). And have=20 successfully set up Exchange to only talk to the XMail server in both directions = to further protect it. =20 I have one problem left before I dive into Spam filtering... =20 I am Spam. 8-) In my Internet configuration, we have a=20 block of 16 IPs from our provider. Base is the router. Top is network. I understand that. Let's say xxx.xxx.xxx.50 used to be just for email in=20 and out of the Exchange box. 51 is our outbound NAT port - EVERYTHNIG=20 goes thru that that is not assigned else where. 56 is the XMail server for=20 three domains - web server for three domains - internally it also runs our = Intranet. =20 I am running XMail on a Dual Pentium nachine with half a Gig=20 - so she is screaming. But my problem is it also has two NIC ports. One=20 is set up for the Internet thru the PIX firewall - 192.168.144.66 and=20 the other has all the M$ stuff for the internal network - 192.168.144.4. =20 Any guesses where XMail sends out all the outbound emails to = Yup. 192.168.144.4 - which is then NATted through the Firewall to our xxx.xxx.xxx.51 IP - which is NOT DNSed (forward OR reverse=20 8-) to an MX record - nor should it be! I want any desktops that are=20 sending email to be classed as spam! =20 So I searched. My registery had -Sp 25 -SI=20 192.168.144.66:25. Thought maybe the -Sp 25 was allowing use of the 1st LAN port - took=20 it out. No change. Left it out - works fine without it. Read that=20 dnscache may be holding routes in it. Blew it away. No change. Disabled=20 the LAN port - Bingo! mail goes out the right IP. So anyway - I don't get it. =20 Any clues? I just tryed the Network order under Networking. (I had = a dream...) Still goes out 192.168.144.4 Only way it works is to disable 192.168.144.4 - but that is my LAN address for=20 everything else! =20 Brett - 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] =20 - 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: Maybe Odd - Maybe not. SMTP Outbound
Thanks Charles Seems Brett tried your solution to delete the default route to the = 'bad' interface and it worked now. Playing with metrics could do the job but in Brett case if low metric = route is not available for some reasons the os will use the next route and = the problem will come back ... Francis -Message d'origine- De : Charles Frolick [mailto:[EMAIL PROTECTED] Envoy=E9 : lundi 18 avril 2005 16:39 =C0 : CLEMENT Francis Objet : [xmail] Re: Maybe Odd - Maybe not. SMTP Outbound =20 =20 Hello CLEMENT, =20 Monday, April 18, 2005, 5:28:11 AM, you wrote: =20 =20 CF In fact, it is 'normal' ... CF On your xmail server your two interfaces are in the same network. CF Windows (seems to ?) allways use the smallest ip assigned ... CF So it will allways use .4, except when you disable the interface. =20 CF Note that xmail -Sp 25 direct xmail to 'listen' for incoming =3D CF connexions. CF Choice for outgoing connexions are done at os level.=20 (don't know if it =3D CF is CF possible to force by program to use a specific ip) =20 If you have two network interfaces on the same subnet under windows, which ever one has the default gateway programmed in its settings is the outgoing card. If you want to know which one gets preference, simply type 'route print' at the command prompt, it will show you the routing table with metrics, you should even be able to adjust the metrics, but I have never needed to play with that, so I don't know how. =20 --=20 Best regards, Charlesmailto:[EMAIL PROTECTED] =20 =20 - 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] =20 - 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: AW: Re: AW: Bind sending IP ?
-Message d'origine- De : Harald Schneider [mailto:[EMAIL PROTECTED] Envoy=E9 : mardi 19 avril 2005 11:22 =C0 : xmail@xmailserver.org Objet : [xmail] AW: Re: AW: Bind sending IP ? =20 =20 No, the server's hoster don't wants to see this IP in any DSN=20 records =3D :-/ I also assume that this decision is done on OS level, just as on =3D Windows. Any thoughts about this reagarding the routing table or metrics? Theoretically it should choose another interface, if I=20 increase metrics of inteface 1 to 100. Any experiences out there ? Theoricaly this should work This allways works when the host route incoming packets, but this = depends of ip implementation when playing with localy generated packets. = Theoricaly local packets should be routed the same way ... Francis =20 --Harald =20 =20 =20 -Urspr=3DFCngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von CLEMENT = Francis Gesendet: Dienstag, 19. April 2005 11:03 An: 'xmail@xmailserver.org' Betreff: [xmail] Re: AW: Bind sending IP ? =3D20 =3D20 As for Windows, it is to the OS to select the outgoing=3D20 interface, and =3D3D it seems linux acts as windows, take the first 'lowest' ip ? =3D20 Don't know, if on linux (or windows, or freebsd, ...) a=20 program can =3D =3D3D tell the os to use THIS ip for outgoing connexions. =3D20 In your case, why not simple add a rdns record for ip 1 ? =3D20 Francis =3D20 =3D20 =3D20 -Message d'origine- De : Harald Schneider [mailto:[EMAIL PROTECTED] Envoy=3D3DE9 : mardi 19 avril 2005 08:06 =3D3DC0 : xmail@xmailserver.org Objet : [xmail] AW: Bind sending IP ? =3D3D20 =3D3D20 - The machine hosts 3 IP adresses (1,2,3) =3D3D20 Some additional info: #2+3 are virutal network interfaces. =3D3D20 --Harald =3D3D20 - To unsubscribe from this list: send the line unsubscribe=20 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] =3D3D20 - 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] =3D20 =20 - 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] =20 - 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: AW: Re: AW: Bind sending IP ?
-Message d'origine- De : /dev/null [mailto:[EMAIL PROTECTED] Envoy=E9 : mardi 19 avril 2005 12:00 =C0 : xmail@xmailserver.org Objet : [xmail] Re: AW: Re: AW: Bind sending IP ? =20 =20 Greetings, Actually the only way to get around the AOL thing (and=20 others) is to be able to *authorativly* answer for the IP to NAME matching. In=20 other words; having a Name Service (Domain Name System) running that can answer = the querries from AOL and anyone else trying to filter spam from=20 their mail servers/ Customers. This is the only way to get past the problem you originally mentioned you were having. Your routing=20 Correct situation stems from the GW (gateway) IP. That is the lowest IP (1 in this case)=20 *must* be your gateway in almost any situation. It is more of the way networking is designed than an OS situation. It is all calculated=20 mathematically. Net Blocks are created in such a way that you have NET and=20 BCAST numbers and you will almost always need to use your Lowest number=20 NET as your gateway. Because the Network Protocol is designed to=20 communicate in this fashon, so looks there for that type of information. Hope that helps. False Networks Numbers assignements don't fix the ip to use on the gateway. I personnaly use a ip in the 'middle' of our ip block and this is = correct. I too use another 'middle' ip for my smtp server. I just have to create a good PTR entry for it to pass aol and other = rdns checks ... Use of the first or last ip available in a block (except broadcasts) is = just a 'convention'. Francis - 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] Just a test second test .. Sorry.. but my last posts to the list did not come back ...
Testing xmail list - 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
Using a rbl (and spamhaus is a good one) and others tools like RDNS, = GLST, AV, anti-spam, ... is not a problem IF you take care to advertise your = users (if possible before effective deployment date) and explain them = advantages and possible problems (and how to explain problem to their contacts ... = a reference page in your site can help ...). So educated users will not ask you for this type of problems ... (or = only a few 'irreducible' ..) At this time I don't use RDNS nor Checkmailer domain due to too many = badly configured domains, especially domains hosted on access providers in = their packages, sheep hosting providers, reducing cost to minimum so = discarding any no absolutely necessary configurations like PTR, since they are not 'forced' by smtp related rfc's to do them to function (not mandatory). I think Internet have to change definitively to a new safe mail = protocol ... In the hope SMTP that 'Simple Mail Transport Protocol' becomes 'Safe = Mail Transport Protocol' (smtp + mandatory thinks like spf, ... for example) = ;-) But problem is 'backward compatibility' and until you accept old smtp, = you don't resolve the problem definitively. Or all Internet need to switch at the same time to new protocol with no = more backward compatibility. (option is to allow mixed environment for some months, 2 years ? seems = to me good enough, then only accept new protocol) Francis -Message d'origine- De : Javier Navarro [mailto:[EMAIL PROTECTED] Envoy=E9 : jeudi 19 mai 2005 09:44 =C0 : xmail@xmailserver.org Objet : [xmail] RDNS and RBLsquestion =20 =20 Hi Last days I've been using RDNS and RBL=20 (sbl-xbl.spamhaus.org) ckecks and many of my customers had=20 problems. Some because they couldn't receive e-mail from=20 other ISPs that didn't configure RDNS and others because they=20 couldn't receive mail from blacklisted IPs. =20 I'm having RDNS problems even with important companies here=20 in Spain and it's dificult to explain my customers that this=20 is caused by other's bad configuration. My customers say:=20 Yesterday I could recive from and now I can't. What did=20 you changed?. And some of these important companies say they=20 can't set a RDNS record since they host several services per IP. =20 I write to ask you about your experience with RDNS and=20 RBLs. What configuration do you use? What RBL servers do you use? =20 Thanks, =20 Javier Navarro =20 =20 - 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] =20 - 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] Filters and info line format in spool files (first line)
Hello Davide and list I'm confused ! 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 (Note that no info on first line is given in external commands sections in doc ...) First : What is the exact supposed to be in fields 'ClientDomain', 'ServerDomain' and 'Logo' ? (smtp equivalent or dns equivalent or session ...) 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 !!! ( [ and ] surrounding ip's is not the problem as this change is noted in changelog ... but doc not corrected to reflect this :-) ) Lastly (at this time ;-) : Nor the first line in the spool file, nor filters/external commands @@ parameters can return the 'HELO' or 'EHLO' date send by the remote client at start of smtp session ? Or does this info 'normally' comes in one of the missing fields 'ClientDomain' or 'Logo' ? If none of these fields should return this value and as no @@ macro currently exist, it could be usefull to have Helo/Ehlo data (in first line in spool file and in a @@macro). I am currently writing a filter to test agains helo/ehlo forgery because I received many spams that are send from real 'spammers' smtp servers/tools that retry and tools like glst accept the mail on later retry but announced helo/ehlo is one of your own domain names or one of your own ip's or 127.0.0.1, so my filter will compare helo/ehlo data with own domains/alias domains and own ips and in case of match compare the real sender ip to accept or reject session (some regular expressions do the job very well). A sort of 'local' spf complementing the 'standard' spf. Actually I have to do this in a post-data filter to read xmail generated 'Received from: ' to get helo/ehlo data, and it works fine, but if I have helo/ehlo data available in pre-data filter stage I will be able to close connexion before receiving data ... Thanks Francis - 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 l ine)
Correction : Read 'HELO' or 'EHLO' data !! (not date ...) Lastly (at this time ;-) : Nor the first line in the spool file, nor filters/external commands @@ parameters can return the 'HELO' or 'EHLO' date data send by the remote client at start of smtp session ? - 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 (fir st line)
The filter docs need some revision, for sure (I assume you're using version 1.21). Yes 1.21 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? You are right, I used only my super (the best filter in the world :-) ) copyfilter only in filters.in and filters.out not in filters.pre-data and filters.post-data ... After testing my 'super' copyfilter in filters.pre-data and filters.post-data I got the GOOD lines !!! So my request have to be changed a bit (sorry ...) : 1 - Doc states incorrectly the format of first line in @@FILE (or @@TMPFILE) in various places : For filters.pre-data and filters.post-data, format description in doc is good But for filters.in, filters.out, mailproc/custom domain/cmdaliases 'external' and 'filter' commands, format is : [client-ip]:client-port;[server-ip]:server-port;date 2 - Enhancement request in xmail code (very low priority) : All the stages in xmail can use the same 'first' line format actually used in filter.pre/post-data .. As the complete line is allready written at pre-data/post-data stage in the file, it can be left as is in the spool file, so xmail haven't to rewrite it completly, just move data to spool after post-data stage, and others stages have same info as pre/post filters (sure, not important as these data can be found in the mail-data part, but this need to analyse data part to correctly retrieve some of them if needed, more complex to write and time wast in filters/external commands) And the most important ;-) : doc doesn't need any change ... Thanks Francis - 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: Problem sending mail from PHP
-Message d'origine- De : ST Ooi [mailto:[EMAIL PROTECTED] Envoy=E9 : mardi 31 mai 2005 09:23 =C0 : xmail@xmailserver.org Objet : [xmail] Problem sending mail from PHP =20 =20 $mail-From =3D [EMAIL PROTECTED]; $mail-AddAddress([EMAIL PROTECTED], Patrick Ooi); $mail-AddReplyTo([EMAIL PROTECTED], ST Ooi); Not a php specialist (never written a single line in php) but emails = are not compliants to rfc's At smtp level '[1]' or '[2]' or '[3]' at end of an email address is not = a valid domain name :) If it is 'php' or PHPMailer specific ... put my post in the trash ... = :) Francis - 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: Disable mail loop eventlog entries
-Message d'origine- De : Michal Altair Valasek [mailto:[EMAIL PROTECTED] Envoy=E9 : mardi 31 mai 2005 12:19 A : xmail@xmailserver.org Objet : [xmail] Disable mail loop eventlog entries =20 =20 give it a Error status. =20 Davide, may you please change the status to something less=20 important, like information? Or allow user to stop emiting such messages at all? =20 Can I suggest to be warning, not 'error' nor 'information' .. I think = it's more appropriate ... And Yes, an option to not log at all and/or to specify eventlog to use = (as on =3D w2k you can create your now eventlog files so admin could = create a xmail specific eventlog and set xmail to use it) Francis - 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
Using a rbl (and spamhaus is a good one) and others tools like RDNS, = GLST, AV, anti-spam, ... is not a problem IF you take care to advertise your = users (if possible before effective deployment date) and explain them = advantages and possible problems (and how to explain problem to their contacts ... = a reference page in your site can help ...). So educated users will not ask you for this type of problems ... (or = only a few 'irreducible' ..) At this time I don't use RDNS nor Checkmailer domain due to too many = badly configured domains, especially domains hosted on access providers in = their packages, sheep hosting providers, reducing cost to minimum so = discarding any no absolutely necessary configurations like PTR, since they are not 'forced' by smtp related rfc's to do them to function (not mandatory). I think Internet have to change definitively to a new safe mail = protocol ... In the hope SMTP that 'Simple Mail Transport Protocol' becomes 'Safe = Mail Transport Protocol' (smtp + mandatory thinks like spf, ... for example) = ;-) But problem is 'backward compatibility' and until you accept old smtp, = you don't resolve the problem definitively. Or all Internet need to switch at the same time to new protocol with no = more backward compatibility. (option is to allow mixed environment for some months, 2 years ? seems = to me good enough, then only accept new protocol) Francis -Message d'origine- De : Javier Navarro [mailto:[EMAIL PROTECTED] Envoy=E9 : jeudi 19 mai 2005 09:44 =C0 : xmail@xmailserver.org Objet : [xmail] RDNS and RBLsquestion =20 =20 Hi Last days I've been using RDNS and RBL=20 (sbl-xbl.spamhaus.org) ckecks and many of my customers had=20 problems. Some because they couldn't receive e-mail from=20 other ISPs that didn't configure RDNS and others because they=20 couldn't receive mail from blacklisted IPs. =20 I'm having RDNS problems even with important companies here=20 in Spain and it's dificult to explain my customers that this=20 is caused by other's bad configuration. My customers say:=20 Yesterday I could recive from and now I can't. What did=20 you changed?. And some of these important companies say they=20 can't set a RDNS record since they host several services per IP. =20 I write to ask you about your experience with RDNS and=20 RBLs. What configuration do you use? What RBL servers do you use? =20 Thanks, =20 Javier Navarro =20 =20 - 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] =20 - 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: Disable mail loop eventlog entries
-Message d'origine- De : Michal Altair Valasek [mailto:[EMAIL PROTECTED] Envoy=E9 : mardi 31 mai 2005 12:19 A : xmail@xmailserver.org Objet : [xmail] Disable mail loop eventlog entries =20 =20 give it a Error status. =20 Davide, may you please change the status to something less=20 important, like information? Or allow user to stop emiting such messages at all? =20 Can I suggest to be warning, not 'error' nor 'information' .. I think = it's more appropriate ... And Yes, an option to not log at all and/or to specify eventlog to use = (as on =3D w2k you can create your now eventlog files so admin could = create a xmail specific eventlog and set xmail to use it) Francis - 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)
Correction : Read 'HELO' or 'EHLO' data !! (not date ...) Lastly (at this time ;-) : Nor the first line in the spool file, nor filters/external commands @@ parameters can return the 'HELO' or 'EHLO' date data send by the remote client at start of smtp session ? - 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: Report concerning SmartDNSHost
-Message d'origine- De : Davide Libenzi [mailto:[EMAIL PROTECTED] Envoy=E9 : mardi 31 mai 2005 23:56 =C0 : xmail@xmailserver.org Objet : [xmail] Re: Report concerning SmartDNSHost =20 =20 On Tue, 31 May 2005, Leonardo Fogel wrote: =20 Hi. I had changed the SmartDNSHost variable in the server.tab: --- Old value --- SmartDNSHost 200.20.235.49:udp,200.20.235.49:tcp --- New value --- SmartDNSHost 10.0.1.2:udp but XMail used both DNSs until I restarted it. =20 Hardly, since XMail always reload the server.tab file (no caching). =20 Yes, server.tab is not cached... But Xmail can continue to use tcp dns requests even if smartdnshost = only specify udp since in xmail code, xmail automaticaly switch back to tcp = when udp response is truncated. In DNS.cpp, function DNS_GetDomainMXDirect (called when smart dns host = is set) : switch (iQuerySockType) { case (DNS_QUERY_TCP): { .. .. .. case (DNS_QUERY_UDP): default: { = /// // Try needed UDP query first, if it's truncated switch to TCP query = /// bool bTruncated =3D false; - if (((pRespData =3D -DNS_QuerySendDGram(pszDNSServer, DNS_PORTNO, DNS_SOCKET_TIMEOUT, - DNSQ, iQueryLenght, bTruncated)) =3D=3D NULL) - bTruncated) - pRespData =3D - DNS_QuerySendStream(pszDNSServer, DNS_PORTNO, - DNS_SOCKET_TIMEOUT, DNSQ, iQueryLenght); if (pRespData =3D=3D NULL) return (ErrGetErrorCode()); } break; } Francis - 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: Problem sending mail from PHP
-Message d'origine- De : ST Ooi [mailto:[EMAIL PROTECTED] Envoy=E9 : mercredi 1 juin 2005 03:58 =C0 : xmail@xmailserver.org Objet : [xmail] Re: Problem sending mail from PHP =20 =20 Hi, BTW, this is a line of log that I extracted from XMail SMTP log file. =20 localhost 127.0.0.1 2005-06-01 09:47:37 localhost [EMAIL PROTECTED] [EMAIL PROTECTED] S1BFE2=20 RCPT=3DERELAY 0 =20 I didn't use array, it's being added. View a screen shot at http://www.laser-compo.com/s.gif[3] Strange here !!! the url in your mail have a [3] too !!! =20 ST Ooi =20 - Original Message -=20 From: NOTA Postmaster [EMAIL PROTECTED] And here too !! To: [EMAIL PROTECTED] And here too !! And continues to the bottom of the mail on every url or email address = Do you have a problem on your pc or server ? I think you have first to scan for viruses, trojans, spywares, and = patchs for you pc softwares :-) Francis - 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: Problem sending mail from PHP
Very strange A simple test : Reply to this message and add two virtuals emails and = an url My virtual emails : [EMAIL PROTECTED] [EMAIL PROTECTED] My virtual url : url : http://www.redlkfjd.com Francis -Message d'origine- De : ST Ooi [mailto:[EMAIL PROTECTED] Envoy=E9 : mercredi 1 juin 2005 09:41 =C0 : xmail@xmailserver.org Objet : [xmail] Re: Problem sending mail from PHP =20 =20 Hi, =20 But I have no problem sending the same page to my yahoo account. =20 Thanks =20 ST Ooi =20 =20 - 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: Problem sending mail from PHP
Sounds very strange ... no [n] here. The only difference I see is that it seems you didn't send this = response test from the same client : Some header lines of your mail what contain [n] problem : * Received: from client 218.111.187.69 for UebiMiau2.7 (webmail client); = Wed, 1 Jun 2005 9:58:07 +0800 Date: Wed, 1 Jun 2005 9:58:07 +0800 X-Original-IP: 218.111.187.69 Some headers lines of your test reply (last post) : *** Received: from client 192.168.123.1 for UebiMiau2.7 (webmail client); = Wed, 1 Jun 2005 18:38:15 +0800 Date: Wed, 1 Jun 2005 18:38:15 +0800 X-Original-IP: 192.168.123.1 (others lines are identical) Did you control the 218.111.187.69 machine ? (or is it the same in the = two cases ?) Francis -Message d'origine- De : ST Ooi [mailto:[EMAIL PROTECTED] Envoy=E9 : mercredi 1 juin 2005 12:38 =C0 : xmail@xmailserver.org Objet : [xmail] Re: Problem sending mail from PHP =20 =20 - Original Message From: xmail@xmailserver.org To: 'xmail@xmailserver.org' xmail@xmailserver.org Subject: [xmail] Re: Problem sending mail from PHP Date: 02/06/05 02:15 =20 Very strange A simple test : Reply to this message and add two virtuals=20 emails and =3D an url My virtual emails : [EMAIL PROTECTED] [EMAIL PROTECTED] My virtual url : url : http://www.redlkfjd.com Francis gt; -Message d'origine- gt; De : ST Ooi [mailto:[EMAIL PROTECTED] gt; Envoy=3DE9 : mercredi 1 juin 2005 09:41 gt; =3DC0 : xmail@xmailserver.org gt; Objet : [xmail] Re: Problem sending mail from PHP gt;=3D20 gt;=3D20 gt; Hi, gt;=3D20 gt; But I have no problem sending the same page to my=20 yahoo account. gt;=3D20 gt; Thanks gt;=3D20 gt; ST Ooi gt;=3D20 gt;=3D20 - To unsubscribe from this list: send the line=20 quot;unsubscribe xmailquot; in the body of a message to [EMAIL PROTECTED] For general help: send the line quot;helpquot; in the=20 body of a message to [EMAIL PROTECTED] =20 Message sent using UebiMiau 2.7.2 =20 - 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] =20 - 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
According to http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/filei= o/fs/n aming_a_file.asp com_, prn, nul, and ... files normally can't exit as these names are reserved. But windows api only test if file name 'begins' with them, not 'is = exactly' equal to them (probably a missing test in the code.. not resolved since = dos ). So you normally can't create any file begins with them in name There is a workaround : Use the 'UNC' convention for local files : \\?\completepath\filename so del \\?\C:\Mydir\com1.fr will work !! Note that you cannot use relative paths with this method because unc = starts with a \\?\ (so start at top of filesystem, as with network unc). And FINALLY, with unc paths you CAN create/modify/delete files ending = with period !!! So if you have a file c:\temp\test.fr. you can delete it with del \\?\c:\temp\test.fr. !!! Xmail use 'unc' convention on win32 to create/modify/delete files ... Francis -Message d'origine- De : Rich - AutoTraker Inc. [mailto:[EMAIL PROTECTED] Envoy=E9 : mercredi 8 juin 2005 16:54 =C0 : xmail@xmailserver.org Objet : [xmail] Re: DNS entry files =20 =20 Here we can't remove files like: com4.cz con.com com1.fr prn.pl com5.de com4.com com5.biz =20 Those look like normal file names to me. What is wrong with=20 them? Are you=20 sure they also don't have a trailing period? Are you on Linux and com,conand prn are reserved words? =20 Rich... www.autotraker.com AutoTraker Inc. =20 =20 - 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] =20 - 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: delivery delaying
- First change -Qn parameter that define max number of threads used by smail module of xmail (smail is responsible to deliver local and outgoing mails). Default value is 256. - See also if filters don't take too time to execute If you can, use preferably natively compiled filters (written in C, C++, ) faster than interpreted (or 'pseudo'-compiled) languages ... Verify if filters, especially when using 'shared' files like logs, databases, don't wait too much for the shared ressource to be available. - See also if real memory is able to take the job without swapping (no swap activity is allways the best). - Does you mail server used for others tasks ? See if they don't take too much system ressources ... (a dedicated mail server is the best. Put Webmail/web/ftp/... on another server) You will need to use analysers to examine performance counters for best results in finding best ram/swap/cpu/os/software configuration. Francis -Message d'origine- De : Helio Cavichiolo Jr [mailto:[EMAIL PROTECTED] Envoyé : vendredi 10 juin 2005 15:37 À : xmail@xmailserver.org Objet : [xmail] delivery delaying Hi ALL, I have a xmail server with 180 domains and 3000 accounts (total). The problem is that it receive the messages but expends too much time to deliver the messages to the account. Anyone have a solutions for this? Thanks -- Helio Cavichiolo Jr Analista de Sistemas Altecnet Informatica Ltda +55 19 8137-6822 - 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: Disable mail loop eventlog entries
-Message d'origine- De : Michal Altair Valasek [mailto:[EMAIL PROTECTED] Envoy=E9 : mardi 31 mai 2005 12:19 A : xmail@xmailserver.org Objet : [xmail] Disable mail loop eventlog entries =20 =20 give it a Error status. =20 Davide, may you please change the status to something less=20 important, like information? Or allow user to stop emiting such messages at all? =20 Can I suggest to be warning, not 'error' nor 'information' .. I think = it's more appropriate ... And Yes, an option to not log at all and/or to specify eventlog to use = (as on =3D w2k you can create your now eventlog files so admin could = create a xmail specific eventlog and set xmail to use it) Francis - 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] - 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
Using a rbl (and spamhaus is a good one) and others tools like RDNS, = GLST, AV, anti-spam, ... is not a problem IF you take care to advertise your = users (if possible before effective deployment date) and explain them = advantages and possible problems (and how to explain problem to their contacts ... = a reference page in your site can help ...). So educated users will not ask you for this type of problems ... (or = only a few 'irreducible' ..) At this time I don't use RDNS nor Checkmailer domain due to too many = badly configured domains, especially domains hosted on access providers in = their packages, sheep hosting providers, reducing cost to minimum so = discarding any no absolutely necessary configurations like PTR, since they are not 'forced' by smtp related rfc's to do them to function (not mandatory). I think Internet have to change definitively to a new safe mail = protocol ... In the hope SMTP that 'Simple Mail Transport Protocol' becomes 'Safe = Mail Transport Protocol' (smtp + mandatory thinks like spf, ... for example) = ;-) But problem is 'backward compatibility' and until you accept old smtp, = you don't resolve the problem definitively. Or all Internet need to switch at the same time to new protocol with no = more backward compatibility. (option is to allow mixed environment for some months, 2 years ? seems = to me good enough, then only accept new protocol) Francis -Message d'origine- De : Javier Navarro [mailto:[EMAIL PROTECTED] Envoy=E9 : jeudi 19 mai 2005 09:44 =C0 : xmail@xmailserver.org Objet : [xmail] RDNS and RBLsquestion =20 =20 Hi Last days I've been using RDNS and RBL=20 (sbl-xbl.spamhaus.org) ckecks and many of my customers had=20 problems. Some because they couldn't receive e-mail from=20 other ISPs that didn't configure RDNS and others because they=20 couldn't receive mail from blacklisted IPs. =20 I'm having RDNS problems even with important companies here=20 in Spain and it's dificult to explain my customers that this=20 is caused by other's bad configuration. My customers say:=20 Yesterday I could recive from and now I can't. What did=20 you changed?. And some of these important companies say they=20 can't set a RDNS record since they host several services per IP. =20 I write to ask you about your experience with RDNS and=20 RBLs. What configuration do you use? What RBL servers do you use? =20 Thanks, =20 Javier Navarro =20 =20 - 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] =20 - 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] - 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: Problem with XMail, POP and all Webmail Software
Seems these webmail softwares use the wrong message ID to refer to the mailbox mail !! Seems they use the LIST command result to 'point' to the messages in the mailbox and it is a BAD practice : LIST command returned values are not guaranteed to preserve message IDs across sessions So LIST command is generally used for pop3 client that will retreive all the mail, just using the LIST command to have an 'idea' of the number of mail available at the time of the list command To point to specific mails in the mailbox, programs (webmail or mua) MUST use the UIDL command to get real 'pointers' to the mails in the mailbox !! The UIDL are 'guaranteed' to point to the same mail in the mailbox and are not subject to change across sessions To clarify : On POP3 protocol, you have two commands to get the list of mails present in the mailbox : LIST or UIDL LIST +OK 5 15000 1 5034 2 2552 3 1195 4 1555 5 4664 So when a new mail comes in, in next LIST you can have : LIST +OK 6 15255 1 2552 2 4664 3 255 4 1195 5 1555 6 5034 And the webmail asking to delete message 3 (1195 bytes from first list command reference) will effectively delete message 3 (255 bytes) if delete command is send after new message is received in mailbox The GOOD webmail should USE the UIDL command : UIDL +OK 4 1 1028745715263.1556.toto 2 1062432866368.1924.toto 3 1062433302173.1404.toto 4 1067127927549.1956.toto The uidl is the right walue (1028745715263.1556.toto for example) and will not change after deleting messages or receiving new messages. The first colomn is only a counter, not a 'pointer'/index (just to count the number of returned lines) So after the server receive a new mail the UIDL will return something like this : UIDL +OK 4 1 1028745715263.1556.toto 2 1062433302173.1404.toto 3 1065447858963.2556.toto (new mail here) 4 1067127927549.1956.toto 5 1062432866368.1924.toto Even if the returned lines order can change (so don't use the first value as the index), the uidl don't change and point to the original good message !!! Francis -Message d'origine- De : Dan Porter [mailto:[EMAIL PROTECTED] Envoy : jeudi 16 juin 2005 09:35 : xmail@xmailserver.org Objet : [xmail] Problem with XMail, POP and all Webmail Software I have discovered a problem when using Xmail with POP and Webmail. I have had this problem using different webmail software, including: -Horde -Ilohamail -umpl_xmail -dwmail Since the problem occurs in so many different types of software, it may be something with Xmail, and it may be something with POP. The Problem: When you click to view an email, from your webmail inbox, the wrong email is shown. When you click to delete an email, from your webmail inbox, the wrong email is deleted. How to generate the problem: -Have a few emails in your inbox, log into your webmail and list out your inbox. -From another window, or Outlook, or somewhere else, send yourself an email. -Wait a minute or so to let your server process the email. -Click on an email in your inbox. If the wrong email shows up, you have created the same error as me. OR, delete an email in your inbox. If the wrong email is deleted you have experienced the same problem. What causes the problem: It seems like an index problem. Lets say you have three emails in your inbox. Each email will have a link on it so that you can click in to view that email, something like this: My Inbox view.php?id=1 Email From Bob view.php?id=2 Email From Mary view.php?id=3 Email From Ted Now pretend that as you are viewing your inbox, Jill sends you an email. Before you refresh your inbox, you decide to click on the Email From Mary to view it. Instead, you will be seeing the email from Bob. How come? It's because the indexes have shifted. If you go back to your inbox, it will be something like this: My Inbox view.php?id=1 Email From Jill view.php?id=2 Email From Bob view.php?id=3 Email From Mary view.php?id=4 Email From Ted Now you see why clicking on the email with an index of 2 brought up Bob's email rather than Mary's. This is a way oversimplified version of the problem, as the indexes are generally not in order (but they can be). Has anyone else noticed anything similar, or am I alone out there? Any suggestions? I don't really want to go to IMAP, too intensive on resources. - 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: Help Xscanner
-Message d'origine- De : Jeff Buehler [mailto:[EMAIL PROTECTED] Envoyé : mercredi 22 juin 2005 18:30 À : xmail@xmailserver.org Objet : [xmail] Re: Help Xscanner If you have a SPAM problem, I would advise the following configuration: 1. Dump windows. Ubiquitous != good. Install Linux or FreeeBSD. this may seem a bit elaborate, but in my opinion Windows is really not ideal (unstable, not too scaleable, not free) for running a mail server. I found My xmail 'windows' server runs good from xmail 0.96 to xmail 1.21 now and never restarted nor bugged ;-) (except for standard maintenance) I have too some FreeBSD running well too ... Badly configured Linux/FreeBSD/... equal badly configured windows too Don't be soo partial ;-) Well configured Windows equals well configured linux or others It's not really on these arguments that free software will win ... So don't start a war again please ... Spam Assassin works well for anti-spam purposes, but it's a little bit CPU intensive relative to ASSP in my experience. I'm sorry but I can't help you with the doList filter, although at first look doList seems to be a pretty weak anti-spam solution - it's just a filter without Bayesian analysis or anything. Jeff My one experience on spam battle : Run Xmail (one your os of choice, just configure the os correctly ...) Add it Davide's excellent GLST filter Add it a good virus scanner (av-filter from Dario, henry.it, with fprot or nai) At this time, you eliminate 99% spams without big cpu/software/harware/config... This is approximatively the result I found after 2 months with this configuration (we are hosters, with a good number of mails coming in every day) Francis - 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: Help Xscanner
Just to say that for me, free os will win the battle, especially in small business and finaly at home, only when a comprehensive, easy to use, complete admin gui will be available for use by anyone without big knowledge. This will help a lot ... Computers must be easy to use. The big point for windows is that it is easy to use, easy to manage/configure ... All tools are gui, all are consistent in use, ... Is there a complete managment tool for linux ? Francis -Message d'origine- De : Jeff Buehler [mailto:[EMAIL PROTECTED] Envoyé : mercredi 22 juin 2005 19:36 À : xmail@xmailserver.org Objet : [xmail] Re: Help Xscanner However, ASSP (nor ClamSMTP nor ClamAV) do not run on Windows. There are, of course, other solutions, but this combination is the best I have found for the price (or any price, although the high-priced commercial market is not really my expertise). I'm honestly trying to help Yann come up with an ideal solution for what it sounds like his problem may be, not push idealogy. Speaking of idealogy, I think a lot of people choose Windows because of comfort and familiarity, which are really not the best reasons to make server based decisions (or arguably most reasonably complex IT decisions), but I acknowledge that this is an opinion and not a clear fact. I also run two Windows servers simply because I need them to debug IT problems for clients, so I use them as test beds for changes I intend or need to make to client systems. I am at a loss as to why someone would want a (very) expensive operating system for a server when free ones are available that perform at least as well (oh, wait, I know, Exchange and Active Directory - yay!). Not an argument, just an opinion from my experience. Bill certainly doesn't need the income. Thanks for the reminder not to start any wars! Certainly never my intention - there are enough ridiculous wars around without my help (um, I hope that doesn't start another discussion!) Jeff CLEMENT Francis wrote: -Message d'origine- De : Jeff Buehler [mailto:[EMAIL PROTECTED] Envoyé : mercredi 22 juin 2005 18:30 À : xmail@xmailserver.org Objet : [xmail] Re: Help Xscanner If you have a SPAM problem, I would advise the following configuration: 1. Dump windows. Ubiquitous != good. Install Linux or FreeeBSD. this may seem a bit elaborate, but in my opinion Windows is really not ideal (unstable, not too scaleable, not free) for running a mail server. I found My xmail 'windows' server runs good from xmail 0.96 to xmail 1.21 now and never restarted nor bugged ;-) (except for standard maintenance) I have too some FreeBSD running well too ... Badly configured Linux/FreeBSD/... equal badly configured windows too Don't be soo partial ;-) Well configured Windows equals well configured linux or others It's not really on these arguments that free software will win ... So don't start a war again please ... Spam Assassin works well for anti-spam purposes, but it's a little bit CPU intensive relative to ASSP in my experience. I'm sorry but I can't help you with the doList filter, although at first look doList seems to be a pretty weak anti-spam solution - it's just a filter without Bayesian analysis or anything. Jeff My one experience on spam battle : Run Xmail (one your os of choice, just configure the os correctly ...) Add it Davide's excellent GLST filter Add it a good virus scanner (av-filter from Dario, henry.it, with fprot or nai) At this time, you eliminate 99% spams without big cpu/software/harware/config... This is approximatively the result I found after 2 months with this configuration (we are hosters, with a good number of mails coming in every day) Francis - 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] - 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 0.22 problem
Hello Davide and list I use Glst 0.22 from months now .. With it, spam was reduced drasticaly without any complex filter products. But I have a little problem : Ramdomly, some glst filters continues to run indefinitively taking up to 99% cpu !! This does not affect xmail delivery but I have to kill manually these glst processes. When I kill the faulty glst process, xmail reports this error in windows app log : SMTP filter error (-5): Filter = c:\xmailtools\glst\glst.exe and this line in the filters log (end of line, details skipped): ... pre-data-5-1 c:\xmailtools\glst\glst.exe Glst is the first pre-data filter xmail run others pre-data filters without problem after glst I run glst --cleanup once per day The glst.dbm current size is 10,4 Mo : could this size affect glst or gdbm ? Others configuration infos : Windows 2000 SP4 (+ all post sp4 patchs) xmail 1.21 glst 0.22 How can I tell glst to log errors and/or its job trace to see where is the problem (database access conflict, retries, ...) ? I can't use a debug version because the server is a production server (and a test server will not have the same load ...) And finally why xmail don't automaticaly kill the process after pre-data filter response timeout (and where to define this timeout) ? Any idea ? Francis - 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: Generic question
Think about DNS port 53 on UDP and TCP ! Generaly you need (basic firewalls rules) : For Outgoing traffic : From any local ports (1024) to externals UDP:53, TCP:53 (DNS) From any local ports (1024) to external TCP port 25 (SMTP) If you use Xmail POP3Link feature add : From any local ports (1024) to external TCP port 110 (POP3) For Incoming traffic : From any external ports (1024) to local TCP port 25 (SMTP) From any external ports (1024) to local TCP port 110 (POP3) If you need to access Xmail Ctrl port from external network : From any external ports (1024) to local TCP port 6017 (default CTRL port) If you need to access XQM Agent port from external network : From any external ports (1024) to local TCP port 8000 (default XQM port) Francis -Message d'origine- De: Dale Qualls A: xmail@xmailserver.org Date: 15/07/05 19:10 Objet: [xmail] Re: Generic question Standard ports: SMTP 25 POP 110 If you'll be doing any management I think it uses telnet on port 6017 for CTRL. If you use the XQMWIN (xmail queue manager which if you're not using you should be), the default is 8000 but is configurable. You could not open up 6017 and use the CTRL via an ssh connection instead for security. [EMAIL PROTECTED] 7/15/2005 11:06 AM Hello people, OK, I know this is going to sound a bit weird but I need to know if I am missing something. What are the ports used for an xmail box running mail for a LAN to the outside world ? Say, from inside to the outside ? SMTP ? POP3 ? Anything else ? Any strange connection xmail needs to do ? Thank you in advance, Spyros Tsiolis - I merely function as a channel that filters music through the chaos of noise - Vangelis _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ - 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] ** The preceding message and any attachments may contain confidential information protected by the attorney-client or other privilege. If you believe that it has been sent to you in error, please reply to the sender that you received the message in error and then delete it. Nothing in this email message, including the typed name of the sender and/or this signature block, is intended to constitute an electronic signature unless a specific statement to the contrary is included in the message. ** - 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: telneting to port 25
Do you have any Ip filtering products ? (firewalls, IP filters, filtering sofware, ...) Some have detection rules that prevent telnet like sessions on somes ports (slow responses from telnet to 'normally' not so slow well know ports) ... Or simple some other rules blocking ... Francis -Message d'origine- De: Spyros Tsiolis A: xmail@xmailserver.org Date: 16/07/05 11:40 Objet: [xmail] telneting to port 25 Hello again people, OK, another question I have is that since version 1.19 (I think) of xmail, if you try to actually telnet to port 25 from any other address other than localhost, it behaves as the smtp service is not running (refuses connection). I really need to know why this is happening and if there is a workaround this. I face an extremely exotic situation where I need to have a telnet connection to the mail server. Any help would be greatly appreciated. TIA, s. - I merely function as a channel that filters music through the chaos of noise - Vangelis _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ - 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: undeliverable message auto delete
The BIG problem is to find when to send the error or not as spammers generaly use legitimate emails as 'From'*/'MAIL FROM' !! The best is to use filtering tools like glst (will eliminate 90% spammers how connect directly to your server) and then spamassassin like products to qualify possible spams from legitimate servers for the reminding mails Francis -Message d'origine- De: Jeff Buehler A: xmail@xmailserver.org Date: 17/07/05 23:10 Objet: [xmail] Re: undeliverable message auto delete Thanks, Sönke - I was hoping to keep them in the queue for awhile, but I am collecting 500 or more undeliverables a day presently since I am forwarding to a domain that is getting heavily spammed. When spammers send spam to bogus users at the busy Exchange server I am forwarding to, it predicatably sends back the user doesn't exist message, then xmail correctly attempts to send that back to the spammer who, of course, doesn't accept incoming mail, and so the message is undelivered. Are you aeware of a better way to handle this sort of interaction? I could create a user to match every user on the Exchange server and at least cut out a hop, but XMail will still then try to send the no user by that name reply back to the spammer. I guess it's important to notify valid senders to the domain that a given user doesn't exist, though... Is that an RFC requirement? In the meantime, I am going to turn on RemoveSpoolErrors as you mentioned just so I don't have to go empty out the undeliverable queue every three days manually. Thanks again! Jeff Sönke Ruempler wrote: Hi Jeff, On 17.07.2005 22:53, Jeff Buehler wrote: Does anyone know of an existing solution for the auto-deletion of undeliverable messages in XMail? I am running FreeBSD. Writing something to remove them all periodically would be pretty easy, but I would like something that allows a settable time to collect dust before removing undeliverables in the FROZ directory, which seems like it might be useful to a lot of people. I guess this wouldn't be too difficult to write either - just query the present date against the mail creation date. But it would still be easier to use someone elses already working solution, if one exists! The only switch that XMail provides at present is the server.tab variable: [RemoveSpoolErrors] Indicate if mail has to be removed or stored in 'froz' directory after a failure in delivery or filtering. So errors are removed just in time. - 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] - 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 0.22 problem
-Message d'origine- De : Davide Libenzi [mailto:[EMAIL PROTECTED] Envoyé : mardi 12 juillet 2005 05:57 À : 'xmail@xmailserver.org' Objet : [xmail] Re: Glst 0.22 problem .. .. I have no idea ;) Maybe some locking problem in the GDBM library? I will look into it, but my vacation is approaching, so it is likely to happen in late August (assuming I can fix it). - Davide - 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 try to eliminate the problem, I deleted it (glst.dbm) (after saving old in case ...) Glst created a new fresh Then after doing that, no more glst process staying active and taking up to 99 cpu ! So, IMHO, this is a gdbm (win32 version only ?) problem when mlany multi processes access the data base and the database becomes too big ... (delays in accessing keys indexes ? not enough retries ? ...) Hope this can help you. Some others questions about glst : 1 - How to correctly (dynamicly ?) use the mnet parameters ? I have some isp's that use many servers to resend mail (not allways the same server).. 2 - Some of them use NO contiguous ips for they resend servers in completely different subnets !!! how to deal with ? 3 - Do you think remembering glst triplet only on the domain part of emails addresses could be a good option after the first 'normal' triplet (with full from email only) is accepted ? This could eliminate two problems : database size and mnet settings and multiple servers in multiple subnets for same isp, as in 99% cases mails from a domain comes from the same set of smtp servers. A sample to explain my idea : -glst reveice a 'from [EMAIL PROTECTED] to [EMAIL PROTECTED] from ip 1.2.3.4' never seen before (exact or domains part). -glst rejects and notes the complete triplet. -glst reveice '[EMAIL PROTECTED] to [EMAIL PROTECTED] from ip 1.2.3.4', reject and note it. - Then glst finally accept one of the previous exact triplet from 1.2.3.4, it change the triplet to '@domfrom to @domto on ip 1.2.3.4' and erase any exact triplets for same @domfrom,@domto/ip even if not yet resend. So for next 'anyboby' from @domfrom send mail to 'anybody' to @domto from ip 1.2.3.4, glst accept directly (until exptimeo of course ...) Any comment ? Thanks Davide Francis - 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: Official 'Powered by XMail Banner' ...
-Message d'origine- De : Harald Schneider [mailto:[EMAIL PROTECTED] Envoyé : jeudi 25 août 2005 08:53 À : xmail@xmailserver.org Objet : [xmail] Re: Official 'Powered by XMail Banner' ... Too much white space on the left and the word Server should be readable. Since most website owners don't like big banners, we should stick to the standard button size. Just my 2 cents ;) -- Harald Yes ... Here is a simple one : http://www.aquinet.net/images/poweredbyxmail.gif I'm not a paint artist :) I simply used the original Need to be resized to 'standard' various sizes and variants ... (good samples are freebsd 'powered' for sample sizes and designs) Francis - 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 0.22 problem
Thanks Davide I will install them ASAP As I restarted to a 0 size glst.dbm and have no more problems (db size is currently 1.5Mo), do you want I revert back to the saved dbm (13Mo) ? Francis -Message d'origine- De : Davide Libenzi [mailto:[EMAIL PROTECTED] Envoyé : jeudi 25 août 2005 03:19 À : 'xmail@xmailserver.org' Objet : [xmail] Re: Glst 0.22 problem On Wed, 24 Aug 2005, Davide Libenzi wrote: Could ppl having problem with CPU utilization of GLST with those Win32 binaries a shot? http://www.xmailserver.org/glst-newbin.zip That'd be: Could ppl having problem with CPU utilization of GLST on Windows, give those binaries a shot? ;) - Davide - 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: Official 'Powered by XMail Banner' ...
I'm not an artist too ;-) It was just a 'fast' sample ... Any 'graphic' pro listing ? If anyone know some graphic designers near them, it could be better ... Or we could (Davide ?) officialy open a logo contest to the internet community to get more choice ? (as did the FreeBSD Team recently http://logo-contest.freebsd.org/) Francis -Message d'origine- De : Rob Arends [mailto:[EMAIL PROTECTED] Envoyé : jeudi 25 août 2005 16:44 À : xmail@xmailserver.org Objet : [xmail] Re: Official 'Powered by XMail Banner' ... I wouldn't get stressed about reading the word 'server' at smaller dimensions. As I'm not an artist, I'll give suggestions so that those of you who = are, can implement. Taking Francis' work @ http://www.aquinet.net/images/poweredbyxmail.gif, = if you were to run 'powered by' on the left side, on a 90 degree counter-clockwise rotation. With 'powered' 'by' on two lines, you'd = get a wider image. Having a look around the web, there are a wide range of sizes for = 'powered by' logos. Common sizes are either 92x35 or 88x31. There are others = around 160 pixels too. Perhaps you do away with the 'mail server' words and just colour them = in. If you want to know what 'xmail' is, you'd click the link anyway. Rob :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] = On Behalf Of Harald Schneider Sent: Thursday, August 25, 2005 11:57 PM To: xmail@xmailserver.org Subject: [xmail] Re: Official 'Powered by XMail Banner' ... The arrangement is much better, but mail server will be unreadable in smaller sizes ... --Harald CLEMENT Francis wrote: =20 =20 -Message d'origine- De : Harald Schneider [mailto:[EMAIL PROTECTED] Envoy=E9 : jeudi 25 ao=FBt 2005 08:53 =C0 : xmail@xmailserver.org Objet : [xmail] Re: Official 'Powered by XMail Banner' ... Too much white space on the left and the word Server should be=20 readable. Since most website owners don't like big banners, we should=20 stick to the standard button size. Just my 2 cents ;) -- Harald =20 =20 Yes ... =20 Here is a simple one : http://www.aquinet.net/images/poweredbyxmail.gif =20 I'm not a paint artist :) I simply used the original =20 Need to be resized to 'standard' various sizes and variants ... (good=20 samples are freebsd 'powered' for sample sizes and designs) =20 Francis - To unsubscribe from this list: send the line unsubscribe xmail in=20 the body of a message to [EMAIL PROTECTED] For general help:=20 send the line help in the body of a message to=20 [EMAIL PROTECTED] =20 =20 - 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] - 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: Powered By Banner
-Message d'origine- De : Harald Schneider [mailto:[EMAIL PROTECTED] Envoyé : vendredi 26 août 2005 09:45 À : xmail@xmailserver.org Objet : [xmail] Re: Powered By Banner If it is beneath, it should read empowered or inside or something like that .. Or simply 'Powered' Francis - 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] filters in/filters out chain question
Hello Davide Please, correct me if i'm wrong : On incoming mail xmail make decision to run IN filters or OUT filters on 'final' recipient local or not. Now, suppose a local user [EMAIL PROTECTED] that have a have a mailproc.tab for this user that redirect to multiple accounts : 2 local [EMAIL PROTECTED] and [EMAIL PROTECTED] 2 externals [EMAIL PROTECTED] and [EMAIL PROTECTED] Then IN filters apply to the 2 locals and OUT filters apply to the 2 externals (right ?) I noticed that filters are executed on a per destination email My problem is : How to NOT reexecute filters on a per email ? In the above sample IN filters are executed twice and OUT filters twice And if others any final local (y or z) have another mailproc that redirect to others local or external emails, then the corresponding filters are RE-executed for the same mail !! What appends to xmail ML accounts ? does the filters execute on a per final email ? I think, for 'general' filters not really taking care about the emails but the content (as av, anti-spam) it could be nice (especially for cpu and memory charge) to tell xmail to not re-run some filters but only once .. Any chance to see a 'special' flag in filters .tab files to exclude when allready done ? Francis - 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: messages to yahoo and or hotmail does not get del ivered
This problem was previously reported on this mailing list. Seems (but not completly clarified/debugged at this time) 'xmail 1.21' have some problems with some 'domains' zones setup (hotmail and yahoo in most cases). Seems xmail or dns server or tcp stack ? finaly choose the domain A record and not the MX record for the domain in some cases ! even if a nslookup or dig get the correct response ... I had the same problem, and configured xmail to allways use a smtp gateway (a iis smtp server on another computer using the same dns server for final delivery !!) to temporary resolve sending to these domains (especialy hotmail ...) So, if you isp provide you a smtp gateway, tell xmail to deliver to it and let the isp smtp server do the job. Put this line in smtpfwd.tab (replace a.b.c.d with you isp smtp server) : * a.b.c.d:25 As I said previously I have to get some tcp dumps to help understand the problem when xmail resolves by itself on these domains but my xmail server is in 'production' (for customers) and i can't test with it for this delivery problem so I need to find time to run another server on another 'dummy' domain ... Francis -Message d'origine- De : David Lord [mailto:[EMAIL PROTECTED] Envoyé : mardi 30 août 2005 12:33 À : xmail@xmailserver.org Objet : [xmail] Re: messages to yahoo and or hotmail does not get delivered On 29 Aug 2005, at 3:33, jonn ah wrote: Hi all, we're using xmail's pop3 and smtp service but when we try to send messages to either yahoo or hotmail, the messages does not seem to get delivered...Is there a default blacklist list that xmail automatically throws out messages to yahoo or hotmail to /dev/null? using tail -f /var/log/messages gives me nothing...I can however, send to other domains without any problems... any ideas? thanks! Possibly they both have tighter requirements on sender authentication, RDNS, SPF etc. David - 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: messages to yahoo and or hotmail does not get del ivered
As I said, I have to setup a 'no-production' server to get dns tcp dumps to help find the problem. At now, here are some infos : Configuration : XMail Server : - Windows 2000 server SP4 + all patchs - XMail 1.21 - XMail directed to use SmartDNSHost to point to DNS server Dns Server used : - Windows 2000 server SP4 + all patchs - Microsoft DNS Server (included in w2k) In this configuration, SOME TIMES, no mail is delivered to hotmail.com : XMail said : The maximum number of delivery attempts has been reached Analysing the spool file, the POINTED mail server for hotmail IS NOT one of the MX's declared in hotmail.com zone Doing a nslookup USING the above dns server get the good MX list. Doing a nslookup to find the A records for hotmail.com returns THE IP used by xmail to deliver !! Verifying the xmail dns cache get THE GOOD MX's in the hotmail.com file So its very STRANGE ! XMAIL first get the GOOD MX's to fill it's dns cache, but for some reasons use the domain A record to deliver !! When stopping xmail, clearing the xmail dns cache completly (sub directories mx and dns) then restarting xmail resultes in xmail USING the good MX's for some times, then, suddently use the A record again ... Note : Before using xmail 1.21 I used 1.17 WITHOUT problems with this setup (same server, same dns, same ips, ...) and never used 1.18 nor 1.19 nor 1.20, so I don't know if the problem was not allready here with them. (I started using 1.21 for smtp filters capabilities...) The change log shows that started with 1.18 there were some changes in the dns code part in xmail but I don't know if it could generate the problem (related to 'Fixed a bug in the DNS resolved that made XMail to not correctly handle domain CNAMEs.') ... I'm not enought familiarised in xmail internals to said yes or not ... Could we have a 'test' version with the pre-1.18 resolver in a 1.21 to see what appends ? Francis -Message d'origine- De : Jeff Buehler [mailto:[EMAIL PROTECTED] Envoyé : mercredi 31 août 2005 00:45 À : xmail@xmailserver.org Objet : [xmail] Re: messages to yahoo and or hotmail does not get delivered Some people are distinctly having this problem with 1.21, and others are distinctly not having this problem with 1.21? Sounds fishy to me - there must be some sort of common attribute of the systems that are having the problem... it is also suspect because it is intermittent, and so there is a big difference between a consistent problem with Hotmail/MSN and a different consistent problem with Hotmail AND Yahoo, so fine grained analysis seems to me the only solution. For example, what exactly is the common error. I have hundreds (or more) emails being sent to Yahoo and Hotmail every day without any difficulty running1.21 from a FreeBSD system with BIND. Are you absolutely certain that the problem you had with MSN/Hotmail on your Fedora system is the same problem that the others are seeing? If there is a problem that is clearly identifiable I would think that very specific information would be necessary to track it down - what is the (exact) OS, is BIND being run by anyone that has seen this problem (and can identify it as the same problem exactly), and so on. This was basically what I put forward last time, but there was no real hard data to go on, so the thread just died. The only alternative I see is hard-core debugging on production systems, which wouldn't appeal to me very much. Jeff - 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: messages to yahoo and or hotmail does not get del ivered
-Message d'origine- De : jonn ah [mailto:[EMAIL PROTECTED] Envoyé : mercredi 31 août 2005 10:31 À : xmail@xmailserver.org Objet : [xmail] Re: messages to yahoo and or hotmail does not get delivered Hi all, would downgrading to a previous xmail version solve this hotmail/yahoo problem? if so, is there a repository for other rpm versions? Not sure ... As I said, I never encourated this problem with 1.17 but don't know if 1.18 or 1.19 or 1.20 have the problem. And as at 1.17 time my server didn't have exactly the same patchs available for w2k as current setup with xmail 1.21 I'm not sure this is a xmail problem ... could be a dns server problem introduced by a os patch ... But I can't revert back to 1.17 as now I use smtp filters in production The 'test' to do is to revert back to 1.17 on a 'up to date' (all patchs) on a test server, and see if problem occurs. If no, os patchs don't introduce the problem so next test is to install 1.18 then 1.19 ... until problem occurs again. It's time consumming because the problem comes 'randomly' Francis - 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: messages to yahoo and or hotmail does not get del ivered
As I said, xmail 1.17 (with smartDNSHost too and same microsoft dns server) worked well. But I will take a try asap with a test server without smartdnshost at all (xmail doing completly the dns search from root servers) Even if Hotmail and Yahoo are busy and slow, it does not explain the A record use ... or xmail switch back automaticaly to the A record when too delivery attempts fail on all mx records ? I don't think so, as if there is mx records for a domain you must only use them and never try to use any A ptr to the domain ... For the hotmail case, if you get hotmail mx list, you get many mx records and if you resolve any final target name pointed by these mx you find a lot of ips returned, so hotmail is doing load balancing at mx records then at mx names ... Does this configuration could confuse xmail ? And as nslookup or dig (from a freebsd box) directed the used microsoft dns server and then comparing results with then using a no microsoft server (a bind server) get exactly the same results, I not sure the dns is causing the trouble here ... (I need to trace tcp dns for the two to compare exact responses ...) Francis -Message d'origine- De : Jeff Buehler [mailto:[EMAIL PROTECTED] Envoyé : mercredi 31 août 2005 17:28 À : xmail@xmailserver.org Objet : [xmail] Re: messages to yahoo and or hotmail does not get del ivered Hmmm - thats interesting. The only aspect of your configuration that I have no experience with is SmartDNSHost pointing to another system for DNS resolution - I have never used SmartDNSHost. Have you tried turning that off? Have you tried pointing it to another DNS server, such as one provided by your ISP, especially a non-MS DNS solution just to verify it has nothing to do with that? Hotmail and Yahoo are both very busy, and very slow. I would consider latency issues when trying to resolve problems with these domains, although using an A record rather than an MX record wouldn't seem to be related to that. Jeff - 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: messages to yahoo and or hotmail does not get del ivered
-Message d'origine- De : Rob Arends [mailto:[EMAIL PROTECTED] Envoyé : jeudi 1 septembre 2005 01:53 À : xmail@xmailserver.org Objet : [xmail] Re: messages to yahoo and or hotmail does not get delivered Francis,=20 This is the exact error I have had before. I have the same setup - your *whole* description below is *exactly* what I have. I have had this = problem while on 1.15 1.17 also. However at the time though, I did not know = why my emails were failing. I don't remember exactly if we encourated the problem with 1.17 (seams not in my mind) (but can be explained because we didn't had many traffic directed to hotmail at 1.17 time) The only difference is that I have not had an issue with hotmail, = usually it is with some other domains. Perhaps my users don't send to hotmail as = much. I have not had the time to debug it to an absolute end and offer proof, = and so the previous thread died. I have tracked it down to the fact that every domain that I have had problems with has had an A record for the domain that A record = resolves to a different IP than that of the MX record. This in itself is True not a DNS problem (normal dns operation). But I have found that clearing xmail's = dns cache restarting xmail resolves the problem for a while. IIRC just restarting xmail might be enough. Yes The problem is EXACTLY 'XMAIL comes back to the A record for obscur reasons (internal or due to bad dns responses ?) even if MX records exists for the target domains'. I actually used the SmartDNSHost only *after* I have troubles with MX = A records, but while the problem *seems* to have reduced, it has not gone. It does seem to be a logic issue in xmail's mx resolving code, but I = have no proof. In my current configuration, xmail 1.21 forwarding ALL traffic to a Symantec SMTP AV Gateway USING the SAME Microsoft DNS SERVERS, then ALL TRAFFIC IS OK (except usual errors, timeouts, ...) In another 'old' configuration, we used a Microsoft (yes!) Iis SMTP server using the same dns sservers and all was ok too !! I expect that an Ethereal trace before and after is the only thing that = can be done to prove it. I have to get time to get them ... Hopefully this info will help someone that has the time the symptoms = to get to the bottom of it. Rob :) Francis - 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: messages to yahoo and or hotmail does not get del ivered
-Message d'origine- De : Rob Arends [mailto:[EMAIL PROTECTED] Envoyé : jeudi 1 septembre 2005 14:51 À : xmail@xmailserver.org Objet : [xmail] Re: messages to yahoo and or hotmail does not get delivered Francis, this also true for me: Yes The problem is EXACTLY 'XMAIL comes back to the A record for obscure=20 reasons (internal or due to bad dns responses ?) even if MX records=20 exists for the target domains'. I'm glad there *is* someone with the *same* problem as me. It means the problem is reproducible - always good when you need to = track down a weird problem.=20 Rob: -) Welcome :-) Francis - 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: messages to yahoo and or hotmail does not get del ivered
-Message d'origine- De : Edinilson J. Santos [mailto:[EMAIL PROTECTED] Envoyé : jeudi 1 septembre 2005 20:37 À : xmail@xmailserver.org Objet : [xmail] Re: messages to yahoo and or hotmail does not get delivered I'm with the same problem since 1.21 but, because we are a XMail for Windows user using Microsoft stuffs (os, dns, etc), maybe others simply ignore it (including Davide!) Here I'm using ms smtp (aka cdonts) to delivery messages to hotmail.com and msn.com. Without this trick messages to hotmail.com and msn.com can't be delivered and in the spool we can see: ErrCode = -162 ErrString = End of socket stream data SMAIL SMTP-Send MX = mx1.hotmail.com. SMTP = mailserver From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = mx1.hotmail.com. ErrCode = -162 ErrString = End of socket stream data SMAIL SMTP-Send MX = mx2.hotmail.com. SMTP = mailserver From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = mx2.hotmail.com. Edinilson - ATINET-Professional Web Hosting Tel Voz: (0xx11) 4412-0876 http://www.atinet.com.br Seems to be not exactly the same problem here as xmail reported it tryed the connexion to mx1.hotmail.com and mx2.hotmail.com (SMTP-Server lines) so here xmail USE the MX records ! Seems hotmail very busy here ... Is this the complete report ? (as I don't see xmail trying mx3.hotmail.com and mx4.hotmail.com ... nor the overs tests) A little question to Davide : could xmail add also the IP used in the 'SMTP-Server' line ? This could help to test connectivity to the exact server on domains with multiples ip's associated with the MX used (like hotmail and yahoo)? Francis - 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: messages to yahoo and or hotmail does not get del ivered
-Message d'origine- De : Leonardo Fogel [mailto:[EMAIL PROTECTED] Envoyé : jeudi 1 septembre 2005 23:50 À : xmail@xmailserver.org Objet : [xmail] Re: messages to yahoo and or hotmail does not get delivered Although yahoo.com has 4 mx records and each mx record has 4 A records: yahoo.com. ... MX 1 mx1.mail.yahoo.com. yahoo.com. ... MX 5 mx4.mail.yahoo.com. ... mx1.mail.yahoo.com. ... A 67.28.113.10 mx1.mail.yahoo.com. ... A 67.28.113.11 ... mx4.mail.yahoo.com. ... A 66.218.86.156 xmail tries only one A record for each mx record, in case of successive failures. This is by design. Please, is it an RFC recommendation? I understand the multiple A records are intended to provide load balance, but what is an mta supposed to do in case of failure? Shouldn't it try all A records till success? Many thanks. Don't know exactly statements in RFC but John (Kielkopf) find a detail in RFC 2821 Section 5 So I suppose (I'm not a smtp rfc specialist and didn't read all ..) : A MTA must try all mx's until success and NEVER try any A domain record if one or more MX entry exist. Then if the mta get a mx record resolution returning multiple ips, the mta must try all the ip's until success. Then, depending of the mta number of 'retries' configured, the mta redo the loop again (all mxs , and for each mx entry, all ip's for this mx) Then, if none success, return a NDR (No delivery report) to the sender So with hotmail.com and hotmail (4 mx entries, and each mx pointing to 4 ip's), and assuming the MTA is configured to try 4 times to deliver (normal first attempt + 3 retries), a final NDR can only be send after 64 physical connections ( 4 mx * 4 ip * 4 attempts or total number of ip's * number of attempts). Francis - 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: messages to yahoo and or hotmail does not get del ivered
-Message d'origine- De : John Kielkopf [mailto:[EMAIL PROTECTED] Envoyé : vendredi 2 septembre 2005 07:47 À : xmail@xmailserver.org Objet : [xmail] Re: messages to yahoo and or hotmail does not get delivered Davide Libenzi wrote: greenbaycc.org. 86400 IN NS taadns02.taiasp.net. greenbaycc.org. 86400 IN NS taadns01.taiasp.net. ;; Received 88 bytes from 204.74.112.1#53(TLD1.ULTRADNS.NET) in 58 ms greenbaycc.org. 3600IN NS taadns01. ;; Received 54 bytes from 67.39.138.9#53(taadns02.taiasp.net) in 66 ms What's taadns01. ?? However, it doesn't seem to stop nslookup or other tools from retrieving the MX record. How does XMail differ? Agree Even if John's initial problems are due to 'very badly' destination dns zones setup, for hotmail.com dns report is CLEAN and OK !! (seems $soft is not allways bad :-) ) So why xmail 'sometimes' use the domain A record even if resolving the mx is not a problem ? Francis - 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: messages to yahoo and or hotmail does not get del ivered
-Message d'origine- De : Edinilson J. Santos [mailto:[EMAIL PROTECTED] Envoyé : vendredi 2 septembre 2005 15:02 À : xmail@xmailserver.org Objet : [xmail] Re: messages to yahoo and or hotmail does not get delivered .. .. .. I'm discarding DNS problems. Thanks Edinilson - ATINET-Professional Web Hosting Tel Voz: (0xx11) 4412-0876 http://www.atinet.com.br Me too ... Francis - 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: messages to yahoo and or hotmail does not get del ivered
-Message d'origine- De : Davide Libenzi [mailto:[EMAIL PROTECTED] Envoyé : samedi 3 septembre 2005 19:52 À : xmail@xmailserver.org Objet : [xmail] Re: messages to yahoo and or hotmail does not get del ivered There are two issues that has been reported. One is a DNS issue, where XMail pukes on misconfigured DNS. The version I posted yesterday implements a fall-back to non-authoritative name servers in case the authoritative one is wrong. Now both greenbaycc.org and intergraonline.com resolve fine. The other issue is the hotmail one (not really hotmail related though), where long/strange responses case make the pieces in the middle choke. Since I (and thousands of other XMail setups) never reported the issue (also, my GF has an hotmail account, so I think I'm positive I have no issues ;), I am very sure that it is not XMail related. - Davide I never see 'End of socket stream data' problem that didn't finaly get delived after retries so not really a problem for me And, for me, mis-configured dns zones not correctly configured or not complient with rfc's (cname use in mx for example) is not a problem too and I 'ignore' them :-) (and I don't really want xmail to try some tricks for them ...) In my case, my problem is ONLY 'spurious' A ptr use by xmail even if MX records exist. I verified many many times the A ptr use before reporting the problem And my 'hotmail' problem was not alone, I encourated the problem for some others domains too. And for these domains I didn't see any dns problem in mx resolution too nor zone misconfigurations. I reported only the hotmail case because hotmail is a important mail provider on internet. Only a xmail stop PLUS clearing xmail dns cache subdirs (mx and ns) resolve the problem for some time. Could it be related to dns zone updates/TTL, ... ? As I said previously, I will send a tcp dump for xmail -dns servers dialog ASAP I'm very busy, so it can take some time before I can send them At this time, as I use a workaround (another smtp gateway) finding/resolving the problem is not 'urgent' ... Thanks Francis - 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: messages to yahoo and or hotmail does not get del ivered
an A record problem as well, but you didn't send any info about your configuration - type of system, whether or not it was with everyone (as it sounds like it is) or just Hotmail and Yahoo (which, so far, seems to be the problem that Francis and Edinilson are specifically having). Little differences like that can easily mean that it is two entirely different problems. You probably mentioned some of this in one of the previous threads, but neither my memory nor my datastore go back that far, so: What is your configuration (win 2000, Linux, what DNS, etc.)? You're problem sounds like XMail is using A records periodically when it should be using MX records - this has been verified? It happens with other domains periodically or consistently? Are Hotmail and Yahoo noticeably suspect, or just as likely to fail as others? Jeff Rob Arends wrote: I think you may be meaning me when you say Edlinilson. Re Point 6, I did mention that I have the problem with other MTAs that have an A record for the domain. aanet.com.au is an example. So it is not just yahoo/hotmail. Re point 7, I agree that Xmail is, and should be, very RFC compliant. I think the question is why is Xmail using the A record when there is a good MX record? I have asked Davide to elaborate on his comment for FireWall interference and I'll see what I can do on a packet trace. Rob :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Buehler Sent: Saturday, September 03, 2005 1:50 AM To: xmail@xmailserver.org Subject: [xmail] Re: messages to yahoo and or hotmail does not get del ivered Hmmm - so far, you two are the only ones that are verified as having the exact same problem sending to Yahoo and Hotmail - there may be others, but we haven't verified that, is that correct? You both have the same configuration (exactly, as Edinilson pointed out). So what do we know so far? 1. WIN 2000 service pack 4 2. MS DNS from Win 2000 on a different system than XMail and presently using SmartDNSHost (Edlinilson pointed out he seemed to have the problem even without SmartDNSHost) 3. Neither of you is in the US (does this increase the likelihood of failed connection attempts (?) or do these providers have systems spread globally (?)) 4. XMail 1.21 (but Edinilson pointed out that other versions down to 1.17 behaved the same way) 5. Francis has verified that with this configuration XMail seems to be using A records on occasion when it should be using MX records 6. The problem is intermittent and ONLY happens with Hotmail and Yahoo 7. Edinilson has verified that the problem does not exist when using MS SMTP to send from the same configuration, so it seems somehow related to XMail. On this issue I have found XMail to be extremely RFC compliant (I think that was one of Davides intentions) and it may be that MS SMTP is doing something extra to overcome some known issue that we have yet to discover with Hotmail, Yahoo, DNS, or something else. 8. Many or most others running XMail are not having this problem. It remains to be seen if others running it on Windows 2000 do or don't. So here is what I would do if I were you: 1. Try it on Windows 2003 server if you can - 2000 is starting to get a little grey at the temples anyway. 2. Try it on Linux or *BSD (FreeBSD! FreeBSD!) If you still have the same problem with these configurations, then the problem likely has to do with your infrastructure outside of the OS - some funky problem that defies imagination, but that IT people are all quite familiar with! You know, the kind of problem where you stand there with your mouth hanging open and mutter: huh? and it never makes any sense, or a distinction in the way it interacts with XMail that is unusual. Without being able to replicate the behavior, you have a very limited test group - you two (so far!) If I could replicate the behavior, and had any time left over after typing this email, then I would help, but at the moment it is up to you! I don't think anyone is ignoring XMail under Windows, but finding any possible bug without being able to easily replicate it is extremely difficult... Jeff CLEMENT Francis wrote: -Message d'origine- De : Edinilson J. Santos [mailto:[EMAIL PROTECTED] Envoyé : vendredi 2 septembre 2005 15:02 À : xmail@xmailserver.org Objet : [xmail] Re: messages to yahoo and or hotmail does not get delivered .. .. .. I'm discarding DNS problems. Thanks Edinilson - ATINET-Professional Web Hosting Tel Voz: (0xx11) 4412-0876 http://www.atinet.com.br Me too ... Francis - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send
[xmail] Re: messages to yahoo and or hotmail does not get del ivered
-Message d'origine- De : Davide Libenzi [mailto:[EMAIL PROTECTED] Envoyé : lundi 5 septembre 2005 19:44 À : 'xmail@xmailserver.org' Objet : [xmail] Re: messages to yahoo and or hotmail does not get del ivered On Mon, 5 Sep 2005, CLEMENT Francis wrote: Cool !! So Hotmail 'timeout' resolved. QED (or CVD, CQFD, WZBW, CQD) Just the 'A ptr' use to resolve now ... Try 1.22-pre01 ... - Davide - Sorry ! As your description for 1.22-pre01 was 'tries to cope with broken DNS setups', I didn't think it could resolve 'A ptr use for good dns setups' (like hotmail) Can I ask you for a win32 version ? (http://www.xmailserver.org/xmail-1.22-pre01.zip ?) I will take a try asap and report for errors. Thanks Francis - 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: access logged but client doesn't connect
I think you missed to create some XMail domains and/or accounts ... Remember that XMail don't use ANY system account (except the one defined to run xmail itself...) Nor xmail comes with any domain (except a sample) nor xmail create any domain based on os level computer name Nor xmail comes with 'predefined' mail accounts (except a sample) nor xmail create xmail mailboxs for existing os level users present in the system And when you create a os level user, this will not automaticaly create a corresponding xmail mailbox account... With XMail, if one want to receive mail for [EMAIL PROTECTED] you need : create the domain yyy.zzz in XMail create a XMAIL ACCOUNT for xxx in the domain yyy.zzz So for [EMAIL PROTECTED] you need to create domain mydomain.org at xmail level then create postmaster account at xmail level. For [EMAIL PROTECTED] you need to create host.domain.com at xmail level then postmaster account in domain host.domain.com at xmail level And keep in mind that at xmail level domain mydomain.com is not same as mysubdomain.mydomain.com ... if you want to handle the two you need to create two domains in xmail (or use a domain alias in xmail if you want them 'logicaly' the same for incoming mails ...) Did you create at xmail level ALL the domains you want xmail accept mail to and ALL the xmail users (mailboxs) you want in each domain ? Francis -Message d'origine- De : Ross Gohlke [mailto:[EMAIL PROTECTED] Envoyé : vendredi 9 septembre 2005 05:23 À : xmail@xmailserver.org Objet : [xmail] Re: access logged but client doesn't connect Aha! I was following the directions in this doc: (The original is down) http://64.233.167.104/search?q=cache:4R459Pv0lNcJ:www.ubaight. com/xmail/BeginnersGuide.html+xmail+userpasswdhl=en If you want your root account to get the postmaster's mail your server.tab setup is complete. I prefer sending postmaster mail to another account so you may want to replace root with a different account: PostMaster [Tab] [EMAIL PROTECTED] [Return] In this case, is mydomain.org supposed to be a special value, ie the computer's host domain name? Are root / postmaster system accounts? Would these accounts not need XMail user accounts to receive mail in the first place? Rob Arends wrote: Are you sure the postmaster account isn't '[EMAIL PROTECTED]' Rob: -) In this case, is postmaster a system user or an XMail user? I have not added any postmaster account in XMail yet. Thanks Ross - 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: XMail + SSL patch
-Message d'origine- De : Ross Gohlke [mailto:[EMAIL PROTECTED] Envoyé : vendredi 9 septembre 2005 17:45 À : xmail@xmailserver.org Objet : [xmail] Re: XMail + SSL patch Alas, I'm on FreeBSD! Is there Linux stunnel? PGP would protect the mail itself, but is a separate issue from securing SMTP Auth, no? What I'm trying to do right now is protect the ACCOUNT INFORMATION. Even if it's unlikely that someone would sniff my users' packets, what's to stop a spammer from snagging random SMTP username/pass of the Net and using that server to send spam? I'm just trying to be consistent. Really I never seen spam programs using existing username/passwords !! Nor I see spam programs trying to authenticate ... But it could be in future The only cases for this type of spam attack are generaly due to previous intrusion in mail servers to get the accounts infos ... so protect you server carefully ... And on the customer side, it is the customer responsability to protect the accounts informations ... For anyone running a commercial service for users, such issues must be considered. We do commercial services (and many xmail admins on this list too), and most use 'standard' auths because most client softwares accept them and easier to configure at client side that any 'tunnel'. In these 'rare' cases, you could use the other tunneling protocols (ipsec, pptp, l2tp) between the 'secret' customers and you server because these protocols are generally supported by many os (linux, freebsd, windows) on customer side. Thanks for all the feedback. But well, it might work - give it a try Ross. ross Francis - 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 and Win32 GDBM ...
Hello Davide At this time, glst 'next gen' seems work with a database greater than 13Mo (and started with a old database allready 10Mo ...) Just a question : How to reduce the database size (remove wast space) ? Does glst (gdbm?) do this automaticaly ? or have we to 'dump' the database then re-import on a fresh one ? Francis -Message d'origine- De : Davide Libenzi [mailto:[EMAIL PROTECTED] Envoyé : lundi 3 octobre 2005 20:32 À : XMail mailing list Objet : [xmail] GLST and Win32 GDBM ... Did the new library show the same problems (100% CPU utilization) as the old one? If yes, did you try to remove the GDBM database files (probably corrupted by the old library)? - Davide - 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: GLST and Win32 GDBM ...
Hi Davide Is it a coincidence or not but now glst 'next gen' blocks again !!! 1 process get 100% cpu then any other glst processes wait indefinitively ... and xmail logs error -5 in windows application logs and its filters log for the offending process and then others glst waiting : SMTP filter error (-5): Filter = c:\xmailtools\glst\glst.exe When killing the offending glst process (using 100%) then the others glst processes end by themself (no need to kill them manually) and all goes ok... XMail Smtp and filters logs don't show intensive smtp in connections (I suspected a 'spam attack' ...) To be sure its not a faulty gdmb database, I deleted the current and let glst create it from scratch. Thanks Francis -Message d'origine- De : Davide Libenzi [mailto:[EMAIL PROTECTED] Envoyé : mardi 4 octobre 2005 19:31 À : 'xmail@xmailserver.org' Objet : [xmail] Re: GLST and Win32 GDBM ... On Tue, 4 Oct 2005, CLEMENT Francis wrote: At this time, glst 'next gen' seems work with a database greater than = 13Mo (and started with a old database allready 10Mo ...) Just a question : How to reduce the database size (remove wast space) ? = Does glst (gdbm?) do this automaticaly ? or have we to 'dump' the database = then re-import on a fresh one ? Yes, you'd have to dump, remove records, reload. You should not be having problems with size though, at least not at 13MB ;) - Davide - 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: GLST and Win32 GDBM ...
Hello Sergio What is the current size of you glst.dbm database ? Seems my problem is then the database becomes too big ( 10MBytes) Thanks Francis -Message d'origine- De : Sergio Casagrande [mailto:[EMAIL PROTECTED] Envoyé : jeudi 6 octobre 2005 10:55 À : xmail@xmailserver.org Objet : [xmail] Re: GLST and Win32 GDBM ... Hi Francis and Davide, I installed new glst on 25th august and have no problems. My server is w2k SP4. Ciao. Sergio C. - 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 and Win32 GDBM ...
I think I give up on this. With another user, we've been able to identify where the infinite loop is, and it is a condition that should never happen if the database is not corrupted. The GDBM bug list (and google) does not show any sign of such reports, and GDBM is pretty heavily used in the Unix world. No, the database size is not a problem, since I use it in other projects with DB up to several hundreds MB. OTOH the Win32 port is really nothing, since the GDBM code uses almost completely POSIX functions. There must be something in the code generation (MS VC++?) that trigger the condition, or the GLST processes gets brutally killed while updating the DB files. - Davide I don't say it is directly related to gdbm database size or library but problems I had come up only then the database size is bigger than 10Mbytes You said it could be a VC++ generated code problem. Is it possible to have a gcc/win32 (in mind with mingw32) compiled version for win32 ? (or give me directions to compile with gcc for win32 ...) Thanks Francis - 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] xmail 1.22-pre01 report (was RE: Re: messages to yahoo an d or hotmail does not get delivered)
Hello Davide xmail 1.22-pre01 seems resolv in most cases the 'A ptr' use problem then mx entries availables. I say 'in most cases' because after first attempt with my current setup, I needed to stop use the 'SmartDNSHost' setting in my server.tab file to make it work (I need to get more time to retry with SmartDNSHost on a clean install). Without this parameter all seems work fine for A ptr 'problem' except one strange thing when the 'domain' part in not resolvable, so really a 'no existing domain' (as reported by xmail, nslookup, dig, whois, ...) : Xmail DON'T return a NDR immediatly after the first delivery attempt but continues to try until all tentatives are done ! so sending user have to wait the max delivery attempts before knowing the destination email address is bad. Don't remember if it was the same before xmail 1.22 but I think the final NDR should be immediate in this case ... Here is an xmail report (some parts cutted, marked as ##cut, because allways the same, some others 'masked') for destination domain 'reseaux.renault.fr' === [00] XMail bounce: [EMAIL PROTECTED];Error=[The maximum number of delivery attempts has been reached] [01] Error sending message [1128956479921.1048.a23.mail0] from [groupeab.com]. ID:S6E668 Mail From: [EMAIL PROTECTED] Rcpt To: [EMAIL PROTECTED] Server:reseaux.renault.fr [reseaux.renault.fr] [02] The reason of the delivery failure was: The maximum number of delivery attempts has been reached [04] Here is listed the message log file: [PeekTime] 1128956473 : Mon, 10 Oct 2005 17:01:13 +0200 ErrCode = -40 ErrString = Invalid server address ErrInfo = reseaux.renault.fr SMAIL SMTP-Send FF = reseaux.renault.fr SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = reseaux.renault.fr [PeekTime] 1128956959 : Mon, 10 Oct 2005 17:09:19 +0200 ErrCode = -40 ErrString = Invalid server address ErrInfo = reseaux.renault.fr SMAIL SMTP-Send FF = reseaux.renault.fr SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = reseaux.renault.fr ##cut .. .. .. ##cut [PeekTime] 1128993206 : Tue, 11 Oct 2005 03:13:26 +0200 ErrCode = -40 ErrString = Invalid server address ErrInfo = reseaux.renault.fr SMAIL SMTP-Send FF = reseaux.renault.fr SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = reseaux.renault.fr [PeekTime] 1128995963 : Tue, 11 Oct 2005 03:59:23 +0200 ErrCode = -40 ErrString = Invalid server address ErrInfo = reseaux.renault.fr SMAIL SMTP-Send FF = reseaux.renault.fr SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = reseaux.renault.fr [PeekTime] 1128998895 : Tue, 11 Oct 2005 04:48:15 +0200 ErrCode = -40 ErrString = Invalid server address ErrInfo = reseaux.renault.fr SMAIL SMTP-Send FF = reseaux.renault.fr SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = reseaux.renault.fr [05] Here is listed the initial part of the message: Received: from anhost ([5.4.2.3]:1864) by mx.groupeab.com with [XMail 1.22 ESMTP Server] id S6E668 for [EMAIL PROTECTED] from [EMAIL PROTECTED]; Mon, 10 Oct 2005 17:01:11 +0200 From: A customer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: A good subject Date: Mon, 10 Oct 2005 17:01:21 +0200 Message-ID: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary==_NextPart_000_004A_01C5CDBC.3DB64BB0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 === Any idea ? Thanks Francis - 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: Sending mail through my ISP
The simple is DefaultSMTPGateways ... The related xmail doc part for outgoing smtp auth is 'SMTP CLIENT AUTHENTICATION' (http://www.xmailserver.org/Readme.html#smtp_client_authentication) So, if I don't make mistakes (Davide correct me if I'm wrong...), here is a example : Suppose the isp smtp server to use systematicaly for outgoing mail from your xmail server is named 'smtp.myisp.com' - First set DefaultSMTPGateways to 'smtp.myisp.com' in server.tab : DefaultSMTPGateways[tab]smtp.myisp.com - Second, create a file names 'smtp.myisp.com.tab' in your xmailroot/userauth/smtp structure - Then in this file, depending of the isp authentication method needed, use one (and only one) of the following lines : plain[tab]username_to_use[tab]password_to_use login[tab]username_to_use[tab]password_to_use cram-md5[tab]username_to_use[tab]password_to_use Bye Francis -Message d'origine- De : Ladislav Sedivy [mailto:[EMAIL PROTECTED] Envoyé : vendredi 28 octobre 2005 05:30 À : xmail@xmailserver.org Objet : [xmail] Sending mail through my ISP Hello all, I am trying to send all mail through my ISP's mail server (which requires auth) I've read the documentation and I am still not sure what approach to use. Can somebody please explain the differences between using DefaultSMTPGateways, SMTPGW.TAB and SMTPFWD.TAB? Running xmail 1.22 on Win2000 pro. Thanks, Lac - 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: Failed filter
No options. If filter fail to run without returning a error code, xmail continues as if filter returned 'ok' And IMHO it's the best solution, as 99% filters generaly reject only a few number of mails and if you had the option to say to xmail 'reject when any filter don't run or timeout', you will miss 99% 'valid' mails during the failing filter period. Perhabs a '!eax' like parameter on a filter by filter basis ... If you really want this now, you have the option to create a simple shell batch/script 'wrapper' (become shell batchs run well 99,999% time) to the real filter, wrapper that will return the desired 'reject' code to xmail when the real filter fail. The difficulty is to test for the real filter status in the script... Francis -Message d'origine- De : Matic [mailto:[EMAIL PROTECTED] Envoyé : mardi 1 novembre 2005 21:54 A : xmail@xmailserver.org Objet : [xmail] Failed filter Hi, Is there a way to configure XMail to reject the incoming mail if the smtp filter fails to execute for whatever reason and thus failing to return exit code 3? Matic - 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: the !aex flag
-Message d'origine- De : Chris L. Franklin [mailto:[EMAIL PROTECTED] Envoyé : lundi 31 octobre 2005 15:03 À : xmail@xmailserver.org Objet : [xmail] the !aex flag Question, if !aex means don't run this filter if the user is Auth'ed, Yes Shouldn't aex mean only run this filter on Auth'ed users ? No -- -- Chris L. Franklin -- - 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: Sending mail through my ISP
-Message d'origine- De : Dale Qualls [mailto:[EMAIL PROTECTED] Envoyé : samedi 29 octobre 2005 04:11 À : Ladislav Sedivy Objet : [xmail] Re: Sending mail through my ISP Hiya! Since the docs show cram-md5 in lower case I'd suggest doing it exactly as Francis suggested: cram-md5[tab]foo[tab]foobar Yes, The other question could be : do we need to 'encode' the password ? (with xmcrypt or other crypt algo ... ?) The doc don't say anything about it so default response is 'no' but plain text password here, but for security reasons it could be crypted ... Only Davide can give the good responses ... Francis - 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: Failed filter
-Message d'origine- De : Sönke Ruempler [mailto:[EMAIL PROTECTED] Envoyé : mercredi 2 novembre 2005 11:07 À : xmail@xmailserver.org Objet : [xmail] Re: Failed filter [EMAIL PROTECTED] wrote on Wednesday, November 02, 2005 10:59 AM: My question originates from a win2000 server problem when it was failling to crate any new proccesses, thus it wouldn't also be able to create a wrapper script to check for valid filter return code. The real problem was in that it happened overnight and XMail excepted quite a few virus infected mails - because of a failure to start new proccess (virus scan). I guess If your OS cannot create processes (never heard that before) you should file some bug report to Mickeysoft ;-) - Me too, never see that !! Do you have any entries in the system or application logs (I think you have ) ? Did you conduct some memory or swap usage analysis ? Have you a good firewall with ids/ddos detections ? Have you good av and spyware/trojan cleaners on this server ? Francis - 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: allowing a spammer
If you know the IP address of the 'spammer' (need to be fixed ip to work) then add it to smtp.ipprop.tab with code WhiteList=1 This will bypass the ip checks done by xmail and then allow the incoming smtp Else I don't know simple setup. At this time, we can't tell xmail that we want that [EMAIL PROTECTED] will allways be accepted even if not auth and even ip blacklisted. (A 'no' spammers.tab files 'code=whilelist' ?) Or simply tel the enterprise to temporarly use a hotmail/yahoo/... account ;-) or create one for him in your xmail server ! Francis -Message d'origine- De : Helio Cavichiolo Jr [mailto:[EMAIL PROTECTED] Envoyé : mercredi 23 novembre 2005 12:52 À : xmail@xmailserver.org Objet : [xmail] allowing a spammer Hi folks, Now I need a help to allow a spammer to send me email. You may think I'm=20 crazy, but it's an emergency. There's an enterprise that a need to receive= =20 email, but it is listed as spammer in the antispam lists I use=20 (CustMapsList). Thanx. =2D-=20 Helio Cavichiolo Jr Altecnet Inform=E1tica Ltda (19) 8137-6822 - 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: SMTP-Relaying only from Authorized Destinations?
As smtp-imap.tab takes precedence, you can't use it First possible solution : Use server.tab SmtpConfig variable setting it to mail-auth and ask your mx servers to use authentication too to send to the xmail box Second possible solution : Create a filter.pre-data type filter that test (pseudo-language ...) : if @@REMOTEADDR IS OK (compare to a list of ips) Accept; else Reject; and in the filter.pre-data.tab file put a line like : !eax[TAB]myfiltercommand[TAB]@@REMOTEADDR[NEWLINE] (bypass filter if authenticated) The filter can be a simple shell script ... Francis -Message d'origine- De : Achim Schmidt [mailto:[EMAIL PROTECTED] Envoyé : mardi 6 décembre 2005 15:55 À : xmail@xmailserver.org Objet : [xmail] SMTP-Relaying only from Authorized Destinations? Hello List, because of the amount of Virus-Emails we are facing a major problem now. First let me explain our current MX-Constellation: - Mail for exmaple.com has MX-Entries to mx.waaf.net - mx.waaf.net are several machines running postfix/virusscanner - if the email passes all tests it is delivered to the final destination machine running xmail - [EMAIL PROTECTED] also sent email through this xmail-box. Now there are more and more viruses that don't care about MX-Records and drectly try to deliver mail for [EMAIL PROTECTED] to mail.exmaple.com. Mail.example.com resolves to the xmail-box. My solution to get rid of this non-filtered Virus-Emails is to only allow SMTP-connections to the xmail-box from our subnets, where the mx.waaf.net machines are located _AND_ from authorized IP-adresses (SMTP-AUTH, POP-before-SMTP). I just tried to use smtp.ipmap.tab - but with the result that only the mentioned subnets where allowed to relay and authoriezed IP-adresses where denied. Does anybody have a hint? Thanks a lot, Achim - 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: Sending to multiple recipients
-Message d'origine- De : Dale Qualls [mailto:[EMAIL PROTECTED] Envoyé : jeudi 8 décembre 2005 05:07 À : xmail@xmailserver.org Objet : [xmail] Sending to multiple recipients .. .. .. The logs do not appear to give any clues. For incoming smtp connexions does xmail smtp log show the connexion and all rcpt addresses ? For outgoing smtp connexions does xmail smail log show the connexion and all rcpt addresses ? Francis - 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: hidden copy
Are you sure it's legal in your country ? I urge you to have a written query from your boss has you could be in trouble doing this without final user knowledge ! Get in mind 'privacy' (in France, bosses can't do this even on 'professional' usage mailboxs ... only admin can read, on demand mails, and it's the admin to decide if the mail is not private or not before showing it to the boss ...) Francis -Message d'origine- De : Vidmantas [mailto:[EMAIL PROTECTED] Envoyé : jeudi 15 décembre 2005 08:18 À : xmail@xmailserver.org Objet : [xmail] hidden copy Hi all, Boss has decided what he want to receive copies of mail sent by _particular_ users. Users shouldn't know about this of course. All outgoing messages of the user(s) should be forwarded to special mail account, with attachments if they exist. Does anybody have any ideas how to make it? Currently I'm using xmail 1.21, os linux. thanks, Vidmantas Stasiunaitis - 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: hidden copy
-Message d'origine- De : Vidmantas [mailto:[EMAIL PROTECTED] Envoyé : jeudi 15 décembre 2005 10:07 À : xmail@xmailserver.org Objet : [xmail] Re: hidden copy CLEMENT Francis wrote: Are you sure it's legal in your country ? I urge you to have a written query from your boss has you could be in trouble doing this without final user knowledge ! Get in mind 'privacy' (in France, bosses can't do this even on 'professional' usage mailboxs ... only admin can read, on demand mails, and it's the admin to decide if the mail is not private or not before showing it to the boss ...) Francis -Message d'origine- De : Vidmantas [mailto:[EMAIL PROTECTED] Envoyé : jeudi 15 décembre 2005 08:18 À : xmail@xmailserver.org Objet : [xmail] hidden copy Hi all, Boss has decided what he want to receive copies of mail sent by _particular_ users. Users shouldn't know about this of course. All outgoing messages of the user(s) should be forwarded to special mail account, with attachments if they exist. Does anybody have any ideas how to make it? Currently I'm using xmail 1.21, os linux. thanks, Vidmantas Stasiunaitis - 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] __ NOD32 1.1322 (20051214) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com good idea, but in my country (Lithuania) such cases are not clearly described in law. But I'll ask him for written form of his wishes :) - 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 'really' send a copy/or save a copy, use one filters-in.tab AND same for filters-out.tab that use a script/batch file that will test for the @@FROM or @@RFROM email then if match the 'spyed user' copy or send copy the @@FILE to another place ... - 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] Happy new year !
Happy new year Davide and Xmail users ! Francis - 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: help! spammers can still send thru my xmail even if open relay is closed!
-Message d'origine- De : garlic breath [mailto:[EMAIL PROTECTED] Envoyé : jeudi 5 janvier 2006 09:31 À : xmail@xmailserver.org Objet : [xmail] Re: help! spammers can still send thru my xmail even if open relay is closed! .. .. .. set your local machines to send authentication when sending mail, which is a good idea anyhow Is that in the documentation somewhere? also, can I keep the 192.168.0.0 255.255.0.0 in the smtprelay.tab for workstations in my lan to send mail outside without using webmail? thanks To be sure spam or viruses can't propagate using your 'internal' workstations, it is recommended to set them to AUTHenticate with the xmail server ! because up to now, no virus or spam or trojans try to auth or it is difficult to implement a 'password' sniffer in a small program like viruses So don't put 192.168.x in smtprelay.tab and set your mail user programs on your internal workstations to do SMTP AUTH !!! This is the best setup for security at server level at this time... (until doing encryption and use public keys infrastructures on all smtp traffic as the new 'basic' and mandatory mail exchange solution anywhere on internet ) Francis - 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: help! spammers can still send thru my xmail even if open relay is closed!
-Message d'origine- De : garlic breath [mailto:[EMAIL PROTECTED] Envoyé : vendredi 6 janvier 2006 05:56 À : xmail@xmailserver.org Objet : [xmail] Re: help! spammers can still send thru my xmail even if open relay is closed! So don't put 192.168.x in smtprelay.tab and set your mail user = programs on your internal workstations to do SMTP AUTH !!! This is the best setup for security at server level at this time... = (until doing encryption and use public keys infrastructures on all smtp = traffic as the new 'basic' and mandatory mail exchange solution anywhere on = internet ) ok. so I just leave my smtprelay.tab empty and just configure my workstation's client mail program to do SMTP auth? no config necessary on my xmail for smtp auth? sorry but I do know how to config smtp auth on xmail until someone points me to the correct documentation Yes NO SPECIAL CONFIG ON THE XMAIL SERVER TO DO AUTH FOR INCOMING SMTP CONNECTIONS : From a 'basic' xmail install, to use smtp auth when sending mail by way of the xmail server, you only need to ask your client mail program to do auth on smtp with the pop3 login/password as the smtp login/password. Nothing to do at the xmail server side ! Francis - 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 vs sendmail
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Erwin Meulensteen Envoyé : jeudi 26 janvier 2006 13:18 À : xmail@xmailserver.org Objet : [xmail] xmail vs sendmail Thanks for all the tips on Imap. Don't have it working yet, bet I'm getting there. In the mean time I have another question. I have Sendmail running on a other machine but this server is making room for the new one with xmail. In the sendmail config I have a setting: Realtime Blackhole List with value:list.dsbl.org Does xmail have something similar ? Yes, in server.tab file. See xmail doc for complete description. All help is appreciated. First help is allways the doc ;-) Erwin - 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: Archiving email
Do you mean that some mail never hit filters.in and filters.out ? I never verified this ... Do you have explicit samples routes in xmail for your 'in house' route ? (how the mail comes in xmail, is there any mailproc file or custom file to be processed and what commands in them, where xmail finally put the message ? smtp out/mailbox/... ) Can anyone confirm that in particular filter/mailproc/custom/... combinaisons a mail can bypass any filter (except when rejected or volontary excluded with filters.tab files options, like !aex) ? Francis -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Chad Fleenor Envoyé : lundi 30 janvier 2006 16:42 À : xmail@xmailserver.org Objet : [xmail] Archiving email Hey guys, I am in a situation where I need to archive all our the emails, inbound and outbound. I have this setup right now, but it is not catching the email sent in house, because anything sent on the email server to any domain on the email server itself will not hit the filters.out.tab file. I'm wondering if there is a way to make the internal domains hit this file or if there is another file that the internal emails hit before being delivered? I need to determine this to populate the senders sent directory. As of now it catches everything comming in and all things going outside this facility. I'm running XMail 1.22 on RedHat Linux 9.0. Thanks in advance for any help on this! The following are my files that i currently have setup. filters.out.tab * * 0.0.0.0/0 0.0.0.0/0 backupsent.tab backupsent.tab /var/MailRoot/filters/archivesent.sh @@FILE @@FROM @@RCVD archivesent.sh #!/bin/sh mkdir /mnt/email/current/$2 mkdir /mnt/email/current/$2/sent cp $1 /mnt/email/current/$2/sent/ --- filters.in.tab * * 0.0.0.0/0 0.0.0.0/0 backup.tab backup.tab /var/MailRoot/filters/archive.sh @@FILE@@RCPT archive.sh #!/bin/sh mkdir /mnt/email/current/$2 mkdir /mnt/email/current/$2/inbox cp $1 /mnt/email/current/$2/inbox/ -- Chad Fleenor Pikeville Medical Center Clinical Applications Analyst 606-218-4931 - 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: glst tarball windows
gzippd tarbals can be open with this tools (current version) (and for many, with very old versions too ) : 7zip unzip powerarchiver winzip winrar .. .. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Davide Libenzi Envoyé : mercredi 15 février 2006 04:43 À : xmail@xmailserver.org Objet : [xmail] Re: glst tarball windows On Tue, 14 Feb 2006, Tony Shiffer wrote: I know this is nuts, but none of the tools I have can open the glst tarball. I do have 3 windows programs that handle tar's, but not this tar. Can someone reccomend a windows program that will unpack Davide's tarball on Windows - or perhaps someone could make the files available for me? Any version of Winzip will work. Also the unzip.exe will work. Google will help you finding this stuff. - Davide - 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: glst tarball windows
Davide is true for Unzip :) remove from the list ! -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de CLEMENT Francis Envoyé : mercredi 15 février 2006 10:41 À : 'xmail@xmailserver.org' Objet : [xmail] Re: glst tarball windows gzippd tarbals can be open with this tools (current version) (and for many, with very old versions too ) : 7zip unzip powerarchiver winzip winrar .. .. -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Davide Libenzi Envoy=E9 : mercredi 15 f=E9vrier 2006 04:43 =C0 : xmail@xmailserver.org Objet : [xmail] Re: glst tarball windows On Tue, 14 Feb 2006, Tony Shiffer wrote: I know this is nuts, but none of the tools I have can open=20 the glst tarball. I do have 3 windows programs that handle tar's, but not this=20 tar. Can someone reccomend a windows program that will unpack=20 Davide's tarball on Windows - or perhaps someone could make the files available for me? Any version of Winzip will work. Also the unzip.exe will work.=20 Google will=20 help you finding this stuff. - Davide - 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] - 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: Spammers - How to block them.
To reduce CustMapsList processing time, you can, with most of 'big blacklist' mainteners (spamcop, rbl, ..) do local a mirror for the zones in a local dns server, so you could reduce dns traffic dramaticaly and custmaplist response time by saying xmail to use the local dns server. Note that I never used this setup for local custmaslists, as we have enought bandwidth et power for our current usage. So don't ask me how to do (or at last ressort ;-) ). First check the list maintener web site for instructions ;-) Francis -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Rob Arends Envoyé : mercredi 15 février 2006 15:07 À : xmail@xmailserver.org Objet : [xmail] Re: Spammers - How to block them. The email response below reminds me of the real causes of your slow-to-drop connections. XMail slows down considerably when I use CustMapsList in server.tab. The process as I understand it for an email that is to be dropped. 1. Remote server starts SMTP connection to xMail. 2. xMail looks up IP in CustMapsList. (if found then goto 5) 3. xMail accepts the [Mail from] and [rcpt to] info. 4. xMail looks up the SMTP-MaxErrors, the local users and aliases, and rejects as needed. (maybe even a predata filter) 5. xMail drops the connection. Ok. Points 1,3,4,5 are all very easy to understand and configure. After all, this is what we have been discussing over the last few days. Point 2 The longer the CustMapsList the longer the delay before xMail can determine that the IP was black listed. xMail will ask each of the RBLs if they have the IP listed, (I think this synchronously, but could be in asynchronously). If synchronously, then the longer the list of RBLS, the longer before xMail can continue. Even asynchronously xMail would have to wait for the last one to reply. Obviously if one of the RBLs returns true, then the process stops immediately. Now even if you don't have a long list of RBLs, the issue could still be in this area. How fast is your DNS server response? If it times out often or just can't cope, that will lengthen the time for the RBL responses to xMail. You can see that one SMTP connection starts a dozen other connections before the user [rcpt to] is even sent to xMail. Now multiply that by all the connections you have, and.. You get the picture. I can't remember the number of times xMail connection faults have been reported on this list and they boiled down to DNS issues. Please check your DNS response time and potentially reduce the RBL list, or put the most likely match as the first RBL listed. Get Ethereal and watch your SMTP traffic, you will be amazed at the amount of traffic one connection spawns. It will also give you an idea of your DNS traffic. Remember to use a hub (or a switch with a monitor port) to capture the traffic, unless you run Ethereal on the xMail server. Rob :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Henri van Riel Sent: Wednesday, February 15, 2006 6:19 AM To: Jeff Buehler Cc: xmail@xmailserver.org Subject: [xmail] Re: Spammers - How to block them. Hi Jeff, I suspect this makes little difference, but just in case you aren't aware of this, you can run ASSP on a different computer - it doesn't have to be the same system, and so Perl also does not need to be on your XMail system. I'm not certain why you have feelings about running something in front of XMail if it will simply reduce the burden on your server (significantly) but we all have our reasons, I suppose! The main reason for not wanting anything installed before XMail is mainly because I've been having bad experiences with AVmailGate but also because I'd much rather have XMail solve my problem. There must be a way without having to install (and maintain) several tools. If you aren't processing much email, then I can't understand why you are getting the server too busy errors you mentioned in your first email. Something doesn't sound quite right. Frankly, even before I was running ASSP, I was processing quite a bit of email (thousands a day, sometimes more, and thousands more a day of SPAM) and I never received an error like that on send. That's odd. How many smtp threads were you running? I've set the maximum to 16 now where 4 should be enough to handle all incoming mail (easily!). I understood you to say that you were getting SMTP connect errors because XMail was taking too long to refuse invalid users. Logically, if you are receiving server too busy errors simply from refusing emails to non-valid users (as I read your first email to be saying), which would require an incredible volume of invalid email (or a very, very slow server), then the only way to prevent server overload would be to put something in front of XMail, since XMail is already refusing those emails that are causing the problem. But I must have misunderstood given the
[xmail] Xmail 1.22 retries on 'bad' email addresses !
Hello Davide and list I don't know if i reported this problem before so excuse me if allready done. On my xmail 1.22 (w2k sp4 win32 platform) I noticed the following symptom : When a mail is send to an external 'TO' address (not handled by xmail) and the 'TO' address is syntaxicaly bad in the domain part (special characters like quote, see sample slog bellow) xmail retries and retries, until reaching last retry and finaly send back a NDR report ! Why xmail, on 'bad domain names', retries (no resolvable at all, my win32 nslookup says command syntax error)? This is a big problem for our customers as they don't receive a NDR immediately after first try (like previously with xmail 1.17, never used 1.18/1.9/1.20/1.21). They know only the error after several hours/days (depending of xmail retries patterns used) Seems xmail don't really check syntaxicaly the domain part of the 'TO' addresses !?!? Notice that I don't use the 'smartdnshost' setting, so xmail use its own resolver from begining to end of domain dns mx resolution. So even if xmail don't check the syntax, the xmail dns resolver should return at least a 'no existing domain' or 'bad request' and then the smail module should stop immediatly, no ? (I don't know own xmail handle the dns responses and what is the exact dns response in this case ...) Any other guys having this problem ? Any ideas Davide ? Thanks Francis Sample slog (note the bad email [EMAIL PROTECTED]' with the single quote, due to bad cut/past from the sender): [PeekTime] 1140182079 : Fri, 17 Feb 2006 14:14:39 +0100 ErrCode = -40 ErrString = Invalid server address ErrInfo = wanadoo.fr' SMAIL SMTP-Send FF = wanadoo.fr' SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED]' Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = wanadoo.fr' [PeekTime] 1140182561 : Fri, 17 Feb 2006 14:22:41 +0100 ErrCode = -40 ErrString = Invalid server address ErrInfo = wanadoo.fr' SMAIL SMTP-Send FF = wanadoo.fr' SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED]' Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = wanadoo.fr' [PeekTime] 1140183075 : Fri, 17 Feb 2006 14:31:15 +0100 ErrCode = -40 ErrString = Invalid server address ErrInfo = wanadoo.fr' SMAIL SMTP-Send FF = wanadoo.fr' SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED]' Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = wanadoo.fr' [PeekTime] 1140183623 : Fri, 17 Feb 2006 14:40:23 +0100 ErrCode = -40 ErrString = Invalid server address ErrInfo = wanadoo.fr' SMAIL SMTP-Send FF = wanadoo.fr' SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED]' Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = wanadoo.fr' [PeekTime] 1140184201 : Fri, 17 Feb 2006 14:50:01 +0100 ErrCode = -40 ErrString = Invalid server address ErrInfo = wanadoo.fr' SMAIL SMTP-Send FF = wanadoo.fr' SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED]' Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = wanadoo.fr' [PeekTime] 1140184813 : Fri, 17 Feb 2006 15:00:13 +0100 ErrCode = -40 ErrString = Invalid server address ErrInfo = wanadoo.fr' SMAIL SMTP-Send FF = wanadoo.fr' SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED]' Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = wanadoo.fr' [PeekTime] 1140185474 : Fri, 17 Feb 2006 15:11:14 +0100 ErrCode = -40 ErrString = Invalid server address ErrInfo = wanadoo.fr' SMAIL SMTP-Send FF = wanadoo.fr' SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED]' Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = wanadoo.fr' [PeekTime] 1140186164 : Fri, 17 Feb 2006 15:22:44 +0100 ErrCode = -40 ErrString = Invalid server address ErrInfo = wanadoo.fr' SMAIL SMTP-Send FF = wanadoo.fr' SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED]' Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = wanadoo.fr' [PeekTime] 1140186903 : Fri, 17 Feb 2006 15:35:03 +0100 ErrCode = -40 ErrString = Invalid server address ErrInfo = wanadoo.fr' SMAIL SMTP-Send FF = wanadoo.fr' SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED]' Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = wanadoo.fr' [PeekTime] 1140187691 : Fri, 17 Feb 2006 15:48:11 +0100 ErrCode = -40 ErrString = Invalid server address ErrInfo = wanadoo.fr' SMAIL SMTP-Send FF = wanadoo.fr' SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED]' Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = wanadoo.fr' [PeekTime] 1140188528 : Fri, 17 Feb 2006 16:02:08 +0100 ErrCode = -40 ErrString = Invalid server address ErrInfo = wanadoo.fr' SMAIL SMTP-Send FF = wanadoo.fr' SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED]' Failed ! SMTP-Error = 417 Temporary
[xmail] Re: Xmail 1.22 retries on 'bad' email addresses !
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Davide Libenzi Envoyé : vendredi 17 février 2006 19:14 À : 'xmail@xmailserver.org' Objet : [xmail] Re: Xmail 1.22 retries on 'bad' email addresses ! On Fri, 17 Feb 2006, CLEMENT Francis wrote: Hello Davide and list I don't know if i reported this problem before so excuse me if allready done. On my xmail 1.22 (w2k sp4 win32 platform) I noticed the following symptom : When a mail is send to an external 'TO' address (not handled by xmail) and the 'TO' address is syntaxicaly bad in the domain part (special characters like quote, see sample slog bellow) xmail retries and retries, until reaching last retry and finaly send back a NDR report ! Why xmail, on 'bad domain names', retries (no resolvable at all, my win32 nslookup says command syntax error)? This is a big problem for our customers as they don't receive a NDR immediately after first try (like previously with xmail 1.17, never used 1.18/1.9/1.20/1.21). They know only the error after several hours/days (depending of xmail retries patterns used) Seems xmail don't really check syntaxicaly the domain part of the 'TO' addresses !?!? Notice that I don't use the 'smartdnshost' setting, so xmail use its own resolver from begining to end of domain dns mx resolution. So even if xmail don't check the syntax, the xmail dns resolver should return at least a 'no existing domain' or 'bad request' and then the smail module should stop immediatly, no ? (I don't know own xmail handle the dns responses and what is the exact dns response in this case ...) Any other guys having this problem ? Any ideas Davide ? While anal address checking is planned for the next release, the friggin MUA should fscking check that too, no? It can provide a better UI to the user instead of a cryptic SMTP response, no? - Davide For sure, the mua must check this too. But, as the MUA and the MTA must be RFC compliant, the check have to be on the two sides, no ? Note that I'm not sure this is a mandatory smtp rfc check at mta level, so my previous statements could be totaly or partialy false ;) - 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] Xmail 1.22 retries on 'no existing domains' email addresses !
After the thread related to Xmail 1.22 retries on 'bad' email addresses ! (in fact syntax error on domain fqdn in recipent email address) we conducted a survey to our xmail servers to potential mail delay, mail lost, configuration problem, At this time, we discovered another 'strange' think : It seems that xmail also retries and retries til last attempt before returning a NDR on effectively no existing domains (not due to syntax error in dom name, ...) (notice that actually the ndr is finaly send to sender witch is the good result, but with long delay, not immediatly, so the problem is just in this delayed ndr response) A nslookup to the recipient domain name effectively returns a 'no existing domain' (so using local dns servers). My xmail servers setup : XMail 1.22 on W2K SP4 (Win32) W2K ip stack configured to use local dns servers (Microsoft Dns servers) Xmail set to NOT use 'smartdnshost' (line commented in server.tab file) so Xmail uses its own 'resolver' and never use local resolver (I think ...) Here is a slog on a test message ( noexistingdomainname.com really don't exist at this time, try it with nslookup/dig, a send a mail to '[EMAIL PROTECTED]' and wait for the ndr response from xmail) Strange think is that internaly generated, xmail SMTP-Error shown in the slog is '417 Temporary delivery error', so seems it's this '4xx' that internaly force xmail to retry ... A 5xx internal code should be the good response here for a noexisting domain name (as for the 'bad dom name syntax' problem that result in a noexisting domain name too, or dns error, generating a 4xx in place of a 5xx ...) ** (from email replaced with [EMAIL PROTECTED]) [PeekTime] 1141372659 : Fri, 3 Mar 2006 08:57:39 +0100 ErrCode = -40 ErrString = Invalid server address ErrInfo = noexistingdomainname.com SMAIL SMTP-Send FF = noexistingdomainname.com SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = noexistingdomainname.com [PeekTime] 1141373153 : Fri, 3 Mar 2006 09:05:53 +0100 ErrCode = -40 ErrString = Invalid server address ErrInfo = noexistingdomainname.com SMAIL SMTP-Send FF = noexistingdomainname.com SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = noexistingdomainname.com [PeekTime] 1141373667 : Fri, 3 Mar 2006 09:14:27 +0100 ErrCode = -40 ErrString = Invalid server address ErrInfo = noexistingdomainname.com SMAIL SMTP-Send FF = noexistingdomainname.com SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = noexistingdomainname.com [PeekTime] 1141374215 : Fri, 3 Mar 2006 09:23:35 +0100 ErrCode = -40 ErrString = Invalid server address ErrInfo = noexistingdomainname.com SMAIL SMTP-Send FF = noexistingdomainname.com SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = noexistingdomainname.com ** Francis - 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: RCPT TO smtp filter.
I think smtp filters are currently triggered once for all rcpt, not for each rcpt ! If actual smtp filters are triggering per rcpt, it could be a great option here too to have per 'allrcpt' It should be a option on per filter (like !eax in smtp pre-data) to have more granularity So it could be a good think to add options like 'allrcpt' or 'perrcpt' at any filters level in xmail (smtp pre, post, in, ou, ...) with default value depending of current xmail defaults (to be compatible with previous filters) Francis -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de John Kielkopf Envoyé : lundi 6 mars 2006 18:25 À : xmail@xmailserver.org Objet : [xmail] RCPT TO smtp filter. Davide, How difficult would it be to add filters that are triggered for each RCPT TO, similar to smtp pre-data filters? Does functionality like this already exist in Xmail? It would be helpful in the case of greylist and blacklist filters to add more granularity than all or nothing when filtering mail with multiple rcpts. It would also be useful for custom relay domains, where the mailbox list resides outside of Xmail. - 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: GLST help
GLST is very simple to install, even on win32 If you put all glst files (minimum are glst.exe and glst.conf) in {GLSTDIRFULLPATH} and have XMAIL root directory in {XMAILROOTFULLPATH}, to setup glst for xmail you need to : 1 - Customize {GLSTDIRFULLPATH}\glst.conf 2 - Put in xmail file {XMAILROOTFULLPATH}\filters.pre-data.tab the following line (top of file is best place) : !aex[TAB]{GLSTDIRFULLPATH}\glst.exe[TAB]--mfile[TAB]@@FILE[NEWLINE] (replace [TAB] with real 'TAB' key pressed and [NEWLINE] with 'ENTER' key pressed) 3 - Recommanded final step, schedule minimum once a week the following command : {GLSTDIRFULLPATH}\glst.exe --cleanup That's all ! Sample install : Assuming xmail is installed in c:\xmail so {XMAILROOTFULLPATH} is c:\xmail Assuming glst is installed in c:\glst so {GLSTDIRFULLPATH} is c:\glst First, customize c:\glst\glst.conf to your needs Second, in file c:\xmail\filters.pre-data.tab, put the following line (top of file is best place) !aex[TAB]c:\glst\glst.exe[TAB]--mfile[TAB]@@FILE[NEWLINE] Finally, schedule the following command once a week : c:\glst\glst.exe --cleanup Francis -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Edmonds, J.B. Envoyé : lundi 20 mars 2006 22:08 À : xmail@xmailserver.org Objet : [xmail] GLST help Need a little help with GLST on Windows. It doesn't appear to be firing and I wonder if I have the path correct or filter info correct. I am having a little difficulty translating the Unix to Windows. Can someone post or email the content of their filter and the physical directory path? Thanks in advance jb - 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: RFC 2476
After reading RFC 2476, not at this time on many parts of rfc but you can use smtp in filters to add some of the rfc functionnalities til xmail implements them in code (like email syntax check, fqdn check, reject etrn on submission port, add missing headers, confirm valid sender, ...) . Francis -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Shiloh Jennings Envoyé : mardi 4 avril 2006 22:23 À : xmail@xmailserver.org Objet : [xmail] RFC 2476 Does XMail fully support RFC 2476? - 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: GLST.EXE taking 100% CPU
Hello Michal To avoid any problems with glst (100% cpu usage on growing db, db corrupted, ) I use a scheduled batch script (once a day) to maintain xmail related tools (av updated, glst maintenance, ...). The glst batch look like this (GlstCleanUp.cmd) : --- @echo off pushd glst glst --cleanup del glstdump.lst dbdump --dbfile glst.dbm --output glstdump.lst del glst.dbm dbload --dbfile glst.dbm --input glstdump.lst popd --- For infos, the general batch look like this : --- @echo off C: cd \XMailTools rem Stop Xmail to avoid filters/processes to access files net stop xmail rem AV Update (clamav, ...) call ClamAvUpdate.cmd rem Glst database cleanup/reload call GlstCleanUp.cmd rem Sync Xmail databases with SQL databases .. .. rem Restart XMail net start xmail exit --- With this method (once per day) I resolved glst blocked processes definitively ... Francis -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Michal A. Valasek Envoyé : vendredi 21 avril 2006 07:53 A : xmail@xmailserver.org Objet : [xmail] Re: GLST.EXE taking 100% CPU | Can you try to do a dbdump+dbload to a new DB file? My guess is that=20 | something happened to the DB file and the simple GDBM is not able to=20 | detect and gracefully recover from it. Your guess was right. Although the database on each server has about 100 = MB, resulting export has always only few lines in it. I have deleted all databases and would watch what it would do. Now: 1) How it got corrupted (on three independent servers) in first place? 2) Is possible to fix the database somewhat and return the data, so = known legitimate mail would not be delayed? If you wish, I can post the DBs somewhere for you and send you the link = privately. -- Michal A. Valasek | Chief Software Architect of Altairis LLC, ASP.NET = MVP PGP 0xC4F3579D | www.altairis.cz | www.rider.cz | www.aspnet.cz You can have peace. Or you can have freedom.=20 Don't ever count on having both at once. (Lazarus Long) - 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] Local delivery and smail log question
Hello XMail'ers and Davide Our xmail server configuration : W2000 Server SP4, Xmail 1.22 W32, Davide glst, Henry avfilterpd (post-data scan), and no 'runtime' av scanner activated Some customers complains about no delivery of some incoming mails to our server (even if mail comes from external or local xmail accounts). After xmail logs checks, I found in each case a line in the smail log file concerning the 'phantom' mails : . . . [EMAIL PROTECTED] [EMAIL PROTECTED] LOCAL [EMAIL PROTECTED] 2006-05-16 03:46:54 So, normally (if I understood xmail doc correctly), I can say to my customer : We are sure that our server really put the mail in your mailbox, so check you should check your network and pc for problems (firewall, filters, av, .) that can quarantine or delete the mails when you retrieve them ... But some are 'septic' and assure the problem is on our server ... So my question is : Does the lines put in smail log files cleary indicate that the mail was really delivered (for LOCAL lines the mail was effectively written in the mailbox dir, for 'REDIR' the mail was delivered to the final redir email and accepted, for FWD the mail was delivered and accepted, ...) ? Or does smail log lines only indicate that the mail have been taken in account by the smail module and put in xmail queue to deliver to the real destination later ? A final request : It seems that there is no line in smail file indicating any failure to deliver to final recipents (local or not, ...), so my request is : Could some 'failure' lines be added in smail log when a mail can't be delivered at all (on first attempt even if 'temporary', and for permanent ones smtp error code returned by remote server, or if localy delivered, any os reported error like no more space, failure to write, ...) Thanks Francis - 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 delivery and smail log question
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Davide Libenzi Envoyé : jeudi 18 mai 2006 07:59 À : xmail@xmailserver.org Objet : [xmail] Re: Local delivery and smail log question On Tue, 16 May 2006, CLEMENT Francis wrote: Hello XMail'ers and Davide Our xmail server configuration : W2000 Server SP4, Xmail 1.22 W32, Davide glst, Henry avfilterpd (post-data scan), and no 'runtime' av scanner activated Some customers complains about no delivery of some incoming mails to our server (even if mail comes from external or local xmail accounts). After xmail logs checks, I found in each case a line in the smail log file concerning the 'phantom' mails : . . . [EMAIL PROTECTED] [EMAIL PROTECTED] LOCAL [EMAIL PROTECTED] 2006-05-16 03:46:54 So, normally (if I understood xmail doc correctly), I can say to my customer : We are sure that our server really put the mail in your mailbox, so check you should check your network and pc for problems (firewall, filters, av, .) that can quarantine or delete the mails when you retrieve them ... But some are 'septic' and assure the problem is on our server ... So my question is : Does the lines put in smail log files cleary indicate that the mail was really delivered (for LOCAL lines the mail was effectively written in the mailbox dir, for 'REDIR' the mail was delivered to the final redir email and accepted, for FWD the mail was delivered and accepted, ...) ? Or does smail log lines only indicate that the mail have been taken in account by the smail module and put in xmail queue to deliver to the real destination later ? When XMail logs the LOCAL SMAIL log line, the message is in the mailbox. - Davide - Ok, Davide, thanks And for others cases (redirected, fowarded, ... to internals or externals, either by emails rewrites or smtp servers forwards) does the line in the log confirm that the mail was delivered too ? Thanks Francis - 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] xmail DNS problem : First sample
Hello Davide I restart here the various 'dns problems' for smtp delivery from xmail since I have more and more complains about users saying our server is 'bad' Configuration used : Xmail 1.22 Win32 on Windows 2000 SP4 Xmail configured to directly resolve mx queries (no smartdnshost) Local win32 Ip stack normaly configured to use a Microsoft DNS Server on another Windows 2000 SP4 (I put this info here in case this could impact xmail internal resolver...) First problem : Use of A domain entry (exist) even if Mx entries exist for the destination domain === Below is the xmail error report (relay denied but this is not the real problem) when sending mail to a account at ifrance.com [00] XMail bounce: [EMAIL PROTECTED];Error=[554 [EMAIL PROTECTED]: Relay access denied] [01] Error sending message [1119891256115.696.887d.mail0] from [groupeab.com]. ID:S30313 Mail From: [EMAIL PROTECTED] Rcpt To: [EMAIL PROTECTED] Server:ifrance.com [ifrance.com] [02] The reason of the delivery failure was: 554 [EMAIL PROTECTED]: Relay access denied [04] Here is listed the message log file: [PeekTime] 1119890607 : Mon, 20 May 2005 18:43:27 +0200 ErrCode = -82 ErrString = [RCPT TO:] not permitted by remote SMTP server ErrInfo = 554 [EMAIL PROTECTED]: Relay access denied SMAIL SMTP-Send FF = ifrance.com SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 554 [EMAIL PROTECTED]: Relay access denied SMTP-Server = ifrance.com [05] Here is listed the initial part of the message: .. .. NSLookup reports from the xmail server and from the Microsoft DNS server used by xmail server ip stack : Query for MX records on ifrance.com : ifrance.com MX preference = 0, mail exchanger = mailrecv.ifrance.com ifrance.com nameserver = dns1.ifrance.com ifrance.com nameserver = dns2.ifrance.com mailrecv.ifrance.cominternet address = 82.196.5.133 mailrecv.ifrance.cominternet address = 82.196.5.132 mailrecv.ifrance.cominternet address = 82.196.5.131 mailrecv.ifrance.cominternet address = 82.196.5.130 mailrecv.ifrance.cominternet address = 82.196.5.134 dns1.ifrance.cominternet address = 82.196.5.2 dns2.ifrance.cominternet address = 82.196.5.3 Query for A record on ifrance.com : Nom :ifrance.com Addresses: 82.196.5.22, 82.196.5.20, 82.196.5.21 And a dnsreport http://www.dnsreport.com/tools/dnsreport.ch?domain=ifrance.com returnes exactly the same thing. Note that none of the Ip returned by the A record is used by any MX ... so the server at 'A' record even if accepting smtp is not responsible for ifrance.com delivery (this is not a invalid configuration). Xmail server try to connect to server 'ifrance.com' (A record) NOT on any ifrance MX ! When changing xmail config to relay ALL mail to another server (using smtpgw.tab with a *[tab]) all work fine !!! Mail is delivered by the gateway to ifrance.com without problem (to one of the various mx) !!! And the gateway is a 'simple' Microsoft SMTP service on Windows 2000 SP4 that uses the same Microsoft dns server to resolve IPs/Mxs ... Second problem : On no existing destination domains, Xmail don't return immediatly a NDR but start the 'normal' retry process === Below is the xmail file report when sending mail to a account at 'no existing' domain 'apem.gr' [PeekTime] 1147966006 : Thu, 18 May 2006 17:26:46 +0200 ErrCode = -40 ErrString = Invalid server address ErrInfo = apem.gr SMAIL SMTP-Send FF = apem.gr SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = apem.gr [PeekTime] 1147990673 : Fri, 19 May 2006 00:17:53 +0200 ErrCode = -40 ErrString = Invalid server address ErrInfo = apem.gr SMAIL SMTP-Send FF = apem.gr SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = apem.gr [PeekTime] 1147998436 : Fri, 19 May 2006 02:27:16 +0200 [PeekTime] 1148015781 : Fri, 19 May 2006 07:16:21 +0200 ErrCode = -40 ErrString = Invalid server address ErrInfo = apem.gr SMAIL SMTP-Send FF = apem.gr SMTP = mx.groupeab.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 417 Temporary delivery error SMTP-Server = apem.gr .. .. (same til last retry then ndr send to sender). Dns lookup for agem.gr returns 'No existing domain' (from xmail server or microsoft dns server), as dnsreport too (http://www.dnsreport.com/tools/dnsreport.ch?domain=apem.gr) Xmail try to send and retries, retries, until the final retry. So the Ndr is received only one or two days (depending of the retry parameter) after the initial sending (many customers send and resend the mail during this retry period because the receiver tell them no mail coming ! so the queue generaly have multiple times the same
[xmail] Re: xmail DNS problem : First sample
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Francesco Vertova Envoyé : lundi 22 mai 2006 13:16 À : xmail@xmailserver.org Objet : [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). An 'non-authoritatie answer' is usual as many isp's do local 'dns caching', and this is not a problem as long as the 'dns cache' observes the various refresh times of the zone. But yes it could be. Here when I do a nslookup from my xmail server, I don't get 'non-authoritative answer' and get a list of mx for ifrance.com ... And xmail mx cache file ifrance.com contains : 86400 0:mailrecv.ifrance.com. ?!?!?! So xmail resolver obtained the good mx response ! So why xmail try to send the A pointer ? (If I remember correctly, I never had this type of problem with xmail = 1.19 and the problem seemed to start when I updated directly from 1.19 to 1.21, and continue with 1.22) The strange think is that if I stop xmail, clear xmail dns cache (even if cache is good) and restart xmail, sending new mail to ifrance.com is then ok (not sure that this will become ok in all stop/clear/start cases, but at time I tryed this, it was ok) 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 ... If there is a timeout when trying to resolving for the domain mx's, I think Xmail should not fall back to A domain pointer, and retry to resolve with same 'schedule' process timing used with 'normal' retries, and only fall back to A pointer when a good dns response (no dns error or timeout) is received but saying 'no mx entry found'. In many cases, the domain A pointer don't exist at all, and if it exists, it does not have the 'mx' role at all and its smtp configuration (if smtp port really reachable at this ip) is usually only for 'outgoing' mails (web server, ...) so, in many cases, use of the A pointer result in fatal error when trying to send to them ... To resume, I think that Xmail should use only the A pointer as a fall back when and only when there is at least one dns successfull response saying exactly 'no mx entry found for this domain'. In all others cases, try to resolve the mx until a good dns response with mx entries (if no response retry with same retry schedule used for normal mail retry schedule, and ndr if last attempt), and then use only the mx entries. 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 ... IMHO, it's not because some other mail servers do like this on 'no existing domains', that it is the good way to do the job ;) And yes, I preferre too the 'old-fashion' way, and imho, that's the good ('rfc compliant' ?) way. Francis 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
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Rob Arends Envoyé : lundi 22 mai 2006 14:35 À : xmail@xmailserver.org Objet : [xmail] Re: xmail DNS problem : First sample I am currently running 1.22 on Win2kSP4 - same as Francis. I also have in SERVER.TAB SmartDNSHost 10.90.10.150:udp; Previously I had the dreaded 'A' record problem, but now do not. I WAS running MS DNS, but am now running BIND NAMED in place of the MS DNS (on the same box as Xmail). There is NO absolute information that proves the move from MS DNS to NAMED was the solution, but it has offered me some enhancements, like 'views', so I'm unwilling to move back to MS DNS. Notice that I sayed that I don't use anymore smartdnshost : In my previous configuration xmail 1.19 + smartdnshost pointing to the local Microsoft DNS I never had this problem. When I updated xmail to 1.21, with smartdnshost intact, I got the problem. After first discussion for this problem on the list, some suggested to not use smartdnshost to avoid use of the local Microsoft dns that could be the problem. So, I removed 'smartdnshost', and now (normally ?) xmail only use its own internal resolver, not the local resolver (yes ? no ?) nor the local microsoft Dns (yes ? no ?) and I have the problem too ... I'm disappointed ... I will try to use 'Bind named', thanks Rob for your tip I do get the DNS timeouts that Francesco describes. I notice it mostly when running DIG looking for a domain that the server has not cached. Usually I re-run DIG immediately, and I get the records. This just means the my client gives up before the records are returned to my NAMED server, and on to the client - about 2 seconds. I had this same issue with MS DNS. This *might* be the root cause of the whole thing. How much the DNS timeouts affect Xmail I cannot say. That a good question ;) Now I'm not saying THAT is EXACTLY what xmail does, but if it does, that would go a long way to resolving the A record syndrome. I note that even though I have SmartDNSHost set, xmail still populates mailroot/dnscache/mx Possibly confirming my guess work above. I'd prefer to be able to turn of xmail's dnscache when using SmartDNSHost, as I don't see it enhances performance when SmartDNSHost is used. More than likely it makes debugging more difficult. Perhaps Davide could clarify if Xmail relies on it's cached dns records in case of retried sending. IMHO, it is simply not the 'job' of a mail server program to 'resolve, cache, ...' dns queries ;) and it should let the local os resolver do the job. At least, I don't think caching the resulting dns query for future use really 'enhance' the response time for 'delivery' as in many cases the responding dns server (in most cases local or isp dns) do some cache by itself (especially true when using 'smartdnshost'). --- On Francesco's comment about the 'old-fashion way'; I agree I liked it better when you knew there was a problem (your's or network's), but there are those 'end-users' that don't care that your link is down for a short while - why should that mean they have to send the email again - can't you queue it? And we find ourselves in the situation we are in now - Damned if you do and Damned if you don't. I have tuned my retries down to about half a day over 10 retries, rather than 32 over 2 days. I find that helps put me in the middle ground between the incorrectly typed address and the oops, my link is down scenarios. These are the values I use on xmail cmd line: -Qt 600 -Qi 2 -Qr 10 These are the retries that produces. perl zinc.pl 600 2 10 01 send-time = 0 (00:00:00) next-try = 600(00:10:00) 02 send-time = 600(00:10:00) next-try = 900(00:15:00) 03 send-time = 1500 (00:25:00) next-try = 1350 (00:22:30) 04 send-time = 2850 (00:47:30) next-try = 2025 (00:33:45) 05 send-time = 4875 (01:21:15) next-try = 3037 (00:50:37) 06 send-time = 7912 (02:11:52) next-try = 4556 (01:15:56) 07 send-time = 12468 (03:27:48) next-try = 6834 (01:53:54) 08 send-time = 19303 (05:21:43) next-try = 10251 (02:50:51) 09 send-time = 29554 (08:12:34) next-try = 15377 (04:16:17) 10 send-time = 44932 (12:28:52) next-try = 23066 (06:24:26) Thanks again Rob, I will reduce too the -Q parameters on my xmail server. (but this do not resolve the problem, just reduce the ndr timing ...) I hope that helps someone. Rob :-) Yes, it does :) Francis - 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
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Davide Libenzi Envoyé : dimanche 28 mai 2006 18:17 À : xmail@xmailserver.org Objet : [xmail] Re: xmail DNS problem : First sample On Sun, 28 May 2006, Rob Arends wrote: So Davide, can you explain When the TTL expires and Xmail tries the A record, why then for ALL the retries, does xmail attempt to send to the same server? If the xmail re-resolved the domain for each retry, wouldn't it get the correct MX, now that the SmartDNShost has cached either NS/MX for the domain. I totally understand xmail can't do much if the smartdnshost can't resolve the MX, however usually it can on the second attempt, so xmail should be able to send the email on the second try. The A-record try is *always* a fallback, and it *never* cached, and this is a fact. So if XMail continue to try to the A record, it means that the network condition that stops it to resolve the MX persist. - Davide For the sample I provided (ifrance.com), the mail was still in xmail queue and at time I run'd the nslookup from the xmail server itself to find the mx, and I got a valid 'authoritive' response with the mx entry with no timeout, but at next retry the mail delivery attempt was done on the A record ... The same think for many others mails waiting for a good mx entry in the xmail queue ... My xmail server is definitively not lucky on mx lookups (with or without smartdnshost ...) ! I will get a try on Tom Banting patch ASAP ... Francis - 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: What triggers SMTP=EERRS?
I think this normal if you set 'list.dsbl.org:0' (:0 mode) in the CustMapsList (the connection is kept alive but only authenticated users can send mail ) So you permit xmail to wait for a possible authentication command (login, ) from the client after the helo/ehlo stage, and if the client don't auth at all and try 'mail from' directly (or any others commands), then this is a protocol violation as xmail only want an auth as the next command send by the client and finaly you have a EERRS error in the log. Right Davide ? Do you think xmail, in future version, could avoid writing this 'EERRS' entry then previous one was 'EIPMAP' ? Not a very important request at all ;) Francis -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Rob Arends Envoyé : lundi 29 mai 2006 18:18 À : xmail@xmailserver.org Objet : [xmail] Re: What triggers SMTP=EERRS? Great! So why do I get: YOUR-OUQL80EY5G [EMAIL PROTECTED] SNDRIP=EIPMAP (list.dsbl.org.) 0 YOUR-OUQL80EY5G SMTP=EERRS 0 I expect that the IPMAP kicked them off before they could do Command errors. Given they are from the same IP address. Any thoughts Davide? Rob :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Davide Libenzi Sent: Tuesday, 30 May 2006 1:53 AM To: xmail@xmailserver.org Subject: [xmail] Re: What triggers SMTP=EERRS? On Mon, 29 May 2006, Rob Arends wrote: Davide, I need some clarification as to the SMTP log entry SMTP=EERRS. When does it occur? I have the server. tab setting as follows: SERVER.TAB SMTP-MaxErrors 2 So I expect that when the sender gets the RCPT TO wrong twice, that the EERRS will be triggered. I thought I'd see two RCPT=EAVAIL, then an EERRS. The number of errors is not only recipient errors, but any kind of SMTP command error (wrong sequence, command not available, etc...). - Davide - 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] - 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 greetings
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Dmitry Envoyé : jeudi 1 juin 2006 13:25 À : xmail@xmailserver.org Objet : [xmail] question about greetings Hi :) My mail server's greeting is look like that: 220 [EMAIL PROTECTED] [XMail 1.21 ESMTP Server] service ready; What i mast to do, that greeting will be like that: 220 [EMAIL PROTECTED] [XMail 1.21 ESMTP Server] service ready; ??? Dmitry A particular reason for the second greeting ? If you really want this now, you need to change the code :) Francis - 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: Comments in glst.conf
Not sure, as I didn't read the sources, but no way to put comments, doc don't say nothing about them. What I do now is working only on a copy as source file with comments (#) and before overwriting glst.conf file, delete any lines beginning with '#' (a macro can do the job) I think adding 'skip lines beginning with #' can be simple to implement in the current code. I will do a try ASAP. Regards Francis -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Michal A. Valasek Envoyé : jeudi 15 juin 2006 02:57 À : xmail@xmailserver.org Objet : [xmail] Comments in glst.conf Hello, is there any way to write safe comments to glst config file? Something like # in Xmail's TAB files? Regards, -- Michal A. Valasek | Chief Software Architect of Altairis LLC, ASP.NET MVP PGP 0xC4F3579D | www.altairis.cz | www.rider.cz | www.aspnet.cz You can have peace. Or you can have freedom. Don't ever count on having both at once. (Lazarus Long) - 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: mail() function and smtp relay settings
-Message d'origine- De?: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Gideon So Envoye?: jeudi 15 juin 2006 03:55 A?: xmail@xmailserver.org Objet?: [xmail] Re: mail() function and smtp relay settings Hi David, drwx-- root root spool drwx-- root root spool/temp I have no spool/local directory. I think You need it ;-) Gideon -- ::MigDal-Gad CrossNet Ltd:: ==We do the Best for Christ== Tel: 2671-7015 Fax: 3005-4526 Web: http://www.mcnet.com.hk - - 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: Comments in glst.conf
Cool ! No need to patch ! Thanks Jorn -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Jorn Hass Envoyé : jeudi 15 juin 2006 10:04 À : xmail@xmailserver.org Objet : [xmail] Re: Comments in glst.conf Yes, glst allows for just that... Extract from my glst.conf file: [Quote] generr=0 rejerr=3 # 10 minutes timeo=600 # 30 days... exptimeo=2592000 # 2 hour lametimeo=7200 # Exclude certain subnets from greylisting... # Localhost... xnet=127.0.0.1,255.255.255.255 [/Quote] Thursday, June 15, 2006, 2:57:18 AM, you wrote: Hello, is there any way to write safe comments to glst config file? Something like # in Xmail's TAB files? Regards, -- Best regards, Jornmailto:[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] - 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 on secondary server
Simple way is to share the same base for the two servers. Primary xmail server with glst database and it shares (nfs, ...) the glst directory on secure backoffice network (or with ssl/stunnel/vpn, ...) Secondary xmail server glst points to this share. Don't ask me about reliability and possible timeouts ... I did test this setup at this time :) - For the glst cleanup procedure, and shared database. You can create a single batch doing stop/clean/start on only primary server if it can execute remote commands on secondary (rsh, ...) to stop and restart secondary xmail: 1 stop local (primary) xmail 2 stop secondary xmail remotely 3 only if you are sure secondary is stopped, do glst cleanup 4 restart secondary xmail remotely 5 restart local xmail Second option if remote sh not available : schedule two batchs on first and second servers at same time to : First server batch : 1- stop local xmail 2- create a 'primarystoppedforcleanup' flag file in glst database dir to confirm to secondary that its time to stop xmail 3- wait until a 'secondarystoppedforcleanup' flag file exist in glst database dir to confirm secondary is stopped (need a sort of timeout to skip cleanup, go to step 5 directly, in case secondary didn't start cleanup batch at all ...) 4- do the glst cleanup 5- delete primarystoppedforcleanup flag file in glst database dir. this mark the end of cleanup 6- restart local xmail Secondary server batch : 1- wait until primarystoppedforcleanup exist in glst database dir (need a sort of timeout to simply exit batch in case primary didn't start cleanup batch at all ...) 2- stop local xmail 3- create 'secondarystoppedforcleanup' flag file to fire real cleanup on primary 4- wait until primatystoppedforcleanup file is deleted by primary (need a sort of timeout to continue, step 5, in case primary didn't start cleanup batch at all or didn't delete flag file ...) 5- delete secondarystoppedforcleanup 6- restart local xmail More complicated as you need to use sort of synchronisation to avoid stopping definitively one or the two xmail ... (here syncho with files used as semaphores/flags) Francis -Message d'origine- De: [EMAIL PROTECTED] A: xmail@xmailserver.org Date: 15/06/06 18:17 Objet: [xmail] Re: GLST on secondary server it should read I **dont** want to get big delay in mail delivery. Hi! What is the best way to implement the GLST on a secondary mail server? I want to get big delay in mail delivery. What is the recommended GLST database cleanup procedure and how often should it be done? Matic - 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] - 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 on secondary server
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Davide Libenzi Envoyé : samedi 17 juin 2006 18:20 À : 'xmail@xmailserver.org ' Objet : [xmail] Re: GLST on secondary server On Fri, 16 Jun 2006, CLEMENT Francis wrote: Simple way is to share the same base for the two servers. Primary xmail server with glst database and it shares (nfs, ...) the glst directory on secure backoffice network (or with ssl/stunnel/vpn, ) Secondary xmail server glst points to this share. I can't say I'd recomend using GDBM over NFS. GDBM is a nice, small, zero-setup DB API, but it doesn't fit sharing over NFS very well. - Davide It's globaly what I said with : 'Don't ask me about reliability and possible timeouts ... I did test this setup at this time :)' So, best way seems to be a glst version using a sort of sql server, or a glst client/server model (like spamd/clamd, ...) Francis - 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 greetings
Davide I have just a question about the greeting and md5 challenge : When doing a dnsreports.com on one of my domains, on 'Mail server host name in greeting' test, dnsreports says : WARNING: One or more of your mailservers is claiming to be a host other than what it really is (the SMTP greeting should be a 3-digit code, followed by a space or a dash, then the host name). If your mailserver sends out E-mail using this domain in its EHLO or HELO, your E-mail might get blocked by anti-spam software. This is also a technical violation of RFC821 4.3 (and RFC2821 4.3.1). Note that the hostname given in the SMTP greeting should have an A record pointing back to the same server. Note that this one test may use a cached DNS record. mx.groupeab.com claims to be non-existent host [EMAIL PROTECTED]: 220 [EMAIL PROTECTED] [XMail 1.22 ESMTP Server] service ready; Wed, 21 Jun 2006 15:21:45 +0200 As they state that this could be a problem with some anti-spam softwares, are they true saying this is a RFC technical violation ? Or dnsreport don't take in account another paragraph or rfc about smtp MD5 auth ? In case dnsreport statement is true, is there a alternative 'greeting response' format that will do both conformence to referenced rfc's and md5 auth ? You opinion ? Francis -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Davide Libenzi Envoyé : vendredi 2 juin 2006 02:51 À : xmail@xmailserver.org Objet : [xmail] Re: question about greetings On Thu, 1 Jun 2006, Dmitry wrote: Hi :) My mail server's greeting is look like that: 220 [EMAIL PROTECTED] [XMail 1.21 ESMTP Server] service ready; What i mast to do, that greeting will be like that: 220 [EMAIL PROTECTED] [XMail 1.21 ESMTP Server] service ready; ??? That *has* to be continuosly changing since it's the salt for the MD5 based auths!! - Davide - 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: Non-ASCII characters in CTRL protocol and configu ration files
As the final display of variables is dependent of the renderer, you can choose encoding and charset you like. But I think using a quoted printable encoding with unicode charset could be the best choice (both are universal and many languages and tools handle them well) Francis -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Michal A. Valasek Envoyé : lundi 17 juillet 2006 17:26 À : xmail@xmailserver.org Objet : [xmail] Re: Non-ASCII characters in CTRL protocol and configuration files how it is with Non-ASCII characters (like letters with diacritic marks) in XMail configuration files?=3D20 What charset should I use? Or I must encode it, using for example quoted printable or URL encode? =20 Which variables are you talking about? In general, XMail does not care. I'm talking about user variables, set using uservarsset in CTRL protocol. Things like Full name etc. -- Altair - 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: postmaster messages
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Helio Cavichiolo Jr Envoyé : vendredi 21 juillet 2006 23:01 À : xmail@xmailserver.org Objet : [xmail] postmaster messages Is it possible to set xmail to send error messages to appropriate domain. I mean, if the error message was generated by a message from a user of domain xxx.com, the sender would be [EMAIL PROTECTED], but if the error message was generated by a message from a user of domain yyy.com, the sender would be [EMAIL PROTECTED] Helio - Not at this time, only one 'postmaster' defined in server.tab file. And there is no 'filters on errors' to do some think with the error or the error message before sending it. So, you need to hack the code. Francis - 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: Auth in SMTPFWD.TAB
-Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Ladislav Sedivy Envoyé : samedi 22 juillet 2006 16:15 À : xmail@xmailserver.org Objet : [xmail] Auth in SMTPFWD.TAB Hello all, Is there a way to specify authentication in SMTPFWD.TAB file? Thanks, Lac You can find the info in xmail doc, section 'Smtp Client Authentication' : http://www.xmailserver.org/Readme.html#smtp_client_authentication ;) Francis - 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: Retrieving POP3 mails
When doing pop3 from a MUA (user software used to 'pop3' mails from the server) the final destination of the 'poped' mails is the responsability of the MUA. Xmail xmailroot/domains/... is the temporary location where xmail stores the mails received via smtp and waiting for a pop3 MUA to retrieve them, not the final location in the user MUA. So, the question is : where normaly the pop3 client software stores the 'poped' mails ? Or do you mean that you tried to use xmail feature 'pop3links' to retrieve pop3 mails from another pop3 server ? Francis -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Tiwari, Sachin Envoyé : lundi 24 juillet 2006 09:53 À : xmail@xmailserver.org Objet : [xmail] Retrieving POP3 mails Hello, I am running XMail servers on the linux machines in my environment. When I am retrieving a mail via POP3, mail is getting retrieved but it's not getting saved in the Linux local machine directory (/var/Mailroot/domains/.). Request anyone to let me know what all files are required to be configured especially for POP3 case as my SMTP stuff is working very fine. Any inputs are welcome? Thanks, - 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]