[xmail] using Norman Virus Control with xmail
Hello Community In the case you have Norman Virus Control installed on your W2K, this may be of interest: Seeing the increasing amount of mail containing viruses, I wanted to set up a anti-virus filter. Because I have NVC5 installed and updated automatically, I wanted to use its command line scanner, which turned out being quite tricky. I finally wrote a little tool as layer between xmail filter and NVC. You'll find this tool here: http://www.apsag.com/public/nvcbind.zip Please notice that you must allow the scanner to scan data on network drives even though everything happens locally. Why? xmail uses extended path names such as \\?\d:\programs\xmail\... which appear as network paths to NVC ... And don't try to us the on-access scanner within the mailroot folder. You'll slow down everything and may even cause trouble with the locks. Regards - 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] Dummy question about MAIL_ROOT
Hi, As I use an script to initiate XMail when the system loads I don't care about the mail_root environment variable. But now I'm trying to use xmail's sendmail (to test UebiMiau) and I need this variable to be set (in linux) so my dummy question is: how do i do it? I need to things: to enable the variable without rebooting and to configure something to make the variable avaiable the next time the system reload. Thanks ´:) Leonardo - 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: Dummy question about MAIL_ROOT
The sendmail should really be a shell script that calls the real sendmail, it should be included with Xmail... !/bin/sh if [ -z $MAIL_ROOT ]; then export MAIL_ROOT=/var/MailRoot fi /usr/sbin/sendmail.xmail $* -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre de Leonardo Cabral Enviado el: Wednesday, June 11, 2003 9:34 AM Para: [EMAIL PROTECTED] Asunto: [xmail] Dummy question about MAIL_ROOT Hi, As I use an script to initiate XMail when the system loads I don't care about the mail_root environment variable. But now I'm trying to use xmail's sendmail (to test UebiMiau) and I need this variable to be set (in linux) so my dummy question is: how do i do it? I need to things: to enable the variable without rebooting and to configure something to make the variable avaiable the next time the system reload. Thanks ´:) Leonardo - 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] Adding MAPS logging
Greetings, I've heard a couple of people ask about logging for MAPS rejections, and I found that I wanted such a feature myself - so I grabbed a copy of the 1.15 source and added it. Making these changes adds a new log file in the \log directory, log name begins with maps (the name is formatted like the rest, with a date in the file name). The format of the log file is: Connecting IP Date/Time blocking maps domain I have no objection if this code were to find it's way into the distribution set for XMail...:) Tracy - - - For posterity sake, here are the modifications I made - all to SMTPSvr.cpp: (beware word wrap of e-mail clients) In the constant declarations sections, find: #define SMTP_LOG_FILE smtp After this line, add: #define SMTP_MAPS_FILE maps In the function declarations section, find the line: static int SMTPLogSession(SMTPSession SMTPS, char const *pszSender, char const *pszRecipient, char const *pszStatus, unsigned long ulMsgSize); After this line, add: static int SMTPLogMaps(SMTPSession SMTPS, char const *pszMapsName); In the SMTPInitSession function, find the following line (in the section commented as Custom maps checking): if (SMTPCheckMapsList(SMTPS.PeerInfo, pszMapsList, szMapName, sizeof(szMapName) - 1, iMapCode) 0) { After this line, add: SMTPLogMaps(SMTPS.PeerInfo, szMapName); In a convenient place (I placed it just following the SMTPLogSession function), add the following: static int SMTPLogMaps(SMTPSession SMTPS, char const *pszMapsName) { charszTime[256] = ; MscGetTimeNbrString(szTime, sizeof(szTime) - 1); RLCK_HANDLE hResLock = RLckLockEX(SVR_LOGS_DIR SYS_SLASH_STR SMTP_MAPS_FILE); if (hResLock == INVALID_RLCK_HANDLE) return (ErrGetErrorCode()); charszIP[128] = ???.???.???.???; MscFileLog(SMTP_MAPS_FILE, \%s\ \t\%s\ \t\%s\ \n, SysInetNToA(SMTPS.PeerInfo, szIP), szTime, pszMapsName); RLckUnlockEX(hResLock); return (0); } - 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: Adding MAPS logging
At 13:09 6/11/2003, Davide Libenzi wrote: On Wed, 11 Jun 2003, Tracy wrote: Greetings, I've heard a couple of people ask about logging for MAPS rejections, and I found that I wanted such a feature myself - so I grabbed a copy of the 1.15 source and added it. Making these changes adds a new log file in the \log directory, log name begins with maps (the name is formatted like the rest, with a date in the file name). The format of the log file is: Connecting IP Date/Time blocking maps domain I have no objection if this code were to find it's way into the distribution set for XMail...:) Maps blocked IPs are already logged inside the SMTP log file. True - but the SMTP log doesn't indicate which maps list was used to block the IP. Since I'm just starting to experiment with maps blocking, I want to see who's blocking what, so I can get an idea of relative effectiveness. So, rather than writing a utility to read the SMTP log and testing each IP address against the maps servers from there, it was easier to just write an additional log from within XMail to display the information. - 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: Adding MAPS logging
On Wed, 11 Jun 2003, Tracy wrote: True - but the SMTP log doesn't indicate which maps list was used to block the IP. Since I'm just starting to experiment with maps blocking, I want to see who's blocking what, so I can get an idea of relative effectiveness. So, rather than writing a utility to read the SMTP log and testing each IP address against the maps servers from there, it was easier to just write an additional log from within XMail to display the information. XMail's SMTP log does include both the IP, the map URL and the date. - 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]
[xmail] Re: Adding MAPS logging
On Wed, 11 Jun 2003, Davide Libenzi wrote: On Wed, 11 Jun 2003, Tracy wrote: True - but the SMTP log doesn't indicate which maps list was used to block the IP. Since I'm just starting to experiment with maps blocking, I want to see who's blocking what, so I can get an idea of relative effectiveness. So, rather than writing a utility to read the SMTP log and testing each IP address against the maps servers from there, it was easier to just write an additional log from within XMail to display the information. XMail's SMTP log does include both the IP, the map URL and the date. No sorry. The SMTP message does. - 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]
[xmail] Re: Adding MAPS logging
At 14:37 6/11/2003, Davide Libenzi wrote: On Wed, 11 Jun 2003, Davide Libenzi wrote: On Wed, 11 Jun 2003, Tracy wrote: True - but the SMTP log doesn't indicate which maps list was used to block the IP. Since I'm just starting to experiment with maps blocking, I want to see who's blocking what, so I can get an idea of relative effectiveness. So, rather than writing a utility to read the SMTP log and testing each IP address against the maps servers from there, it was easier to just write an additional log from within XMail to display the information. XMail's SMTP log does include both the IP, the map URL and the date. No sorry. The SMTP message does. Right. But unless I'm mistaken, the SMTP message isn't logged or listed anywhere that I (the mail admin-wannabee) can check it... Or is it? - 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: Adding MAPS logging
On Wed, 11 Jun 2003, Tracy wrote: At 14:37 6/11/2003, Davide Libenzi wrote: On Wed, 11 Jun 2003, Davide Libenzi wrote: On Wed, 11 Jun 2003, Tracy wrote: True - but the SMTP log doesn't indicate which maps list was used to block the IP. Since I'm just starting to experiment with maps blocking, I want to see who's blocking what, so I can get an idea of relative effectiveness. So, rather than writing a utility to read the SMTP log and testing each IP address against the maps servers from there, it was easier to just write an additional log from within XMail to display the information. XMail's SMTP log does include both the IP, the map URL and the date. No sorry. The SMTP message does. Right. But unless I'm mistaken, the SMTP message isn't logged or listed anywhere that I (the mail admin-wannabee) can check it... Or is it? 1.16 will do SNDRIP=EIPMAP (%s) with %s == map-name - 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]
[xmail] Re: Adding MAPS logging
At 15:09 6/11/2003, Davide Libenzi wrote: 1.16 will do SNDRIP=EIPMAP (%s) with %s == map-name Coolness...:) I'll be a happy camper then - for a while at least...:) 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]
[xmail] 1.16-pre01 ...
Here are the files : http://www.xmailserver.org/xmail-1.16-pre01.tar.gz http://www.xmailserver.org/xmail-1.16-pre01.win32bin.zip The changelog is inside the tarbal (today I feel lazy). - 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]
[xmail] Bypassing RDNS check for specific addresses?
Greetings, Is there a way to cause XMail to whitelist an IP address or address block from MAPS/RDNS checking? I've got someone who runs a private mailing list on their server, but doesn't have reverse DNS set up (actually, they did, but their ISP messed it up). Is there a way I can tell XMail to just let their server through without worrying about MAPS and/or RDNS? Tracy - 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 on Aliases
Hi Guys, I have a problem with filters not working on aliases. For example. I have a user, [EMAIL PROTECTED] and an alias for that username of [EMAIL PROTECTED] In my filters folder, I have a [EMAIL PROTECTED] file, which scans for spam. When someone sends email to [EMAIL PROTECTED] the filter does not run. In the .tab file I have tried @RRCPT, and @RCPT but no luck. Can someone please tell me what I am doing wrong? Thanks. Riaz.. - 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]