Re: [xmail] User password
I use this to control my server: http://www.webifi.com/xmail/ It talks to XMail through TCP PORT 6017 which is where XMail listen for its control protocol. You could also telnet localhost 6017 Then type root[ TAB]yourpassword[enter] Then type userpasswd[TAB]domain[TAB]username[TAB]password[enter] -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Barry Kavanagh Sent: 8 mars 2013 09:00 To: xmail@xmailserver.org Subject: [xmail] User password I have an old Xmail server running on a Gentoo Vmware box with full root access.I want to send a mail as user15 but can't remember the password.I have very basic Linux :( I am trying to reset the password for user15 I have tried entering say user15 XYZ and saving the file but it does not work. How do I successfully reset this Xmail user password when the server has no X server and no web admin. ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] User password
Then you have to change the string inside the file ctrlaccounts.tab Use XMCrypt to generate a new password: (in bin/ folder) mail# ./XMCrypt test 11001611 Replace the generated string in file ctrlaccounts.tab root[TAB]11001611[ENTER] You now have root access to the XMail server. You can now reset any user passwords by following the procedure I sent you in the last reply. -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Barry Kavanagh Sent: 8 mars 2013 10:48 To: 'XMail Users Mailing List' Subject: Re: [xmail] User password Hi Fred, Thanks for your help, unfortunately port 6017 is closed I only have access using the shell prompt and don't know the Xmail admin password but I do have full root shell access. Regards Barry -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Fred Sent: 08 March 2013 15:39 To: 'XMail Users Mailing List' Subject: Re: [xmail] User password I use this to control my server: http://www.webifi.com/xmail/ It talks to XMail through TCP PORT 6017 which is where XMail listen for its control protocol. You could also telnet localhost 6017 Then type root[ TAB]yourpassword[enter] Then type userpasswd[TAB]domain[TAB]username[TAB]password[enter] -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Barry Kavanagh Sent: 8 mars 2013 09:00 To: xmail@xmailserver.org Subject: [xmail] User password I have an old Xmail server running on a Gentoo Vmware box with full root access.I want to send a mail as user15 but can't remember the password.I have very basic Linux :( I am trying to reset the password for user15 I have tried entering say user15 XYZ and saving the file but it does not work. How do I successfully reset this Xmail user password when the server has no X server and no web admin. ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] Spammer spoofing = receving tons of bounces from remote servers
Some spammer is forging his sender address resulting one of my account receiving tons of bounces from remote servers. I have added an SPF record to the affected domain name, is there anything else I can do? Thanks for help. ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] 100% CPU usage [SOLVED]
I have finally found the cause of this problem. It appears that one account was leaving a copy of the messages on the server forever. This account has a 2GB quota. There was nearly 60,000 emails in the Maildir/new/ folder which caused the CPU to go crazy when receiving lots of email for that account. I have deleted the emails and now everything seems to work fine. -fred -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Fred Sent: 12 avril 2012 08:58 To: 'XMail Users Mailing List' Subject: Re: [xmail] 100% CPU usage Hello, Thanks for your reply. The problem is not the PHP script. I am able to reproduce the problem with any other script that use XMail as their SMTP gateway, as long as it sends 2 mails per second to the server. I have added these 2 parameters to the cmd line : -MR 16384 -MS 8192 and it seemed to help a bit. At least the server keep responding but CPU still go all out 200% for a few minutes. I have tried disabling defaultgateway in server.tab as well as custmaplist without any effects. I will keep work on that and let you know if you put the finger on the problem. If anyone thinks of anything I could try please reply! Thanks -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of D. Vitoshnov Sent: 11 avril 2012 23:28 To: 'XMail Users Mailing List' Subject: Re: [xmail] 100% CPU usage Your problem is in your phpscript. Nobody can help you. -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Fred Sent: Thursday, April 12, 2012 2:26 AM To: 'XMail Users Mailing List' Subject: Re: [xmail] 100% CPU usage bump -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Fred Sent: 10 avril 2012 10:38 To: 'XMail Users Mailing List' Subject: [xmail] 100% CPU usage Hello, I would like to know what I can do about that problem? My XMail server is hitting 100% CPU usage (and stops receiving mails, pop3, etc) when a PHP script (phpmailer) is using it as a SMTP server to send mails. This is not mass mailing but only many people registering on a website at the same time. (like 500 people within 15 minutes). I have tried disabling ALL filters at all levels without any success. I have tried debug mode but I don't see anything suspicious except that it will stop receiving and sending when going 100%. Here is my commandline options: XMAIL_CMD_LINE=-Y- -F- -Pl -Ph -PX 256 -Sl -SX 256 -Fl -Cl -Ll -Ln 64 -Yl -Ql -Qg -Qn 128 -SI x.x.x.x:25 -SI x.x.x.x:2525 -SI x.x.x.x:2255 -SI x.x.x.x:15582 -Sl y.y.y.y:25 -SI y.y.y.y:2525 I have tried messing with threads number and using default value with no success. I am running FreeBSD-7.0 x64 on a dualcore xeon CPU. If anyone can provide some help / tips I would appreciate. Thanks ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] 100% CPU usage
Hello, Thanks for your reply. The problem is not the PHP script. I am able to reproduce the problem with any other script that use XMail as their SMTP gateway, as long as it sends 2 mails per second to the server. I have added these 2 parameters to the cmd line : -MR 16384 -MS 8192 and it seemed to help a bit. At least the server keep responding but CPU still go all out 200% for a few minutes. I have tried disabling defaultgateway in server.tab as well as custmaplist without any effects. I will keep work on that and let you know if you put the finger on the problem. If anyone thinks of anything I could try please reply! Thanks -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of D. Vitoshnov Sent: 11 avril 2012 23:28 To: 'XMail Users Mailing List' Subject: Re: [xmail] 100% CPU usage Your problem is in your phpscript. Nobody can help you. -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Fred Sent: Thursday, April 12, 2012 2:26 AM To: 'XMail Users Mailing List' Subject: Re: [xmail] 100% CPU usage bump -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Fred Sent: 10 avril 2012 10:38 To: 'XMail Users Mailing List' Subject: [xmail] 100% CPU usage Hello, I would like to know what I can do about that problem? My XMail server is hitting 100% CPU usage (and stops receiving mails, pop3, etc) when a PHP script (phpmailer) is using it as a SMTP server to send mails. This is not mass mailing but only many people registering on a website at the same time. (like 500 people within 15 minutes). I have tried disabling ALL filters at all levels without any success. I have tried debug mode but I don't see anything suspicious except that it will stop receiving and sending when going 100%. Here is my commandline options: XMAIL_CMD_LINE=-Y- -F- -Pl -Ph -PX 256 -Sl -SX 256 -Fl -Cl -Ll -Ln 64 -Yl -Ql -Qg -Qn 128 -SI x.x.x.x:25 -SI x.x.x.x:2525 -SI x.x.x.x:2255 -SI x.x.x.x:15582 -Sl y.y.y.y:25 -SI y.y.y.y:2525 I have tried messing with threads number and using default value with no success. I am running FreeBSD-7.0 x64 on a dualcore xeon CPU. If anyone can provide some help / tips I would appreciate. Thanks ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] 100% CPU usage
bump -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Fred Sent: 10 avril 2012 10:38 To: 'XMail Users Mailing List' Subject: [xmail] 100% CPU usage Hello, I would like to know what I can do about that problem? My XMail server is hitting 100% CPU usage (and stops receiving mails, pop3, etc) when a PHP script (phpmailer) is using it as a SMTP server to send mails. This is not mass mailing but only many people registering on a website at the same time. (like 500 people within 15 minutes). I have tried disabling ALL filters at all levels without any success. I have tried debug mode but I dont see anything suspicious except that it will stop receiving and sending when going 100%. Here is my commandline options: XMAIL_CMD_LINE=-Y- -F- -Pl -Ph -PX 256 -Sl -SX 256 -Fl -Cl -Ll -Ln 64 -Yl -Ql -Qg -Qn 128 -SI x.x.x.x:25 -SI x.x.x.x:2525 -SI x.x.x.x:2255 -SI x.x.x.x:15582 Sl y.y.y.y:25 -SI y.y.y.y:2525 I have tried messing with threads number and using default value with no success. I am running FreeBSD-7.0 x64 on a dualcore xeon CPU. If anyone can provide some help / tips I would appreciate. Thanks ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] 100% CPU usage
Hello, I would like to know what I can do about that problem? My XMail server is hitting 100% CPU usage (and stops receiving mails, pop3, etc) when a PHP script (phpmailer) is using it as a SMTP server to send mails. This is not mass mailing but only many people registering on a website at the same time. (like 500 people within 15 minutes). I have tried disabling ALL filters at all levels without any success. I have tried debug mode but I dont see anything suspicious except that it will stop receiving and sending when going 100%. Here is my commandline options: XMAIL_CMD_LINE=-Y- -F- -Pl -Ph -PX 256 -Sl -SX 256 -Fl -Cl -Ll -Ln 64 -Yl -Ql -Qg -Qn 128 -SI x.x.x.x:25 -SI x.x.x.x:2525 -SI x.x.x.x:2255 -SI x.x.x.x:15582 Sl y.y.y.y:25 -SI y.y.y.y:2525 I have tried messing with threads number and using default value with no success. I am running FreeBSD-7.0 x64 on a dualcore xeon CPU. If anyone can provide some help / tips I would appreciate. Thanks ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] Bypass filters
Hello, is it possible to bypass all filters for a specific domain? ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] Email all local accounts?
Hey guys, Quick question; is there a way to broadcast an email to all XMail accounts on a single server? I need to inform everyone, about 800 accounts, that I will do hardware maintenance this week-end. Thanks ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Email all local accounts?
Hi, Thanks for your reply, here is what I have come up with if someone else is interested. #!/usr/local/bin/php ?php function xmail_accounts_list($tabfile) { $accounts = array(); $lines = file($tabfile); foreach ($lines as $line_num = $line) { $data = explode(\t, $line); $accounts[] = substr($data[1], 1, -1) . @ . substr($data[0], 1, -1); } return $accounts; } function send_maintenance_mail($account) { $to = strtolower($account); $from = postmas...@yourdomain.com; $current_date = date(Y-m-d G:i:s); $subject = Your subject; $mime_boundary = mail.yourdomain.com . md5(time()); $headers = From: postmas...@yourdomain.com postmas...@yourdomain.com \n; $headers .= Reply-To: postmas...@yourdomain.com, . $to . \n; $headers .= MIME-Version: 1.0\n; $headers .= Content-Type: multipart/alternative; boundary=\ . $mime_boundary . \\n; $message = -- . $mime_boundary . \n; $message .= Content-Type: text/html; charset=UTF-8\n; $message .= Content-Transfer-Encoding: 8bit\n\n; $message .= html\n; $message .= body\n; $message .= Your message. \n; $message .= /body\n; $message .= /html\n; $message .= -- . $mime_boundary . --\n\n; if(mail($to, $subject, $message, $headers)) { return true; } else { return false; } } $accounts = xmail_accounts_list(/mailsrv/MailRoot/mailusers.tab); foreach ($accounts as $account_num = $account) { if(!send_maintenance_mail($account)) { echo Error sending mail to . $account; exit; } } echo Email sent to . count($accounts) . accounts.\n; exit; ? From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Ivo Smits Sent: 18 novembre 2011 11:07 To: xmail@xmailserver.org Subject: Re: [xmail] Email all local accounts? Hi, I don't think this is directly supported. You can generate a list of e-mail addresses from the mailusers file, for example using this command on linux: cat mailusers.tab | sed -n 's/^\([^]*\)\t\([^]*\)\t.*$/\2@\1/p' You could write the output to a file and pass it to sendmail using the --rcpt-file option. -- Ivo Op 18-11-2011 16:37, Fred schreef: Hey guys, Quick question; is there a way to broadcast an email to all XMail accounts on a single server? I need to inform everyone, about 800 accounts, that I will do hardware maintenance this week-end. Thanks ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Getting hammered bad
Thanks sir. I am taking actions as we speak. Sometimes the logs, especially SMTP are kind of hard to interpret. From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of fcxm...@aquinet.net Sent: 13 juillet 2011 07:11 To: 'XMail Users Mailing List' Subject: Re: [xmail] Getting hammered bad In this specific case, the Spammer authenticated with the legituser account !!! (as confirmed by account name after the RECV in the log : 'RECV=OK legitusern...@legitdomain.com') So before any others solutions, start changing que mailto:legitusern...@legitdomain.com legitusern...@legitdomain.com password (with a complex one) And tell youlegituser to completly scan all of it's computers for trojans/viries/... BEFORE changing the password at its side (to avoid spammers recover the new password)... -Message d'origine- De : xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org]De la part de Fred Envoyé : mercredi 6 juillet 2011 19:36 À : xmail@xmailserver.org Objet : [xmail] Getting hammered bad Hello all, I need help to fight against spammers, here is a sample of an smtp log entry: mail mail 72.16.236.115 2011-07-06 12:46:21 ALEXSERVER01.ANDREWALEX.local hotmail.co.uk vreaus...@vreausutelog.comobbard_d...@hotmail.co.uk SE86331 RECV=OK legitusern...@legitdomain.com 2507 I am receiving sometimes hundreds of this kind of email in a short time. I have tried black listing the IP and sender domain in spam-adress.tab and spammers.tab but they just change both and they spam again. The email legitusern...@legitdomain.com is a legit user on my server. I am using spamassassin, spf filter and RBL checks Anyone has any ideas how to block these ers. Thanks ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Disable POP3 Locking
I would also like being to disable pop3 locking. Let's wait for Davide's response. -fred -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Sabahattin Gucukoglu Sent: 18 mars 2010 09:03 To: XMail Users Mailing List Subject: [xmail] Disable POP3 Locking Hi, Would it be possible to have the option in XMail to disable POP3 locks altogether? So long as every session maintains its state and no mails were removed externally or by the quitting of another POP3 session, multiple client connections shouldn't be a problem, and would be very useful for for instance cell phones that poll while desktops fetch new mail, or 3G connections which are highly flaky and by which their interruption leaves a lock that takes forever to clear. Cheers, Sabahattin ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] XMail 1.27 released
Hello Davide, Thanks for this new release. I have issues building this on FreeBSD-4.11 32bits, here is what happens: g++ -D_FILE_OFFSET_BITS=64 -I. -D__UNIX__ -D__BSD__ -D__FREEBSD__ -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -O2 -o bin/POP3Utils.o -c POP3Utils.cpp POP3Utils.cpp: In function `int UPopCheckMailboxSize(UserInfo *, SYS_OFF_T * = 0)': POP3Utils.cpp:156: implicit declaration of function `int atoll(...)' gmake: *** [bin/POP3Utils.o] Error 1 This refers to this line in POP3Utils.cpp: SYS_OFF_T llMaxMBSize = Sys_atoi64(pszMaxMBSize) * 1024; -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Davide Libenzi Sent: 25 février 2010 23:00 To: XMail mailing list; XMail Announce Subject: [xmail] XMail 1.27 released XMail 1.27 is out: http://www.xmailserver.org/ You need the Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) package from Microsoft, to run XMail Windows binaries. Quick linky is here: http://tinyurl.com/89msaj - Davide ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] XMail 1.27 released
Hello, Yes, it looks like strtoll() is supported: # ./test str 1234 strtoll() returned 42672981 I have compiled a quick example that is using strtoll(), the output is what I have pasted above: #include stdlib.h #include limits.h #include stdio.h #include errno.h int main(int argc, char *argv[]) { int base; char *endptr, *str; long val; if (argc 2) { fprintf(stderr, Usage: %s str [base]\n, argv[0]); exit(EXIT_FAILURE); } str = argv[1]; base = (argc 2) ? atoi(argv[2]) : 10; errno = 0;/* To distinguish success/failure after call */ val = strtoll(str, endptr, base); /* Check for various possible errors */ if ((errno == ERANGE (val == LONG_MAX || val == LONG_MIN)) || (errno != 0 val == 0)) { perror(strtol); exit(EXIT_FAILURE); } if (endptr == str) { fprintf(stderr, No digits were found\n); exit(EXIT_FAILURE); } /* If we got here, strtol() successfully parsed a number */ printf(strtol() returned %ld\n, val); if (*endptr != '\0')/* Not necessarily an error... */ printf(Further characters after number: %s\n, endptr); exit(EXIT_SUCCESS); } -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Davide Libenzi Sent: 26 février 2010 11:10 To: XMail Users Mailing List Subject: Re: [xmail] XMail 1.27 released On Fri, 26 Feb 2010, fred wrote: Hello Davide, Thanks for this new release. I have issues building this on FreeBSD-4.11 32bits, here is what happens: g++ -D_FILE_OFFSET_BITS=64 -I. -D__UNIX__ -D__BSD__ -D__FREEBSD__ -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -O2 -o bin/POP3Utils.o -c POP3Utils.cpp POP3Utils.cpp: In function `int UPopCheckMailboxSize(UserInfo *, SYS_OFF_T * = 0)': POP3Utils.cpp:156: implicit declaration of function `int atoll(...)' gmake: *** [bin/POP3Utils.o] Error 1 This refers to this line in POP3Utils.cpp: SYS_OFF_T llMaxMBSize = Sys_atoi64(pszMaxMBSize) * 1024; Can you check if at least strtoll() is there? - Davide ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] XMail 1.27-pre11
You should at least specify the name of the DLL ;) I guess this is OpenSSL, you should install the latest version. -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Edinilson - ATINET Sent: 19 janvier 2010 14:00 To: XMail Users Mailing List Subject: Re: [xmail] XMail 1.27-pre11 Importance: High Davide, do Windows users need to download some dll somewhere? I´m asking because, trying to run this version, a window popup is opened telling that a dll is missing. Thanks Edinilson - ATINET-Professional Web Hosting Tel Voz: (0xx11) 4412-0876 http://www.atinet.com.br - Original Message - From: Davide Libenzi davi...@xmailserver.org To: XMail mailing list xmail@xmailserver.org Sent: Tuesday, January 19, 2010 3:36 PM Subject: [xmail] XMail 1.27-pre11 Here are the links: http://www.xmailserver.org/xmail-1.27-pre11.tar.gz http://www.xmailserver.org/xmail-1.27-pre11.win32bin.zip The ChangeLog is inside the archives, as usual. This release fixes a lng lines mishandling that was triggered by Yahoo! header composer. - Davide ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] XMail 1.27-pre11
Davided, Do you have an idea of when 1.27 is going to be released? I am asking because since pre1 there are lots of fixes and I am thinking of updating my servers soon, I will wait if you are planning to release it soon. Thanks -fred - Original Message - From: Davide Libenzi davi...@xmailserver.org To: XMail mailing list xmail@xmailserver.org Sent: Tuesday, January 19, 2010 3:36 PM Subject: [xmail] XMail 1.27-pre11 Here are the links: http://www.xmailserver.org/xmail-1.27-pre11.tar.gz http://www.xmailserver.org/xmail-1.27-pre11.win32bin.zip The ChangeLog is inside the archives, as usual. This release fixes a lng lines mishandling that was triggered by Yahoo! header composer. - Davide ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] XMail switches - questions . . .
Hello, Q1) PAPA LIMA, SIERRA LIMA, LIMA INDIA Q2) By defaut all logs are automatically created and their names cannot be customized unless you modify the source code. Path is MailRoot/logs I hope this helps -fred From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Spyros Tsiolis Sent: 11 janvier 2010 12:45 To: xmail Subject: [xmail] XMail switches - questions . . . Hello list, OK, found the XMail switches. Quite a collection. OK, a couple of questions : If you invoke XMail with : # xmail -PI -SI -LI (log POP3 / log SMTP / log Local Mail) Q1) First of all because of the various fonts, are the above switches : -PI : PAPPA INDIA or PAPA LIMA (lowercase lima) ? -SI : SIERRA INDIA or SIERRA LIMA (lowercase lima) ? and -LI : LIMA INDIA or LIMA LIMA (lowercase lima) ? Q2) Where do the logfiles go ? Can you explicitly state the logfile name and path ? Or does XMail dump them somewhere by default (say, /var/log/) ? Any help on this would be nice, thank you all, s. - I merely function as a channel that filters music through the chaos of noise - Vangelis _ Windows Live: Keep your friends up to date with what you do online. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/so cial-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010 ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] XMail switches - questions . . .
Oops . LIMA LIMA for the last one. Sorry. From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of fred Sent: 11 janvier 2010 13:14 To: 'XMail Users Mailing List' Subject: Re: [xmail] XMail switches - questions . . . Hello, Q1) PAPA LIMA, SIERRA LIMA, LIMA INDIA Q2) By defaut all logs are automatically created and their names cannot be customized unless you modify the source code. Path is MailRoot/logs I hope this helps -fred From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Spyros Tsiolis Sent: 11 janvier 2010 12:45 To: xmail Subject: [xmail] XMail switches - questions . . . Hello list, OK, found the XMail switches. Quite a collection. OK, a couple of questions : If you invoke XMail with : # xmail -PI -SI -LI (log POP3 / log SMTP / log Local Mail) Q1) First of all because of the various fonts, are the above switches : -PI : PAPPA INDIA or PAPA LIMA (lowercase lima) ? -SI : SIERRA INDIA or SIERRA LIMA (lowercase lima) ? and -LI : LIMA INDIA or LIMA LIMA (lowercase lima) ? Q2) Where do the logfiles go ? Can you explicitly state the logfile name and path ? Or does XMail dump them somewhere by default (say, /var/log/) ? Any help on this would be nice, thank you all, s. - I merely function as a channel that filters music through the chaos of noise - Vangelis _ Windows Live: Keep your friends up to date with what you do online. http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/so cial-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010 ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] Multiple from inside mail headers
Hello guys, This is not really XMail specific but I am a bit confused there and I need help from experts. Here is the problem, I am using a filter that works with SPF, everything is working fine except one thing. Sometimes forged froms pass through the filter because the filter is getting the return-path instead of a faked from, see this example: Return-Path: munitio...@soulofthejedi.net Delivered-To: r...@fullmetalpacket.com Received: from dsldevice.lan ([92.18.93.37]:49281) by mail with [XMail 1.26 ESMTP Server] id SA34818 for r...@fullmetalpacket.com from munitio...@soulofthejedi.net; Wed, 14 Oct 2009 11:50:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on spamshield.fullmetalpacket.com X-Spam-Status: No, score=-87.3 required=9.0 tests=BAYES_50,HTML_MESSAGE, MIME_QP_LONG_LINE,NO_RELAYS,SPAMMY_XMAILER,TVD_RCVD_IP,TVD_RCVD_IP4, URIBL_BLACK,USER_IN_WHITELIST,XMAILER_MIMEOLE_OL_91287 autolearn=no version=3.2.4 Received: from 92.18.93.37 by soulofthejedi.net; Wed, 14 Oct 2009 16:40:46 + Message-ID: 000d01ca4ce4$b2b7b9c0$6400a...@munitionb9 From: notificati...@fullmetalpacket.com notificati...@fullmetalpacket.com To: r...@fullmetalpacket.com Subject: The settings for the r...@fullmetalpacket.com mailbox were changed Date: Wed, 14 Oct 2009 16:40:46 + MIME-Version: 1.0 Content-Type: multipart/alternative; boundary==_NextPart_000_0007_01CA4CE4.B2B7B9C0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.2300 This guy is sending email like this with links to spread his malware. My filter is analyzing Return-Path: munitio...@soulofthejedi.net instead of From: notificati...@fullmetalpacket.com notificati...@fullmetalpacket.com Is there any way to analyze the faked from? Thanks -fred ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Multiple from inside mail headers
Hi Francis, Thanks for your reply. This is a self-written script that get the following arguments from filter.post-data.tab !aex /mailsrv/MailRoot/filters/spfcheck/spfcheck.php @@FROM @@CRCPT @@REMOTEADDR @@FILE The @@FROM is the actual variable that is checked by this linux command (from within a PHP script): exec(spfquery --name . $this-_spfServer . -sender= . $this-_from . -ip= . $this-_remoteAddress . -helo= . $this-_helo, $output, $return); $this-_from == @@FROM Spfquery return a digit as the return code which is what I use for either dropping the email or let it go throught. Thanks -fred -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of CLEMENT Francis Sent: 14 octobre 2009 12:13 To: 'XMail Users Mailing List' Subject: Re: [xmail] Multiple from inside mail headers Hello Fred As this is a filter, the choice made to use 'return-path' in place of 'from' is filter specific, not related to xmail To help you we need to know more about this filter, how it works, parameters, ... Self-written filter or found on the net ? Do you have source code for this filter (or can we get it somewhere) ? Francis -Message d'origine- De : xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org]de la part de fred Envoyé : mercredi 14 octobre 2009 17:56 À : 'XMail Users Mailing List' Objet : [xmail] Multiple from inside mail headers Hello guys, This is not really XMail specific but I am a bit confused there and I need help from experts. Here is the problem, I am using a filter that works with SPF, everything is working fine except one thing. Sometimes forged froms pass through the filter because the filter is getting the return-path instead of a faked from, see this example: Return-Path: munitio...@soulofthejedi.net Delivered-To: r...@fullmetalpacket.com Received: from dsldevice.lan ([92.18.93.37]:49281) by mail with [XMail 1.26 ESMTP Server] id SA34818 for r...@fullmetalpacket.com from munitio...@soulofthejedi.net; Wed, 14 Oct 2009 11:50:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on spamshield.fullmetalpacket.com X-Spam-Status: No, score=-87.3 required=9.0 tests=BAYES_50,HTML_MESSAGE, MIME_QP_LONG_LINE,NO_RELAYS,SPAMMY_XMAILER,TVD_RCVD_IP,TVD_RCVD_IP4, URIBL_BLACK,USER_IN_WHITELIST,XMAILER_MIMEOLE_OL_91287 autolearn=no version=3.2.4 Received: from 92.18.93.37 by soulofthejedi.net; Wed, 14 Oct 2009 16:40:46 + Message-ID: 000d01ca4ce4$b2b7b9c0$6400a...@munitionb9 From: notificati...@fullmetalpacket.com notificati...@fullmetalpacket.com To: r...@fullmetalpacket.com Subject: The settings for the r...@fullmetalpacket.com mailbox were changed Date: Wed, 14 Oct 2009 16:40:46 + MIME-Version: 1.0 Content-Type: multipart/alternative; boundary==_NextPart_000_0007_01CA4CE4.B2B7B9C0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.2300 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.2300 This guy is sending email like this with links to spread his malware. My filter is analyzing Return-Path: munitio...@soulofthejedi.net instead of From: notificati...@fullmetalpacket.com notificati...@fullmetalpacket.com Is there any way to analyze the faked from? Thanks -fred ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Multiple from inside mail headers
I understand Davide, I knew this wasn't XMail fault, I only wanted to find a solution to prevent these types of forged froms. I will have to add code into my script to parse the message header and look for the From: line, compare this from with the one in the SMTP transaction, if they are different do something. What do you guys think? -fred -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Davide Libenzi Sent: 14 octobre 2009 13:01 To: XMail Users Mailing List Subject: Re: [xmail] Multiple from inside mail headers On Wed, 14 Oct 2009, fred wrote: Hello guys, This is not really XMail specific but I am a bit confused there and I need help from experts. Here is the problem, I am using a filter that works with SPF, everything is working fine except one thing. Sometimes forged froms pass through the filter because the filter is getting the return-path instead of a faked from, see this example: OK guys, XMail is an MTA and could care less of the envelope From: header. Wherever you see FROM inside XMail, that the return-path (that is the address passed in the 'MAIL FROM:...' SMTP transaction. - Davide ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] migrating users from one xmail installation to another
Here is what I have done in the past. 1. Copy the whole MailRoot folder to your new server 2. Extract everything to a new directory on your new server 3. Remove the content the following directories a. MailRoot/dnscache/mx b. MailRoot/dnscache/ns c. MailRoot/tabindex d. MailRoot/spool e. Manually create MailRoot/spool/temp f.Manually create MailRoot/spool/local 4. Download XMail-1.26 5. Extract the 1.26 tarball into a temporary directory 6. Compile XMail-1.26 (see readme) 7. Copy the new 1.26 binaries into MailRoot/bin/ of your old installation 8. Go to the website and read the changelog since 1.23 for adding the new variables inside server.tab There might be other minor things to adjust but that covers the major steps. -fred From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of stu...@sdsnet.dyndns.org Sent: 24 août 2009 05:49 To: xmail@xmailserver.org Subject: [xmail] migrating users from one xmail installation to another I have a rather ageing system that is running xmail1.23 running Fedora Core 6 and I was intending to move the mailserver to a newer more supportable system running xmail 1.26. What is the easiest way to migrate the mail users and mail from one server to another. Ive previously tried copying the tab files and the domains folder into a new installation and not been successful. I cant believe I am the only one to want to do this. Stuart Smith ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Problem using perl script to send mail to XMail
Thanks, Changed the single quotes to doubles and it works fine with \@ -fred -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Davide Libenzi Sent: 24 août 2009 13:59 To: XMail Users Mailing List Subject: Re: [xmail] Problem using perl script to send mail to XMail On Mon, 24 Aug 2009, fred wrote: Hey guys, I am having a small problem trying to send an email to XMail from a perl script, here is the code: #!/usr/bin/perl -w use Net::SMTP; $smtp = Net::SMTP-new('smtp.mydomain.com', Hello = 'myserver.mydomain.com', Timeout = 60); $smtp-mail(myserv...@mydomain.com'); $smtp-to('m...@mydomain.com'); Either this: 'b...@blah' or this: bl...@blah - Davide ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] Quickfix for FreeBSD-7.x build error
There is a build error when building XMail-1.26 on FreeBSD-7.x servers, I didnt try it on 6.x but I guess they also have this problem. #gmake -f Makefile.bsd g++ -I. -D__UNIX__ -D__BSD__ -D__FREEBSD__ -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -O2 -c MkMachDep.cpp g++ -o bin/MkMachDep MkMachDep.o -lssl -lcrypto -lkvm -lcrypt -pthread -lc_r /usr/bin/ld: cannot find -lc_r gmake: *** [bin/MkMachDep] Error 1 This is simply because libc_r is deprecated and no longer installed by default in FreeBSD, however it works fine on FreeBSD-4.11. To fix the problem, open Makefile.bsd with your favorite text editor. Find this: SYSTYPE = freebsd CFLAGS := $(CFLAGS) -I. -D__UNIX__ -D__BSD__ -D__FREEBSD__ -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAS_SYSMACHINE LDFLAGS := $(LDFLAGS) $(SSLLIBS) -lkvm -lcrypt -pthread -lc_r Remove the last argument -lc_r Save and exit. ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Normal smtp.ipprop.tab behavior?
Thanks Davide, If I understand correctly I can't completely whitelist a certain smtp IP range from all the filters/checks, I will have to create a whitelist within my filters? This is not a problem, I just want to make sure. -fred -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Davide Libenzi Sent: 7 mai 2009 23:19 To: XMail Users Mailing List Subject: Re: [xmail] Normal smtp.ipprop.tab behavior? On Thu, 7 May 2009, fred wrote: Hi guys, Is it normal that even if I put a range of IPs inside smtp.ipprop.tab that emails that I receive from theses IPs get caught by filters? I have triple checked all the .tab files and they are all in correct format (tabs and enter for last line). Yes, it is possible. From the manual: WhiteList If set to 1, all peer IP based checks will be skipped. - Davide ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Normal smtp.ipprop.tab behavior?
!wlex /mailsrv/MailRoot/filters/antispam/antispam.php @@FROM @@CRCPT @@RRCPT @@REMOTEADDR @@FILE I think this would do the trick! Thanks! -fred -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Davide Libenzi Sent: 8 mai 2009 11:22 To: XMail Users Mailing List Subject: Re: [xmail] Normal smtp.ipprop.tab behavior? On Fri, 8 May 2009, fred wrote: Thanks Davide, If I understand correctly I can't completely whitelist a certain smtp IP range from all the filters/checks, I will have to create a whitelist within my filters? This is not a problem, I just want to make sure. You'd need to, even though this makes me think that the local/remote address filters inside filters.*.tab, can use a negation ('!') operator. - Davide ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] Normal smtp.ipprop.tab behavior?
Hi guys, Is it normal that even if I put a range of IPs inside smtp.ipprop.tab that emails that I receive from theses IPs get caught by filters? I have triple checked all the .tab files and they are all in correct format (tabs and enter for last line). Here is the content smtp.ipprop.tab file: 142.169.0.0/16WhiteList=1 Here is the content smtp log file: mail.myserver.net mail.myserver.net 142.169.1.152 2009-05-07 16:42:19 smtp2.globetrotter.net domain.net ldesrosi...@domain.netaander...@domain.net S18CB6 RCPT=OK 0 mail.myserver.net mail.myserver.net 142.169.1.152 2009-05-07 16:42:22 smtp2.globetrotter.netdomain.net ldesrosi...@domain.netaander...@domain.netS18CB6 DATA=EFILTER0 Here is a line inside my antispam log file: 2009-05-07 16:42:22 [142.169.1.152]:38042 ldesrosi...@domain.net aander...@domain.netSPAM (6 / 6)1.5044 2009-05-07 16:42:26 [142.169.1.152]:38047 ldesrosi...@domain.net otheru...@domain.netHAM (1/6) 1.2349 2009-05-07 16:45:55 [142.169.1.81]:61646ldesrosi...@domain.net aander...@domain.netSPAM (6 / 6)1.5357 Thank you ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] POP3 locks
Hi guys, For the second time in about a month, a specific user of my XMail-1.25 server running on FreeBSD-7.0 RELEASE is having problem with his POP3 account. I dont know why but the account gets locked for some reason, a file is created inside MailRoot/pop3locks/usern...@domain.lock and the file contains this: 34387167856 I have to manually delete the lock file or restart the server to fix the problem. While locked, its impossible for him or me to retrieve his emails. I was wondering what could have caused this? Under what circumstances a user gets his account locked? What can I do to prevent this from happening again? Thanks a lot for your advices, -fred ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] POP3 locks
-Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Davide Libenzi Sent: 31 mars 2009 11:58 To: XMail Users Mailing List Subject: Re: [xmail] POP3 locks On Tue, 31 Mar 2009, fred wrote: For the second time in about a month, a specific user of my XMail-1.25 server running on FreeBSD-7.0 RELEASE is having problem with his POP3 account. I don?t know why but the account gets locked for some reason, a file is created inside MailRoot/pop3locks/usern...@domain.lock and the file contains this: 34387167856 I have to manually delete the lock file or restart the server to fix the problem. While locked, it?s impossible for him or me to retrieve his emails. I was wondering what could have caused this? Under what circumstances a user gets his account locked? What can I do to prevent this from happening again? Hmmm, lock file are always removed when the POP3 sessions ends. Even if XMail would crash in the middle of the request, during part of its boot up, it clears the lock files. So I find it strange of a lock file being permanently stuck there. Can you try a netstat (when the lock file is left there) to see if the connection with the client IP (on inbound port 110) is still there? - Davide Hi Davide, I will paste the output of the netstat cmd when the problem occurs once again. Here are the startup switches that I use if it can help: XMAIL_CMD_LINE=-Y- -F- -Pl -Ph -Sl -Fl -Cl -Ll -Yl -Qt 5 -Qi 5 -Ql -Qg Could the -Ph switch be causing this? Hang the connection in bad login response? Don't think so. Also, maybe setting the -Pt timeout switch would help? Thanks! -fred ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] Are you using CheckMailerDomain ?
Hey all, I was just wondering if many people have their XMail server configured with CheckMailerDomain set to 1 ? I just noticed something in an error msg from my xmail smtp server : ErrInfo = 451 #4.1.8 Domain of sender address mai...@paypal.us does not resolve My server tried to redirect this email from paypal.us to blackberry.net for one of my user and it has been rejected. My question is more, should I do the same on my server ? What do you think? Thanks! -fred ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Multiple server on same system
Just for the records, I am now live with 4 XMail servers on the same system. At first the startup script would hang, I didn't know why. I renamed the daemon to like XMail-1 and changed DAEMON=$XMAIL_ROOT/bin/XMail to DAEMON=$XMAIL_ROOT/bin/XMail-1 and it fixed the problem. So thank you for the help! :) -fred -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of fred Sent: 15 décembre 2008 17:17 To: 'XMail Users Mailing List' Subject: Re: [xmail] Multiple server on same system Because I am using XMail with a Web application that we developed and that we use for mass mailing to various email databases. Don't worry this is not spam, people in those databases registered themselves. The problem I had is : -User1 send an email to 20,000 people. -User2 decides to send a different email to 10,000 other people. -User2 does not want to wait until our server have sent User1's 20,000 emails before having his 10,000 being sent. So the solution I came up was to have each my users a specific mail server so when they send their emails their server start sending them immediately. I will only be bottlenecked by cpu time and by the banwidth. -fred -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Shawn Anderson Sent: 15 dicembre 2008 16:55 To: XMail Users Mailing List Subject: Re: [xmail] Multiple server on same system Just out of curiosity, why? Sent from my iPhone On Dec 15, 2008, at 1:25 PM, fred f...@fullmetalpacket.com wrote: Hi guys, I am planning on running multiple XMail servers on the same system and I would like to ask the gurus if I am missing anything. Here is what I am going to do: Duplicate the MailRoot folder: /mailsrv/MailRoot-srv1 /mailsrv/MailRoot-srv2 /mailsrv/MailRoot-srv3 /mailsrv/MailRoot-srv4 Change the startup files and assign specific ips to each one of them: XMAIL_ROOT=/mailsrv/MailRoot-srv1 XMAIL_CMD_LINE=-Ms /mailsrv/MailRoot-srv1 -SI 1.1.1.1:25 -PI 1.1.1.1:110 -CI 1.1.1.1:6017 -Qn 96 -B- -X- W- -Y- -F- -Pl -Ph -Sl -Fl -Cl -Ll - Yl -Ql -Qg -SX 160 PATH=$XMAIL_ROOT/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/ sbin:/us r/bin DAEMON=$XMAIL_ROOT/bin/XMail NAME=XMail-srv1 DESC=XMail Server (1) And that's about it, it seems a little bit too easy. I need to apply this change tomorrow and I never ran many XMails on the same systems I am scared of discovering something that prevents me from doing that. Any advices? Thank you -fred ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] Multiple server on same system
Hi guys, I am planning on running multiple XMail servers on the same system and I would like to ask the gurus if I am missing anything. Here is what I am going to do: Duplicate the MailRoot folder: /mailsrv/MailRoot-srv1 /mailsrv/MailRoot-srv2 /mailsrv/MailRoot-srv3 /mailsrv/MailRoot-srv4 Change the startup files and assign specific ips to each one of them: XMAIL_ROOT=/mailsrv/MailRoot-srv1 XMAIL_CMD_LINE=-Ms /mailsrv/MailRoot-srv1 -SI 1.1.1.1:25 -PI 1.1.1.1:110 -CI 1.1.1.1:6017 -Qn 96 -B- -X- W- -Y- -F- -Pl -Ph -Sl -Fl -Cl -Ll -Yl -Ql -Qg -SX 160 PATH=$XMAIL_ROOT/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/us r/bin DAEMON=$XMAIL_ROOT/bin/XMail NAME=XMail-srv1 DESC=XMail Server (1) And that's about it, it seems a little bit too easy. I need to apply this change tomorrow and I never ran many XMails on the same systems I am scared of discovering something that prevents me from doing that. Any advices? Thank you -fred ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Multiple server on same system
Thank you Davide, as usual your reply is gold! -fred -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Davide Libenzi Sent: 15 décembre 2008 15:20 To: XMail Users Mailing List Subject: Re: [xmail] Multiple server on same system On Mon, 15 Dec 2008, fred wrote: Hi guys, I am planning on running multiple XMail servers on the same system and I would like to ask the gurus if I am missing anything. Here is what I am going to do: Duplicate the MailRoot folder: /mailsrv/MailRoot-srv1 /mailsrv/MailRoot-srv2 /mailsrv/MailRoot-srv3 /mailsrv/MailRoot-srv4 Change the startup files and assign specific ips to each one of them: XMAIL_ROOT=/mailsrv/MailRoot-srv1 XMAIL_CMD_LINE=-Ms /mailsrv/MailRoot-srv1 -SI 1.1.1.1:25 -PI 1.1.1.1:110 -CI 1.1.1.1:6017 -Qn 96 -B- -X- W- -Y- -F- -Pl -Ph -Sl -Fl -Cl -Ll -Yl -Ql -Qg -SX 160 PATH=$XMAIL_ROOT/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/us r/bin DAEMON=$XMAIL_ROOT/bin/XMail NAME=XMail-srv1 DESC=XMail Server (1) And that's about it, it seems a little bit too easy. I need to apply this change tomorrow and I never ran many XMails on the same systems I am scared of discovering something that prevents me from doing that. Any advices? If you disable the service and/or bind them to different IP:PORT combos, you should be fine, for Unix. Windows setups need to change the XMail executable name too. - Davide ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Multiple server on same system
Because I am using XMail with a Web application that we developed and that we use for mass mailing to various email databases. Don't worry this is not spam, people in those databases registered themselves. The problem I had is : -User1 send an email to 20,000 people. -User2 decides to send a different email to 10,000 other people. -User2 does not want to wait until our server have sent User1's 20,000 emails before having his 10,000 being sent. So the solution I came up was to have each my users a specific mail server so when they send their emails their server start sending them immediately. I will only be bottlenecked by cpu time and by the banwidth. -fred -Original Message- From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org] On Behalf Of Shawn Anderson Sent: 15 décembre 2008 16:55 To: XMail Users Mailing List Subject: Re: [xmail] Multiple server on same system Just out of curiosity, why? Sent from my iPhone On Dec 15, 2008, at 1:25 PM, fred f...@fullmetalpacket.com wrote: Hi guys, I am planning on running multiple XMail servers on the same system and I would like to ask the gurus if I am missing anything. Here is what I am going to do: Duplicate the MailRoot folder: /mailsrv/MailRoot-srv1 /mailsrv/MailRoot-srv2 /mailsrv/MailRoot-srv3 /mailsrv/MailRoot-srv4 Change the startup files and assign specific ips to each one of them: XMAIL_ROOT=/mailsrv/MailRoot-srv1 XMAIL_CMD_LINE=-Ms /mailsrv/MailRoot-srv1 -SI 1.1.1.1:25 -PI 1.1.1.1:110 -CI 1.1.1.1:6017 -Qn 96 -B- -X- W- -Y- -F- -Pl -Ph -Sl -Fl -Cl -Ll - Yl -Ql -Qg -SX 160 PATH=$XMAIL_ROOT/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/ sbin:/us r/bin DAEMON=$XMAIL_ROOT/bin/XMail NAME=XMail-srv1 DESC=XMail Server (1) And that's about it, it seems a little bit too easy. I need to apply this change tomorrow and I never ran many XMails on the same systems I am scared of discovering something that prevents me from doing that. Any advices? Thank you -fred ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] winmail.dat pain
Hi all, I have a user that is trying to send ENTF / RTF formatted messages using MS Outlook. Problem is that his emails are received by XMail but are formatted differently and also have winmail.dat attached. How can I handle that and what are my options? Anyone have any experience with this. Thanks a lot -fred ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] winmail.dat pain
I have found an utility that might help me writing a filter for this. I guess it might be possible to run this program, save the processed message to the recipient mailbox. Any help would be appreciated. mail# tnef --help tnef: [options] [FILE] -f FILE,--file=FILE use FILE as input ('-' == stdin) -C DIR, --directory=DIR unpack files into DIR -x SIZE --maxsize=SIZE limit maximum size of extracted archive (bytes) -t, --list list files, do not extract --list-with-mime-types list files and mime-types, do not extract -w, --interactive ask for confirmation for every action --confirmation same as -w --overwrite Overwrite existing files --number-backupsInstead of overwriting file FOO, create FOO.n instead --use-paths Use pathnames for files if found in the TNEF file (for security reasons paths to included files are ignored by default) --save-rtf[=FILE] [DEPRECATED] Save the RTF message body to a file --save-body[=FILE] Save the message body to a file -h, --help show this message -K, --ignore-checksum Ignore any checksum error (warn only) -V, --version display version and copyright -v, --verbose produce verbose output --debug produce a lot of output If FILE is not specified standard input is used Report bugs to [EMAIL PROTECTED] mail# -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of fred Sent: 21 novembre 2008 13:44 To: 'XMail Users Mailing List' Subject: [xmail] winmail.dat pain Hi all, I have a user that is trying to send ENTF / RTF formatted messages using MS Outlook. Problem is that his emails are received by XMail but are formatted differently and also have winmail.dat attached. How can I handle that and what are my options? Anyone have any experience with this. Thanks a lot -fred ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] winmail.dat pain
I am not sure Davide, all I know is that when receiving his email on my XMail server it is formatted in Plain Text and have winmail.dat attached. If he sends it to his other mail provider the email is in Rich Text and it's formatted like it was when he sent it using MS Outlook. *pulling hair* I hate MS so bad. -fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Davide Libenzi Sent: 21 novembre 2008 14:42 To: XMail Users Mailing List Subject: Re: [xmail] winmail.dat pain On Fri, 21 Nov 2008, fred wrote: Hi all, I have a user that is trying to send ENTF / RTF formatted messages using MS Outlook. Problem is that his emails are received by XMail but are formatted differently and also have winmail.dat attached. How can I handle that and what are my options? Anyone have any experience with this. XMail doesn't care of the format. What's the problem then? - Davide ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
Re: [xmail] Where is PTR record?
This is done on the DNS side. It must be configured so the external IP of your XMAIL server will resolve to something. Ex: XMAIL ip = 1.2.3.4 # nslookup 1.2.3.4 Server: yourdns.net Address:yourdns.net#53 Non-authoritative answer: 4.3.2.1.in-addr.arpa name = yourxmailserver.net. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vladimir Bibel Sent: 17 novembre 2008 10:28 To: XMail Users Mailing List Subject: [xmail] Where is PTR record? Hello, I got the following message after sending mail from my mail server: IMTA27.emeryville.ca.mail.comcast.net comcast 195.12.149.44 Comcast requires that all mail servers must have a PTR record with a valid Reverse DNS entry. Currently your mail server does not fill that requirement. My question is: Where is this PTR record - somewhere in xmail config files? In which one? Or on a side of my DNS provider? Many thanks for advice Vladimir Bibel ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail ___ xmail mailing list xmail@xmailserver.org http://xmailserver.org/mailman/listinfo/xmail
[xmail] XMail sending rate
Hello everyone, I am having issues doing mass mailing to hotmail, here is the error I am receiving: ErrCode = -152 ErrString = End of socket stream data SMAIL SMTP-Send MX = mx3.hotmail.com. SMTP = newsletter.mydomain.com From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] Failed ! SMTP-Error = 421 RP-001 The mail server IP connecting to Windows Live Hotmail server has exceeded the rate limit allowed. Reason for rate limitation is related to IP/domain reputation problems. If you are not an email/network admin please contact your E-mail/Internet Service Provider for help. Email/network admins, please visit http://postmaster.live.com for email delivery information and support SMTP-Server = mx3.hotmail.com. I understand that this is related to IP/domain reputation problems I already signed their contract and joined the JMRP program. But I was wondering if there were any configuration in XMail that would allow me to turn down the rate XMail is sending emails? I have read the manual, there might be commandline switches that would do that but I am not sure and I would like a confirmation from an expert first. By the way, I am not spamming, this is a newsletter were the users register by themselves. Thank you -fred - 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 attachments before mailproc.tab
Thanks Francis for the long and informative answer. I will write the script that filters the attachments and I will put it on the mailproc.tab level. I will have to write another script that will scan for all mailproc.tab and put the filter line in them. It is still not the best solution but the only one for the moment. Thank you -fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of CLEMENT Francis Sent: 25 septembre 2008 11:37 To: 'xmail@xmailserver.org' Subject: [xmail] Re: Filter attachments before mailproc.tab Better place is mailproc.tab file in any cases as you are sure you will = run the attachment check only for the needed users/redirects (can easily = change for a user when not at all redirected to google, so only mailproc need changes for the redirect and removing the filter, ...) In fact mailproc.tab file or filters.in.tab file will depend of the = number of account needed need the filter to run. If your xmail accounts don't change too much (relatively static, major changes only when creating new accounts, ...) I think adding the script = call to each individual existing mailproc.tab is only one time consuming (a little batch that add the filter line in each user mailproc.tab = files that need the filter is not more difficult to write that the filter.in script, so no real need to do many changes by hand, so not too much = time consuming) and you server will be finally happy to not run a filters.in.tab script every time but that will do real job for some mails (depends also of = the number of mails received by these accounts). Sure, if 90% accounts need the filter, so filters.in.tab file is the = place. Sure, if only 5% accounts need the filter, but they receive 90% of the = mails your server receive, then filter.in.tab file is the right place :) It's only up to you to do the choice depending of your real situation (number of accounts affected, percent of mail they receive, ...) :) In any cases, I allways prefer reporting job at last stage as possible, = I'm then sure that it runs only when really needed. (but it's my point of vue) Francis -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de fred Envoy=E9 : jeudi 25 septembre 2008 16:20 =C0 : xmail@xmailserver.org Objet : [xmail] Filter attachments before mailproc.tab Hi everyone, =20 I have a question regarding attachments and redirects with=20 mailproc.tab. =20 Here is the problem;=20 =20 [EMAIL PROTECTED] has a mailproc which redirects to=20 [EMAIL PROTECTED] =20 If someone sends an email WITH A PROHIBITED ATTACHMENT=20 extension (such as ..exe, .bat, etc, etc) to [EMAIL PROTECTED], gmail refuses the=20 email saying the attachment is blocked, that is fine. =20 How can I block and stop the redirection of emails with such = extensions before mailproc.tab kicks in? =20 I understand that I must write a filter, that is no problem,=20 but where to place it? =20 I think the filter order is: =20 1. filters.pre-data.tab 2. filters.post-rcpt.tab 3. filters.post-data.tab 4. filters.in.tab 5. mailproc.tab =20 Of course I could place it in filters.in.tab but it would be=20 ran everytime someone receives a message, which is not efficient and I think=20 would slow down the server, I would need it run only if someone has a=20 mailproc.tab. =20 Can someone point me to the right direction? I think placing the = script inside mailproc.tab for each of my users that has one would be=20 a pain in the ass. =20 Maybe the best solution would be to place it inside=20 filters.in.tab and do a check like: =20 If(file_exists(/var/MailRoot/domains/mydomain.com/user/mailproc.tab))= { //Script here } =20 What does the gurus think? =20 Thanks in advance =20 -fred =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: Filter attachments before mailproc.tab
Thanks for the reply Davide. Yes I know mailproc.tab supports filters, but the problem is activating and managing the mailprocs if you have numerous users, I will just automate this task by making another script. -fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Davide Libenzi Sent: 25 septembre 2008 15:29 To: xmail@xmailserver.org Subject: [xmail] Re: Filter attachments before mailproc.tab On Thu, 25 Sep 2008, fred wrote: Hi everyone, I have a question regarding attachments and redirects with mailproc.tab. Here is the problem; [EMAIL PROTECTED] has a mailproc which redirects to [EMAIL PROTECTED] If someone sends an email WITH A PROHIBITED ATTACHMENT extension (such as ..exe, .bat, etc, etc) to [EMAIL PROTECTED], gmail refuses the email saying the attachment is blocked, that is fine. How can I block and stop the redirection of emails with such extensions before mailproc.tab kicks in? You know that mailproc.tab supports filter? And that a filter return code can stop the current mailproc.tab processing? - 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] Filter attachments before mailproc.tab
Hi everyone, I have a question regarding attachments and redirects with mailproc.tab. Here is the problem; [EMAIL PROTECTED] has a mailproc which redirects to [EMAIL PROTECTED] If someone sends an email WITH A PROHIBITED ATTACHMENT extension (such as ..exe, .bat, etc, etc) to [EMAIL PROTECTED], gmail refuses the email saying the attachment is blocked, that is fine. How can I block and stop the redirection of emails with such extensions before mailproc.tab kicks in? I understand that I must write a filter, that is no problem, but where to place it? I think the filter order is: 1. filters.pre-data.tab 2. filters.post-rcpt.tab 3. filters.post-data.tab 4. filters.in.tab 5. mailproc.tab Of course I could place it in filters.in.tab but it would be ran everytime someone receives a message, which is not efficient and I think would slow down the server, I would need it run only if someone has a mailproc.tab. Can someone point me to the right direction? I think placing the script inside mailproc.tab for each of my users that has one would be a pain in the ass. Maybe the best solution would be to place it inside filters.in.tab and do a check like: If(file_exists(/var/MailRoot/domains/mydomain.com/user/mailproc.tab)) { //Script here } What does the gurus think? Thanks in advance -fred - 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 SMTP outgoing port?
Bill, I can't believe I didn't see the -SI switch... I thought only -Sp was able to change SMTP port. THIS JUST SOLVED ALL MY PROBLEMS! :) Thanks! -fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Healy Sent: 30 mai 2008 13:22 To: 'xmail@xmailserver.org' Subject: [xmail] Re: XMail SMTP outgoing port? Fred, Is your problem that you can't connect to your xMail server at work on port 25 from home? If that's the case you can setup xMail to listen on port 25 and another port of your choice using the -SI as you mentioned. Bill -- From: fred[SMTP:[EMAIL PROTECTED] Sent: Thursday, May 29, 2008 1:12 PM To:xmail@xmailserver.org Subject: [xmail] Re: XMail SMTP outgoing port? Thanks for your replies, Well, it's not really blocked, it works IF you are using the ISP SMTP. But this ISP prevents the use other SMTP other than their own. At work, where I am right now, my SMTP server works because we have a fixed IP and the ISP let us use it. But at home, with a standard internet link from this same ISP they block all except their own smtp. So if I am at home, I -Cannot send using my smtp -Cannot send using my SSL smtp -Cannot send using their smtp with my domain (they have activated SMTP-auth) -Can only send mail using the email they gave me when I got this link installed ([EMAIL PROTECTED]) The only way I could send mails with my domain would be to set up SMTP auth in my mail client with the username/password I have for [EMAIL PROTECTED] account, but they told me this won't work for a long time. Like Davide said, I am pretty much screwed.. -fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tjeerd Makel Sent: 29 mai 2008 15:24 To: xmail@xmailserver.org Subject: [xmail] Re: XMail SMTP outgoing port? Dear Fred, Are you sure port 25 is blocked for outbound? Maybe I've got it wrong, but how does your e-mail client send it's mails to the rest of the world? Which smtp-server do you use in Outlook or whatever you use? Maybe you can use it as a mail-forwarder (smarthost)? Yours, Tjeerd Thanks for the reply Davide, I understand that point. But how would one configure it's server to listen on 25 for inbound and listen on another port for when a user wants to send mails, it this eve= n possible? What are the solutions when the ISP blocks 25/465 for sending mails =3D then? Thanks -fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] =3D On Behalf Of Davide Libenzi Sent: 29 mai 2008 13:25 To: xmail@xmailserver.org Subject: [xmail] Re: XMail SMTP outgoing port? On Thu, 29 May 2008, fred wrote: Hi all,=3D20 =3D20 Is it possible to configure XMail to run on a non-standard port only =3D for outgoing connections? =3D20 My ISP is blocking port 25 for outbound only, but if I understand the documentation correctly; if I change the port using =3D93-Sp port=3D94= =3D XMail will stop listening to port 25 for inbound connections so I will have =3D problems receiving mails. =3D20 Is there any solution to this problem? Unfortunately, remote SMTP servers have the bad habit to listen to port= =3D 25 ;) - 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] - 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: XMail SMTP outgoing port?
English is not my born language I do my best. Sorry for the bad explaination of my issue. -fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Davide Libenzi Sent: 30 mai 2008 14:21 To: XMail mailing list Subject: [xmail] Re: XMail SMTP outgoing port? On Fri, 30 May 2008, fred wrote: Bill, I can't believe I didn't see the -SI switch... I thought only -Sp was able to change SMTP port. THIS JUST SOLVED ALL MY PROBLEMS! :) Maybe if you would have made it clearer that you were just trying to connect to your own SMTP server, the answer could have come earlier ;) - 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] XMail SMTP outgoing port?
Hi all, Is it possible to configure XMail to run on a non-standard port only for outgoing connections? My ISP is blocking port 25 for outbound only, but if I understand the documentation correctly; if I change the port using -Sp port XMail will stop listening to port 25 for inbound connections so I will have problems receiving mails. Is there any solution to this problem? Thanks in advance -fred - 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 SMTP outgoing port?
Thanks for the reply Davide, I understand that point. But how would one configure it's server to listen on 25 for inbound and listen on another port for when a user wants to send mails, it this even possible? What are the solutions when the ISP blocks 25/465 for sending mails = then? Thanks -fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] = On Behalf Of Davide Libenzi Sent: 29 mai 2008 13:25 To: xmail@xmailserver.org Subject: [xmail] Re: XMail SMTP outgoing port? On Thu, 29 May 2008, fred wrote: Hi all,=20 =20 Is it possible to configure XMail to run on a non-standard port only = for outgoing connections? =20 My ISP is blocking port 25 for outbound only, but if I understand the documentation correctly; if I change the port using =93-Sp port=94 = XMail will stop listening to port 25 for inbound connections so I will have = problems receiving mails. =20 Is there any solution to this problem? Unfortunately, remote SMTP servers have the bad habit to listen to port = 25 ;) - 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: XMail SMTP outgoing port?
Thanks for your replies, Well, it's not really blocked, it works IF you are using the ISP SMTP. But this ISP prevents the use other SMTP other than their own. At work, where I am right now, my SMTP server works because we have a fixed IP and the ISP let us use it. But at home, with a standard internet link from this same ISP they block all except their own smtp. So if I am at home, I -Cannot send using my smtp -Cannot send using my SSL smtp -Cannot send using their smtp with my domain (they have activated SMTP-auth) -Can only send mail using the email they gave me when I got this link installed ([EMAIL PROTECTED]) The only way I could send mails with my domain would be to set up SMTP auth in my mail client with the username/password I have for [EMAIL PROTECTED] account, but they told me this won't work for a long time. Like Davide said, I am pretty much screwed.. -fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tjeerd Makel Sent: 29 mai 2008 15:24 To: xmail@xmailserver.org Subject: [xmail] Re: XMail SMTP outgoing port? Dear Fred, Are you sure port 25 is blocked for outbound? Maybe I've got it wrong, but how does your e-mail client send it's mails to the rest of the world? Which smtp-server do you use in Outlook or whatever you use? Maybe you can use it as a mail-forwarder (smarthost)? Yours, Tjeerd Thanks for the reply Davide, I understand that point. But how would one configure it's server to listen on 25 for inbound and listen on another port for when a user wants to send mails, it this eve= n possible? What are the solutions when the ISP blocks 25/465 for sending mails =3D then? Thanks -fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] =3D On Behalf Of Davide Libenzi Sent: 29 mai 2008 13:25 To: xmail@xmailserver.org Subject: [xmail] Re: XMail SMTP outgoing port? On Thu, 29 May 2008, fred wrote: Hi all,=3D20 =3D20 Is it possible to configure XMail to run on a non-standard port only =3D for outgoing connections? =3D20 My ISP is blocking port 25 for outbound only, but if I understand the documentation correctly; if I change the port using =3D93-Sp port=3D94= =3D XMail will stop listening to port 25 for inbound connections so I will have =3D problems receiving mails. =3D20 Is there any solution to this problem? Unfortunately, remote SMTP servers have the bad habit to listen to port= =3D 25 ;) - 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] - 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.25 just started to seg fault
Hello all, A production server running FreeBSD-7.0 and XMAIL-1.25 just started to core dump a few days ago I have disabled all the filters, deleted content of tabindex, deleted spool, deleted logs, chmodded -R 777, dnscache and it keep crashing after a few pop3 connections. I have ran hardware tests on the server and it doesnt seem to be an hardware problem, debug only shows lines like POP3 connection FROM 1.2.3.4 and then a new line with Segmentation fault (core dumped). There is nothing in the systems logs.. I am quite lost To fix the problem I had to downgrade to 1.24 binaries, the server runs with them for 4 days now and no crash. I have no idea with 1.25 would suddenly start crashing like that after months of stable use. I guess I will just recompile the whole 1.25 source and try the new binaries, they might have been corrupted? Anyone have any idea? Thank you. -fred - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: 1.25 just started to seg fault
Well, re-compiling the sources didn't help. I have started fresh using the MailRoot/ inside the tarbal, copied my = ..tab files over original ones, ran XMAIL in debug mode and it crashed after = the third pop3 connection. /var/log/messages shows: May 20 10:05:36 mail kernel: pid 39029 (XMail), uid 0: exited on signal = 11 (core dumped) Signal 11 is most likely an hardware problem but why does 1.24 runs = fine?=20 fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] = On Behalf Of fred Sent: 20 mai 2008 09:25 To: xmail@xmailserver.org Subject: [xmail] 1.25 just started to seg fault Hello all, =20 A production server running FreeBSD-7.0 and XMAIL-1.25 just started to = core dump a few days ago=85 I have disabled all the filters, deleted content = of tabindex, deleted spool, deleted logs, chmodded -R 777, dnscache and it = keep crashing after a few pop3 connections. =20 I have ran hardware tests on the server and it doesn=92t seem to be an hardware problem, debug only shows lines like =93POP3 connection FROM = 1.2.3.4=94 and then a new line with =93Segmentation fault (core dumped)=94. There = is nothing in the systems logs.. I am quite lost=85 =20 To fix the problem I had to downgrade to 1.24 binaries, the server runs = with them for 4 days now and no crash. I have no idea with 1.25 would = suddenly start crashing like that after months of stable use. I guess I will just recompile the whole 1.25 source and try the new binaries, they might = have been corrupted? =20 Anyone have any idea? Thank you. =20 -fred=20 =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]
[xmail] Re: 1.25 just started to seg fault
Thanks for replying. Francis, absolutely nothing changed since the server started to core dump, I can assure you. Friday morning, when I got to work XMAIL wasn't accepting emails anymore because it's partition was full, it had 105GB left Thursday night. So I checked what was taking all the free space without finding any huge amount of anormal files. The files inside xmail partition was occupying less than 5GB. I have rebooted in single user mode, ran fsck which didn't find anything wrong, rebooted and got the normal free space left. The problems with XMAIL started to show up, some mailboxes had truncated emails due to not enough space to write the files on the HDDs which I have fixed, pop3 clients would just hangs downloading small emails so I had to kill XMAIL a couple of times because it wouldn't stop safely. After deleting all the bad mails the problems persisted and I downgraded to the 1.24 binaries, problems went away. Maybe something 1.25 uses on my system got corrupted when I killed xmail, I don't know.. I am (was) using latest 1.25-stable for at least 3 months and never had any issue until last Friday. What you mean by other version ? When I installed it 3 months ago I have got the source from: http://www.xmailserver.org/xmail-1.25.tar.gz Bill, I will try to run memtest86 ASAP but I have to move the domains and users to another server before doing that. This is a production server and I cannot take it down for hours. Thanks for the help -fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of CLEMENT Francis Sent: 20 mai 2008 11:40 To: 'xmail@xmailserver.org' Subject: [xmail] Re: 1.25 just started to seg fault Does any others parts of you FreeBsd changed recently ? (some packages updates, new software install, or dependencies for the aboves, = especialy core system components or openssl, ...) Did you use last 1.25 'stable' or previous 'pre' version ? Can you try the other 1.25 version ? (older or newer) Francis --- If it's a memory problem it could be that 1.24 doesn't use as much so doesn't hit the problem. If you don't have a good memory tester go grab a ISO at http://www.memtest.org/ and make a bootable memory test CD. Bill -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de fred Envoy=E9 : mardi 20 mai 2008 16:19 =C0 : xmail@xmailserver.org Objet : [xmail] Re: 1.25 just started to seg fault Well, re-compiling the sources didn't help. I have started fresh using the MailRoot/ inside the tarbal, copied my = =3D ..tab files over original ones, ran XMAIL in debug mode and it=20 crashed after =3D the third pop3 connection. /var/log/messages shows: May 20 10:05:36 mail kernel: pid 39029 (XMail), uid 0: exited=20 on signal =3D 11 (core dumped) Signal 11 is most likely an hardware problem but why does 1.24 runs = =3D fine?=3D20 fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] =3D On Behalf Of fred Sent: 20 mai 2008 09:25 To: xmail@xmailserver.org Subject: [xmail] 1.25 just started to seg fault Hello all, =3D20 A production server running FreeBSD-7.0 and XMAIL-1.25 just=20 started to =3D core dump a few days ago=3D85 I have disabled all the filters,=20 deleted content =3D of tabindex, deleted spool, deleted logs, chmodded -R 777,=20 dnscache and it =3D keep crashing after a few pop3 connections. =3D20 I have ran hardware tests on the server and it doesn=3D92t seem to be = an hardware problem, debug only shows lines like =3D93POP3 connection = FROM =3D 1.2.3.4=3D94 and then a new line with =3D93Segmentation fault (core=20 dumped)=3D94. There =3D is nothing in the systems logs.. I am quite lost=3D85 =3D20 To fix the problem I had to downgrade to 1.24 binaries, the=20 server runs =3D with them for 4 days now and no crash. I have no idea with 1.25 would =3D suddenly start crashing like that after months of stable use. I guess I=20 will just recompile the whole 1.25 source and try the new binaries, they might = =3D have been corrupted? =3D20 Anyone have any idea? Thank you. =3D20 -fred=3D20 =3D20 =3D20 - 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] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: 1.25 just started to seg fault
I did all that Davide but the server doesn't crash with the debug executable..!? This one crashes: 9774140 -rwxr-xr-x 1 root wheel 352176 May 20 15:36 XMail This one does not: 12648537 -rwxr-xr-x 1 root wheel 1059437 May 20 15:43 XMail I will try again a couple of time and will get back to you if I manage to get a debug XMail.core. -fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Davide Libenzi Sent: 20 mai 2008 15:21 To: xmail@xmailserver.org Subject: [xmail] Re: 1.25 just started to seg fault On Tue, 20 May 2008, fred wrote: Thanks for replying. Francis, absolutely nothing changed since the server started to core dump, I can assure you. Friday morning, when I got to work XMAIL wasn't accepting emails anymore because it's partition was full, it had 105GB left Thursday night. So I checked what was taking all the free space without finding any huge amount of anormal files. The files inside xmail partition was occupying less than 5GB. I remember (as usual) FreeBSD latest version had some problem. I don't remember exactly who reported this. Lets try: $ setenv XMAIL_DEBUG 1 $ setenv OSTYPE FreeBSD $ gmake -f Makefile.bsd Then run XMail from inside a shell: $ ulimit -c 2 $ XMail --debug -Md ... This should generate a core file. Then: $ gdb -c PATH-TO-CORE PATH-TO-XMAIL From inside GDB: bt full Send that over, and do not delete the core file and the XMail binary. Of course, no other XMail instance should be running while doing so. - 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] Problem receiving mails from specific domain
Hello all, Today I have noticed that I cannot receive any emails from cisco.com. It looks like the connection is being dropped for whatever reason.. I can receive mails from anyone without problems, hotmail, gmail, etc. This one is a bit strange, here is the debug information: ### CISCO START ### SMTP client connection from [128.107.241.180] SMTP filter run: Filter = /mailsrv/MailRoot/filters/fixcorrupt/xbmf Retcode = 0 SMTP filter run: Filter = /mailsrv/MailRoot/filters/antispam/antispam.php Retcode = 7 SMTP filter run: Filter = /mailsrv/MailRoot/filters/antivirus/antivirus.php Retcode = 7 SMTP client exit [128.107.241.180] ### CISCO END ### If I compare with the information I have from a successful connection: ### WORKING EXAMPLE START ### SMTP client connection from [1.2.3.4] SMTP filter run: Filter = /mailsrv/MailRoot/filters/fixcorrupt/xbmf Retcode = 0 SMTP filter run: Filter = /mailsrv/MailRoot/filters/antispam/antispam.php Retcode = 7 SMTP filter run: Filter = /mailsrv/MailRoot/filters/antivirus/antivirus.php Retcode = 7 SMAIL local SMTP = mydomain.net From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] SMTP client exit [1.2.3.4] ### WORKING EXAMPLE STOP ### Why does the cisco connection drops and no SMAIL processing? Content of filters.post-data.tab: /mailsrv/MailRoot/filters/fixcorrupt/xbmf @@FILE /mailsrv/MailRoot/filters/antispam/antispam.php @@FROM @@CRCPT @@RRCPT @@REMOTEADDR @@FILE /mailsrv/MailRoot/filters/antivirus/antivirus.php @@FILE @@REMOTEADDR @@FROM@@RRCPT If I disable all the filters in filters.post-data.tab I can now receive emails from cisco... Is their SMTP server is dropping the connection too soon because it is not waiting long enough for my server to go through the filters? This might be a big problem.. maybe my collegues are not receiving important emails from other servers.. Please help! -fred - 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 receiving mails from specific domain
UPDATE: It does NOT work if I remove everything in filters.post-data.tab It did only work ONCE but for some reason now it's not working with either my filters activated or not. SMTP log: mail.mydomain.net mydomain.net 128.107.241.180 2008-04-29 16:00:18 smtp-ext-sj-2.cisco.com mydomain.net [EMAIL PROTECTED][EMAIL PROTECTED] S441694 RCPT=OK 0 mail. mydomain.net mydomain.net 128.107.241.180 2008-04-29 16:00:18 smtp-ext-sj-2.cisco.com mydomain.net [EMAIL PROTECTED][EMAIL PROTECTED] S441694 RECV=OK 1269 Physically inside /mailsrv/MailRoot/mydomain.net/fred/Maildir/new/ the message is NOT there, but it should. -fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of fred Sent: 29 avril 2008 16:01 To: xmail@xmailserver.org Subject: [xmail] Problem receiving mails from specific domain Hello all, Today I have noticed that I cannot receive any emails from cisco.com. It looks like the connection is being dropped for whatever reason.. I can receive mails from anyone without problems, hotmail, gmail, etc. This one is a bit strange, here is the debug information: ### CISCO START ### SMTP client connection from [128.107.241.180] SMTP filter run: Filter = /mailsrv/MailRoot/filters/fixcorrupt/xbmf Retcode = 0 SMTP filter run: Filter = /mailsrv/MailRoot/filters/antispam/antispam.php Retcode = 7 SMTP filter run: Filter = /mailsrv/MailRoot/filters/antivirus/antivirus.php Retcode = 7 SMTP client exit [128.107.241.180] ### CISCO END ### If I compare with the information I have from a successful connection: ### WORKING EXAMPLE START ### SMTP client connection from [1.2.3.4] SMTP filter run: Filter = /mailsrv/MailRoot/filters/fixcorrupt/xbmf Retcode = 0 SMTP filter run: Filter = /mailsrv/MailRoot/filters/antispam/antispam.php Retcode = 7 SMTP filter run: Filter = /mailsrv/MailRoot/filters/antivirus/antivirus.php Retcode = 7 SMAIL local SMTP = mydomain.net From = [EMAIL PROTECTED] To = [EMAIL PROTECTED] SMTP client exit [1.2.3.4] ### WORKING EXAMPLE STOP ### Why does the cisco connection drops and no SMAIL processing? Content of filters.post-data.tab: /mailsrv/MailRoot/filters/fixcorrupt/xbmf @@FILE /mailsrv/MailRoot/filters/antispam/antispam.php @@FROM @@CRCPT @@RRCPT @@REMOTEADDR @@FILE /mailsrv/MailRoot/filters/antivirus/antivirus.php @@FILE @@REMOTEADDR @@FROM@@RRCPT If I disable all the filters in filters.post-data.tab I can now receive emails from cisco... Is their SMTP server is dropping the connection too soon because it is not waiting long enough for my server to go through the filters? This might be a big problem.. maybe my collegues are not receiving important emails from other servers.. Please help! -fred - 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: Aliases.tab
You could just create the mailbox help and then add a mailproc.tab in its directory with the following content: redirect[TAB][EMAIL PROTECTED][TAB][EMAIL PROTECTED] m[CRLF] This will prevent storing the mails into help mailbox since it doesn't have the mailbox parameter before the redirect. Hope this helps -fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jayson Keidel Sent: 28 avril 2008 17:46 To: xmail@xmailserver.org Subject: [xmail] Aliases.tab Under Exim on a Debian server, I was able to create system-wide aliases that would send an email to multiple accounts. Example: help@domain.com would be forwarded both to me the other tech support guy working with that server. In Xmail's aliases.tab is there a way to setup an alias so that a false address will forward to multiple real addresses? -Jayson Keidel - 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 auth on another server
Thanks for your reply Francis, I need two servers because I don't want all my users to bow down my server with their outgoing emails, right now they use their ISP outgoing servers and I am scared of telling them to use mine. I wanted to only run xmail smtp's service on that second server, what solutions I have then? Thanks -fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of CLEMENT Francis Sent: 7 avril 2008 04:20 To: 'xmail@xmailserver.org' Subject: [xmail] Re: SMTP auth on another server -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de fred Envoy=E9 : vendredi 4 avril 2008 19:01 =C0 : xmail@xmailserver.org Objet : [xmail] SMTP auth on another server Hi, Just a quick question about what I need to do in order to have a = second server only for SMTP Auth for the users I have on xmail pop server. I understand the smtp server must have a copy of the usernames=20 and passwords but is copying: aliasdomain.tab aliases.tab domains.tab mailusers.tab to the smtp server is enough to replicate xmail's user base?=20 Or I need to copy the whole directory.. Anyone have any advice? Thanks -fred As these files are 'indexed' your can't simply copy them ! And even if you copy them and the indexes files, to run correctly xmail needs 'domain' directories and 'mailbox' directories present too. What is exactly the purpose to have two servers in your setup ? mx backup ? 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] SMTP auth on another server
Hi, Just a quick question about what I need to do in order to have a second server only for SMTP Auth for the users I have on xmail pop server. I understand the smtp server must have a copy of the usernames and passwords but is copying: aliasdomain.tab aliases.tab domains.tab mailusers.tab to the smtp server is enough to replicate xmail's user base? Or I need to copy the whole directory.. Anyone have any advice? Thanks -fred - 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] bcc server messages
Hi all, i want to know if its possible to make xmail bcc every server message its sends out? this way i would know if a mailbox is full, a message has too many recipients or even if the message exceeds fixed maximum size ? thank you fred - 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: Script to shut down then start xmail
Hi, Make sure XMAIL_ROOT and path to SH is valid #!/bin/sh # XMAIL_ROOT=/apps/MailRoot echo Killing XMail kill `ps -aux | grep XMail | grep -v grep | awk '{print $2}'` wait echo Starting XMail $XMAIL_ROOT/bin/xmail start exit 0 Hope this helps Fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Larkman Sent: 29 avril, 2004 14:58 To: [EMAIL PROTECTED] Subject: [xmail] Script to shut down then start xmail Does anyone have a script I can run from a crontab on FreeBSD that will stop Xmail then start it after the service has stopped? Thanks, - ken - 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: Script to shut down then start xmail
My Pleasure Ken, but make sure the wait command is on a new line, exit 0 should be on a new line too. fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Larkman Sent: 29 avril, 2004 15:23 To: [EMAIL PROTECTED] Subject: [xmail] Re: Script to shut down then start xmail Thanks, Fred! That looks like it does exactly what I need. Thanks, - Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fred Sent: Thursday, April 29, 2004 1:13 PM To: [EMAIL PROTECTED] Subject: [xmail] Re: Script to shut down then start xmail Hi, Make sure XMAIL_ROOT and path to SH is valid #!/bin/sh # XMAIL_ROOT=/apps/MailRoot echo Killing XMail kill `ps -aux | grep XMail | grep -v grep | awk '{print $2}'` wait echo Starting XMail $XMAIL_ROOT/bin/xmail start exit 0 Hope this helps Fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Larkman Sent: 29 avril, 2004 14:58 To: [EMAIL PROTECTED] Subject: [xmail] Script to shut down then start xmail Does anyone have a script I can run from a crontab on FreeBSD that will stop Xmail then start it after the service has stopped? Thanks, - ken - 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] - 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: Script to shut down then start xmail
Sorry, make sure the wait command is on a new line, echo Starting XMail should be on a new line too. fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fred Sent: 29 avril, 2004 15:27 To: [EMAIL PROTECTED] Subject: [xmail] Re: Script to shut down then start xmail My Pleasure Ken, but make sure the wait command is on a new line, exit 0 should be on a new line too. fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Larkman Sent: 29 avril, 2004 15:23 To: [EMAIL PROTECTED] Subject: [xmail] Re: Script to shut down then start xmail Thanks, Fred! That looks like it does exactly what I need. Thanks, - Ken -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fred Sent: Thursday, April 29, 2004 1:13 PM To: [EMAIL PROTECTED] Subject: [xmail] Re: Script to shut down then start xmail Hi, Make sure XMAIL_ROOT and path to SH is valid #!/bin/sh # XMAIL_ROOT=/apps/MailRoot echo Killing XMail kill `ps -aux | grep XMail | grep -v grep | awk '{print $2}'` wait echo Starting XMail $XMAIL_ROOT/bin/xmail start exit 0 Hope this helps Fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Larkman Sent: 29 avril, 2004 14:58 To: [EMAIL PROTECTED] Subject: [xmail] Script to shut down then start xmail Does anyone have a script I can run from a crontab on FreeBSD that will stop Xmail then start it after the service has stopped? Thanks, - ken - 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] - 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] XMail quota monitor
Hi, maybe someone already written a script that does what i need, if yes please post the url. I need something that will monitor all the mailboxes of my xmail server to make sure the sum of all messages in each mbox isn't bigger than specified in user.tab. If bigger, the script would send an email to me so I can contact the user before he starts crying a river. fred - 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 quota monitor
Thanks for the reply Shawn, this is exactly what i need but unfortunately the script does not work :( I tried it on a redhat-8.0 box and on a FreeBSD-4.8 box, both are running perl-5.8.0. Do you know what is going on here: [EMAIL PROTECTED] bin]# ./xmailquotamonitor.pl ../xmailquotamonitor.pl: line 35: use: command not found ../xmailquotamonitor.pl: line 36: use: command not found ../xmailquotamonitor.pl: line 43: =: command not found ../xmailquotamonitor.pl: line 44: =: command not found ../xmailquotamonitor.pl: line 45: =: command not found ../xmailquotamonitor.pl: line 48: =: command not found ../xmailquotamonitor.pl: line 50: =: command not found ../xmailquotamonitor.pl: line 53: =: command not found ../xmailquotamonitor.pl: line 56: =: command not found ../xmailquotamonitor.pl: line 57: =: command not found ../xmailquotamonitor.pl: line 58: =: command not found ../xmailquotamonitor.pl: line 59: =: command not found ../xmailquotamonitor.pl: line 63: =: command not found ../xmailquotamonitor.pl: line 71: =: command not found ../xmailquotamonitor.pl: line 72: .=: command not found ../xmailquotamonitor.pl: line 73: .=: command not found ../xmailquotamonitor.pl: line 74: .=: command not found ../xmailquotamonitor.pl: line 75: .=: command not found ../xmailquotamonitor.pl: line 76: .=: command not found ../xmailquotamonitor.pl: line 77: .=: command not found ../xmailquotamonitor.pl: line 78: .=: command not found ../xmailquotamonitor.pl: line 79: .=: command not found ../xmailquotamonitor.pl: line 80: .=: command not found ../xmailquotamonitor.pl: line 81: .=: command not found ../xmailquotamonitor.pl: line 82: .=: command not found ../xmailquotamonitor.pl: line 83: .=: command not found ../xmailquotamonitor.pl: line 84: .=: command not found ../xmailquotamonitor.pl: line 87: =: command not found ../xmailquotamonitor.pl: line 89: my: command not found ../xmailquotamonitor.pl: line 90: my: command not found ../xmailquotamonitor.pl: line 92: my: command not found ../xmailquotamonitor.pl: line 95: my: command not found ../xmailquotamonitor.pl: line 96: my: command not found ../xmailquotamonitor.pl: line 98: chomp: command not found ../xmailquotamonitor.pl: line 104: syntax error near unexpected token `0,' ../xmailquotamonitor.pl: line 104: `Output (0, XMQuotaMonitor);' [EMAIL PROTECTED] bin]# fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Anderson Sent: 29 avril, 2004 16:36 To: [EMAIL PROTECTED] Subject: [xmail] Re: XMail quota monitor Check out: http://xmail.eye-catcher.com/Community/Downloads/General/60.aspx Shawn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fred Sent: Thursday, April 29, 2004 4:28 PM To: [EMAIL PROTECTED] Subject: [xmail] XMail quota monitor Hi, maybe someone already written a script that does what i need, if yes please post the url. I need something that will monitor all the mailboxes of my xmail server to make sure the sum of all messages in each mbox isn't bigger than specified in user.tab. If bigger, the script would send an email to me so I can contact the user before he starts crying a river. fred - 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: Xmail reports -- anyone have a wish list?
Hi, Glad someone is thinking for writing a decent log analyzer! Here is what I think should be in your project. -Storing the data in a MySQL database? -Will you release your software under the GPL? -Written in PHP or Perl? No ASP please hehe -User and domain alias support? Will all these features your software gonna rox. 2cents -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Anderson Sent: 28 avril, 2004 08:35 To: [EMAIL PROTECTED] Subject: [xmail] Xmail reports -- anyone have a wish list? Howdy, I am starting to create a reporting system for the XMail log files (I have been needing something for a while), so I thought I would see if anyone had their own wish list. Right now, here is what I am thinking: Features: - Automatic report generation on a scheduled time frame - Multiple output type (xml, html, etc) - Graphs Reports (all will have a date range filter) - Total summary - Total summary by log type - Summary by day/hour - Summary by incoming domain/user/ip address - Summary by outgoing domain/user/ip address - Top ten incoming domains/user/ip address - Top ten outgoing domains/user/ip address - Top ten blocked domains/users/ip address (CustomMapsList) Anyone have any thoughts and/or suggestions? Thanks Shawn - 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 reports -- anyone have a wish list?
Ok, not having a database to store the data is no biggie. By asking if your software will support user/domain alias I was thinking of past log analyzers, every analyzers I tried became completely crazy when reporting stats on a user who has one or more aliases. Everything was screwed up, [EMAIL PROTECTED] was reported as a user but in fact, it wasn't an aliase nor a user. Just to let you know that it seems to be complicated to code. Making your software platform independent would be awesome, I mean that having a perl script or a php script would make linux and win32 folks happy. 2cents and sorry for the terrible english fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Anderson Sent: 28 avril, 2004 11:00 To: [EMAIL PROTECTED] Subject: [xmail] Re: Xmail reports -- anyone have a wish list? I am leaning towards .NET (and maybe Mono) for the language. I don't think I will use any database, that way it will not have any dependencies. What do you main by user and domain alias support? Tell me more. And yes the report engine will be released as open source. Also, for a front end, it could be done in anything (Perl, ASP, ASP.NET) because the actual report engine will be something that is scheduled or run with parameters and it will output the result to a file. Shawn -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fred Sent: Wednesday, April 28, 2004 9:59 AM To: [EMAIL PROTECTED] Subject: [xmail] Re: Xmail reports -- anyone have a wish list? Hi, Glad someone is thinking for writing a decent log analyzer! Here is what I think should be in your project. -Storing the data in a MySQL database? -Will you release your software under the GPL? -Written in PHP or Perl? No ASP please hehe -User and domain alias support? Will all these features your software gonna rox. 2cents -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Anderson Sent: 28 avril, 2004 08:35 To: [EMAIL PROTECTED] Subject: [xmail] Xmail reports -- anyone have a wish list? Howdy, I am starting to create a reporting system for the XMail log files (I have been needing something for a while), so I thought I would see if anyone had their own wish list. Right now, here is what I am thinking: Features: - Automatic report generation on a scheduled time frame - Multiple output type (xml, html, etc) - Graphs Reports (all will have a date range filter) - Total summary - Total summary by log type - Summary by day/hour - Summary by incoming domain/user/ip address - Summary by outgoing domain/user/ip address - Top ten incoming domains/user/ip address - Top ten outgoing domains/user/ip address - Top ten blocked domains/users/ip address (CustomMapsList) Anyone have any thoughts and/or suggestions? Thanks Shawn - 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] - 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 reports -- anyone have a wish list?
I agree with you too, but Shawn will have to write two scripts. Use .NET for Win32 and Perl/PHP for Unix-like system. If he wants to do it like this, go ahead, everyone will be happy hehe Fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shawn Anderson Sent: 28 avril 2004 12:05 To: [EMAIL PROTECTED] Subject: [xmail] Re: Xmail reports -- anyone have a wish list? I have to agree with you on this one :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michal Altair Valasek Sent: Wednesday, April 28, 2004 11:50 AM To: [EMAIL PROTECTED] Subject: [xmail] Re: Xmail reports -- anyone have a wish list? Hello, |Making your software platform independent would be awesome, I mean that |having a perl script or a php script would make linux and |win32 folks happy. NO! To run PHP or Perl on Windows is a suicide, for security and performance reasons. With a lots of pain I'm very carefully runnig Perl for SpamAssassin and really are not happy about it. And I have a separate server just for e-mail services. For small hosting solutions, where all is running on single machine, this would be impossible and a security risk. Use .NET for Win32 and Perl/PHP for Unix-like system. Don't try to mix the words. Platform independent is from the same litter as One size fits all. Does not fit comfortably anyone and does not run properly anywhere. Even XMail has some issues coming from the multi-platform strategy, for example with DNS resolution. -- Michal Altair Valasek [EMAIL PROTECTED] Altair Communications - web hosting, web design, application development ___ http://www.altaircom.net | PGP: 0xC4F3579D | Phone (support): +420602137341 When it's inevitable, relax and enjoy 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] - 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 loop detected?
I received 1 email detected as loop too. I think the problem is with ecartis. Fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RaveRod Sent: 27 avril, 2004 19:21 To: [EMAIL PROTECTED] Subject: [xmail] Mail loop detected? 5 emails I just received (from the XMail Discussion group) are in a Mail loop. This may seems a stupid question but how do I fix this? - 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] CustMapsList help
Hi, sorry for the dumb question but I need to know. My server.tab contains this line: CustMapsList[TAB]sbl-xbl.spamhaus.org:0,combined.njabl.org:0,bl.spamcop.n et:0[ENTER] I only want to know what are the actions the server do when detecting mails as spam? Do I only have to have a line like this in server.tab to enable xmail's spam proctection? Nothing has to be in user's mailproc.tab? I couldn't find the information in the docs. Currently I have a spamassassin filter up, but I need more protection since some of my user still receive A LOT of junk, I will add more rules for SA later. Thanks in advance Fred - 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 me
Pose ta question pis le monde qui parle fran=E7ais t'aiderons. fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] = On Behalf Of [EMAIL PROTECTED] Sent: 24 avril 2004 05:26 To: [EMAIL PROTECTED] Subject: [xmail] Help me lo, je recherche de l'aide sur XMail, dans le meilleurs des cas en french - 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 1.18 (FreeBSD/Ix86) -- zombie?
Hi, i did try xmail-1.18 on freebsd-4.8 and it works like a charm. Been running it since its released and everything is ok. fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Davide Libenzi Sent: 13 avril, 2004 12:33 To: XMail mailing list Subject: [xmail] Re: XMail 1.18 (FreeBSD/Ix86) -- zombie? On Tue, 13 Apr 2004, D. Duccini wrote: As we've loaded a new freebsd/xmail implementation up with more customers, we're increasingly finding it go zombie on us -- its still running in memory, but no longer accepts connections on either 25/110 Any ideas? I did ask for testing to BSD and Solaris users before releasing 1.18, but noone showed up. - 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: XMail 1.18 (FreeBSD/Ix86) -- zombie?
My setup is pretty basic, i am running 2 filters: avfilter-1.9 and sa_filter-1.3 the only things mailproc.tab contains for some users is a simple redirect, no custom domain or cmdaliases. fred -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Davide Libenzi Sent: 13 avril, 2004 13:05 To: [EMAIL PROTECTED] Subject: [xmail] Re: XMail 1.18 (FreeBSD/Ix86) -- zombie? On Tue, 13 Apr 2004, Fred wrote: Hi, i did try xmail-1.18 on freebsd-4.8 and it works like a charm. Been running it since its released and everything is ok. Are you running things that make XMail to execute external programs (filters, external commands in mailproc.tab, cmd-aliases and custom domains)? - 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: Default Open Relay
Maybe something could be added in some file to prevent xmail from starting if important configuration files hasn't been edited? Eg: $./xmail start Impossible to start the server, RTFM. $ 2cents -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Don Drake Sent: 31 mars, 2004 09:10 To: [EMAIL PROTECTED] Subject: [xmail] Re: Default Open Relay I originally missed that section in configuration. I was reading in = the SMTPRELAY.TAB section, didn't see anything either way regarding open or closed relay and just moved on. At least put a blurb in that section of = the doc. I didn't mean to cause such an uproar, I thought this was an easy thing = to change. I know what you mean when you say people don't read = documentation, I deal with that a lot. If you really don't want to change the default setting, then at least add more documentation for the few people that do read it. Thanks. -Don -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] = On Behalf Of Davide Libenzi Sent: Wednesday, March 31, 2004 1:13 AM To: [EMAIL PROTECTED] Subject: [xmail] Re: Default Open Relay On Wed, 31 Mar 2004, S=F6nke Ruempler wrote: Davide, you should mention it in the doc like=20 =20 h3 style=3Dcolor: redEMPTY SMTPRELAY.TAB OR YOU HAVE AN OPEN = RELAY/h3 I won't help, sadly. Ppl does not read the doc, otherwise they will be=20 reading the configuration section, expecially the 'THIS IS IMPORTANT'=20 thing. - 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]