[xmail] Re: Forwarding High Priority emails
... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of waauu Sent: Tuesday, January 23, 2007 2:02 AM To: xmail@xmailserver.org Subject: [xmail] Re: Forwarding High Priority emails Well maybe you are not understanding me or I am not clear on what to do yet. I dont think I can tell the script to look at any one certain incoming email to see if its important or not. Xmail makes them random names with the computer name as an extension like this. 1157635092733.4380.4965.SERVER1 1157635321426.4380.4967.SERVER1 1157635321549.4380.4968.SERVER1 1157635321762.4380.4969.SERVER1 1157635322797.4380.496a.SERVER1 1157635323604.4380.496b.SERVER1 1157635323945.4380.496c.SERVER1 1158179359378.3744.192.SERVER1 1158251400887.4484.29f.SERVER1 1158265981777.4140.2eb.SERVER1 1158265981841.4140.2ec.SERVER1 Thats why I chose *.server1. So far so good with the script I have. I have a test folder with many emails in it like I listed above and some are hi pri. I run the script and it detects like 5 of my test hi priority mails, so I just need to know what add to the script to tell it to send the mails since they were found... I think Thats why in my script under :FOUND I was wondering what to put next cause the script so far just detects there is hi pris and doesnt have further instructions. Or I am missing it all together. My goal is simple. When emails come to [EMAIL PROTECTED] from anyone, and they are marked High Priority, then they are then forwarded to [EMAIL PROTECTED] On 1/20/07, Rob Arends [EMAIL PROTECTED] wrote: Wasup, I've been away for a few day break. The problem is that you're passing *.server1 to the grep. What is this file?? If you look at your (filter) tab file, you'll see in part: test.cmd @@FILE %0 %1 CMD file access your command line parameters is via the above shown %n variables. So, your test.cmd should look like this: @echo off REM Written by Rob Arends REM REM Script to return 16 to Xmail if the email is NOT of high Importance. setlocal grep -Pqi ^X-Priority:\s*1\s %1 set XPriHigh=%ERRORLEVEL% grep -Pqi ^X-MSMail-Priority:\s*High %1 set XMSPriHigh=%ERRORLEVEL% grep -Pqi ^Importance:\s*High %1 set ImportHigh=%ERRORLEVEL% if %XPriHigh%==0 goto HighImportance if %XMSPriHigh%==0 goto HighImportance if %ImportHigh%==0 goto HighImportance Rem Defaults to not HighImportance echo file %1 NOT is important mylogfile.txt exit 16 :HighImportance echo file %1 is important mylogfile.txt exit 0 :EOF Note that you are trying to access only one file in this instance of the filter execution. You wont want to access any wildcard files like *.server1. When you are happy with the results, you can take out the echo file ... lines. Xmail provides filenames in the format \\?\filename.txt So if grep does not like these names, you may need to do this after the setlocal: -- set FILE=%1 if %FILE:~0,4%==\\?\ set FILE=%FILE:~4% -- Then use %FILE% instead of each %1 in the GREPs. Also I hope your user's mailproc.tab file looks like this: mailbox[newline] external[tab]0[tab]20[tab]cmd /c d:\xmail\xmail_filters\test.cmd[tab]@@FILE[newline] redirect[tab][EMAIL PROTECTED][newline] Note the [newline]s Rob :-) _ Note To Self: Remember to put something witty here later... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of waauu Sent: Tuesday, January 16, 2007 8:45 AM To: xmail@xmailserver.org Subject: [xmail] Re: Forwarding High Priority emails I have got myself all confused now. I decided that what I should do is just make the server check the emails to see if they are HIGH PRIORITY and if they are then send it to the Blackberry device. I can inform users that if they want a offic user to receive the email on said users blackberry then send the email HIGH PRI. No need to keep a list of people now. I am confused on how to make it work, I am missing one thing somewhere. Here is the batch file to use @echo off setlocal grep -Pqi ^X-Priority:\s*1\s *.server1 set XPriHigh=%ERRORLEVEL% grep -Pqi ^X-MSMail-Priority:\s*High *.server1 set XMSPriHigh=%ERRORLEVEL% grep -Pqi ^Importance:\s*High *.server1 set ImportHigh=%ERRORLEVEL% if %XPriHigh%==0 goto Found if %XMSPriHigh%==0 goto Found if %ImportHigh%==0 goto Found goto EOF :Found NOT SURE WHAT TO PUT HERE, I have had things here and nothing worked. Nothing was right im sure. :EOF My Tab looks like this. mailbox external[tab]0[tab]20[tab]cmd /c d:\xmail\xmail_filters\test.cmd[tab]@@FILE redirect[tab][EMAIL PROTECTED] [newline] It should only redirect if the message is a high pri message. I chose @@file cause I
[xmail] Re: Forwarding High Priority emails
Wasup, Thanks for the offer, but as long as this works for you and you learn from it, I'm happy. I also remember I was where you are, a long time ago and there were some that helped and other that didn't (or were rude). I'm just returning the favour in helping you - that's what the Internet community is all about. Maybe once you've learned more you will help someone else. That's full circle. Did the script do what you want? Rob :-) _ Note To Self: Remember to put something witty here later... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of waauu Sent: Wednesday, January 24, 2007 2:32 AM To: xmail@xmailserver.org Subject: [xmail] Re: Forwarding High Priority emails Rob, Its ok to rant and be harsh, I dont blame you. I know to you this seemed like a simple task and I might could have possibly figured it out on my own. Sometimes though I am unclear on things and I am not a script king, Im sorry for that. I was hung up on :HighImportance exit 0 and adding %FILE% to the cmd script I appreciate all of your time and work and want to give you some compinsation for your time. Do you have paypal? On 1/22/07, Rob Arends [EMAIL PROTECTED] wrote: Wasup, you are missing it altogether. Yes Xmail creates the filenames you listed (the names are a combination of: seconds since 1/1/1970 00:00 DOT ProcessID DOT Hex counter of messages since xmail started DOT server name) Aside from that. You need to think of the path ONE email will take through Xmail. 1. SMTP session starts 2. HELO (or EHLO) smtp command is received 3. MAIL FROM smtp command is received 4. RCPT TO smtp command is received 5. DATA smtp command is received 6. The email, usually MIME encoded is received 7. . (that's a dot on newline) is received 8. SMTP session ends 9. Xmail delivers the email In the case of a local recipient 10. The local user delivery process looks for /domains/mydomain.com/wasup/mailproc.tab 11. If it does not exist, it assumes mailbox directive 12. If it is found it delivers according to the contents 13. In your case: 14. mailbox[newline] 15. external[tab]0[tab]20[tab]cmd /c d:\xmail\xmail_filters\test.cmd[tab]@@FILE[newline] 16. redirect[tab][EMAIL PROTECTED][newline] So, at 4,5,7,8 various filters can be run; these are the in/out/pre-data/post-data/post-rcpt filters. You are using the processing at 13 to control the delivery of a given email as it is delivered. Your premise is that the mail is stored somewhere and your script needs to search through each one to process it. This is an incorrect premise. The reason there is a @@FILE macro is so that the script will know which file (email) to process, so it should be ONE file, not *.Many files. If you were to receive 3 emails at the same time, then you will have 3 CMD process running concurrently, each running the same script but with different @@FILE macro values. Are we clear so far? Ok, so at 14, THIS EMAIL is delivered to the user's mailbox At 15 the external program/script is run. This script determines if the email was high priority and returns errorcode(RC) 0 or 16 to xmail. If the RC was 0, then xmail processes #16. If the RC was 16, then further processing ceases. This is how we get the forward to yahoo.com decision. Are we clear so far? START ---PLEASE USE THIS d:\xmail\xmail_filters\hi-pri.cmd --- @echo off REM Written by Rob Arends REM REM Script to return 16 to Xmail if the email is NOT of high Importance. setlocal set FILE=%1 grep -Pqi ^X-Priority:\s*1\s %FILE% set XPriHigh=%ERRORLEVEL% grep -Pqi ^X-MSMail-Priority:\s*High %FILE% set XMSPriHigh=%ERRORLEVEL% grep -Pqi ^Importance:\s*High %FILE% set ImportHigh=%ERRORLEVEL% if %XPriHigh%==0 goto HighImportance if %XMSPriHigh%==0 goto HighImportance if %ImportHigh%==0 goto HighImportance Rem Defaults to not HighImportance exit 16 :HighImportance exit 0 :EOF END ---PLEASE USE THIS d:\xmail\xmail_filters\hi-pri.cmd --- START ---PLEASE USE THIS mailproc.tab in the user's folder --- mailbox[newline] external[tab]0[tab]20[tab]cmd /c d:\xmail\xmail_filters\hi-pri.cmd[tab]@@FILE[newline] redirect[tab][EMAIL PROTECTED][newline] END ---PLEASE USE THIS mailproc.tab --- --- NOTE THERE ARE ONLY 3 LINES ABOVE--- Soapbox I'm so disappointed I've had to spoon this to you. There has been enough info given prior to now, plus a bit of research on your part and you would have it licked. This list isn't a hand holding group. What ever happened to a little 'trial and error' with your script writing to 'see what happened'? In the early parts of this thread I pointed you to CMD commands help for and help set. (Also see Help / Help if /etc.) With these and xmail's readme doc, you could have learned and solved it as you went. There is a history on this list of help being given graciously when
[xmail] Re: Forwarding High Priority emails
Yes it did do what I needed. Oh and just to inform you, in the past I have helped with email archival scripts. Search for archive filter... and you will see I think I solved his problem on win32 but it got taken over when others couldnt get past Are you sure you need to call cmd.exe /c explicity? On 1/23/07, Rob Arends [EMAIL PROTECTED] wrote: Wasup, Thanks for the offer, but as long as this works for you and you learn from it, I'm happy. I also remember I was where you are, a long time ago and there were some that helped and other that didn't (or were rude). I'm just returning the favour in helping you - that's what the Internet community is all about. Maybe once you've learned more you will help someone else. That's full circle. Did the script do what you want? Rob :-) _ Note To Self: Remember to put something witty here later... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of waauu Sent: Wednesday, January 24, 2007 2:32 AM To: xmail@xmailserver.org Subject: [xmail] Re: Forwarding High Priority emails Rob, Its ok to rant and be harsh, I dont blame you. I know to you this seemed like a simple task and I might could have possibly figured it out on my own. Sometimes though I am unclear on things and I am not a script king, Im sorry for that. I was hung up on :HighImportance exit 0 and adding %FILE% to the cmd script I appreciate all of your time and work and want to give you some compinsation for your time. Do you have paypal? On 1/22/07, Rob Arends [EMAIL PROTECTED] wrote: Wasup, you are missing it altogether. Yes Xmail creates the filenames you listed (the names are a combination of: seconds since 1/1/1970 00:00 DOT ProcessID DOT Hex counter of messages since xmail started DOT server name) Aside from that. You need to think of the path ONE email will take through Xmail. 1. SMTP session starts 2. HELO (or EHLO) smtp command is received 3. MAIL FROM smtp command is received 4. RCPT TO smtp command is received 5. DATA smtp command is received 6. The email, usually MIME encoded is received 7. . (that's a dot on newline) is received 8. SMTP session ends 9. Xmail delivers the email In the case of a local recipient 10. The local user delivery process looks for /domains/mydomain.com/wasup/mailproc.tab 11. If it does not exist, it assumes mailbox directive 12. If it is found it delivers according to the contents 13. In your case: 14. mailbox[newline] 15. external[tab]0[tab]20[tab]cmd /c d:\xmail\xmail_filters\test.cmd[tab]@@FILE[newline] 16. redirect[tab][EMAIL PROTECTED][newline] So, at 4,5,7,8 various filters can be run; these are the in/out/pre-data/post-data/post-rcpt filters. You are using the processing at 13 to control the delivery of a given email as it is delivered. Your premise is that the mail is stored somewhere and your script needs to search through each one to process it. This is an incorrect premise. The reason there is a @@FILE macro is so that the script will know which file (email) to process, so it should be ONE file, not *.Many files. If you were to receive 3 emails at the same time, then you will have 3 CMD process running concurrently, each running the same script but with different @@FILE macro values. Are we clear so far? Ok, so at 14, THIS EMAIL is delivered to the user's mailbox At 15 the external program/script is run. This script determines if the email was high priority and returns errorcode(RC) 0 or 16 to xmail. If the RC was 0, then xmail processes #16. If the RC was 16, then further processing ceases. This is how we get the forward to yahoo.com decision. Are we clear so far? START ---PLEASE USE THIS d:\xmail\xmail_filters\hi-pri.cmd --- @echo off REM Written by Rob Arends REM REM Script to return 16 to Xmail if the email is NOT of high Importance. setlocal set FILE=%1 grep -Pqi ^X-Priority:\s*1\s %FILE% set XPriHigh=%ERRORLEVEL% grep -Pqi ^X-MSMail-Priority:\s*High %FILE% set XMSPriHigh=%ERRORLEVEL% grep -Pqi ^Importance:\s*High %FILE% set ImportHigh=%ERRORLEVEL% if %XPriHigh%==0 goto HighImportance if %XMSPriHigh%==0 goto HighImportance if %ImportHigh%==0 goto HighImportance Rem Defaults to not HighImportance exit 16 :HighImportance exit 0 :EOF END ---PLEASE USE THIS d:\xmail\xmail_filters\hi-pri.cmd --- START ---PLEASE USE THIS mailproc.tab in the user's folder --- mailbox[newline] external[tab]0[tab]20[tab]cmd /c d:\xmail\xmail_filters\hi-pri.cmd[tab]@@FILE[newline] redirect[tab][EMAIL PROTECTED][newline] END ---PLEASE USE THIS mailproc.tab --- --- NOTE THERE ARE ONLY 3 LINES ABOVE--- Soapbox I'm so disappointed I've had to spoon this to you. There has been enough info given prior
[xmail] Re: Forwarding High Priority emails
Well maybe you are not understanding me or I am not clear on what to do yet. I dont think I can tell the script to look at any one certain incoming email to see if its important or not. Xmail makes them random names with the computer name as an extension like this. 1157635092733.4380.4965.SERVER1 1157635321426.4380.4967.SERVER1 1157635321549.4380.4968.SERVER1 1157635321762.4380.4969.SERVER1 1157635322797.4380.496a.SERVER1 1157635323604.4380.496b.SERVER1 1157635323945.4380.496c.SERVER1 1158179359378.3744.192.SERVER1 1158251400887.4484.29f.SERVER1 1158265981777.4140.2eb.SERVER1 1158265981841.4140.2ec.SERVER1 Thats why I chose *.server1. So far so good with the script I have. I have a test folder with many emails in it like I listed above and some are hi pri. I run the script and it detects like 5 of my test hi priority mails, so I just need to know what add to the script to tell it to send the mails since they were found... I think Thats why in my script under :FOUND I was wondering what to put next cause the script so far just detects there is hi pris and doesnt have further instructions. Or I am missing it all together. My goal is simple. When emails come to [EMAIL PROTECTED] from anyone, and they are marked High Priority, then they are then forwarded to [EMAIL PROTECTED] On 1/20/07, Rob Arends [EMAIL PROTECTED] wrote: Wasup, I've been away for a few day break. The problem is that you're passing *.server1 to the grep. What is this file?? If you look at your (filter) tab file, you'll see in part: test.cmd @@FILE %0 %1 CMD file access your command line parameters is via the above shown %n variables. So, your test.cmd should look like this: @echo off REM Written by Rob Arends REM REM Script to return 16 to Xmail if the email is NOT of high Importance. setlocal grep -Pqi ^X-Priority:\s*1\s %1 set XPriHigh=%ERRORLEVEL% grep -Pqi ^X-MSMail-Priority:\s*High %1 set XMSPriHigh=%ERRORLEVEL% grep -Pqi ^Importance:\s*High %1 set ImportHigh=%ERRORLEVEL% if %XPriHigh%==0 goto HighImportance if %XMSPriHigh%==0 goto HighImportance if %ImportHigh%==0 goto HighImportance Rem Defaults to not HighImportance echo file %1 NOT is important mylogfile.txt exit 16 :HighImportance echo file %1 is important mylogfile.txt exit 0 :EOF Note that you are trying to access only one file in this instance of the filter execution. You wont want to access any wildcard files like *.server1. When you are happy with the results, you can take out the echo file ... lines. Xmail provides filenames in the format \\?\filename.txt So if grep does not like these names, you may need to do this after the setlocal: -- set FILE=%1 if %FILE:~0,4%==\\?\ set FILE=%FILE:~4% -- Then use %FILE% instead of each %1 in the GREPs. Also I hope your user's mailproc.tab file looks like this: mailbox[newline] external[tab]0[tab]20[tab]cmd /c d:\xmail\xmail_filters\test.cmd[tab]@@FILE[newline] redirect[tab][EMAIL PROTECTED][newline] Note the [newline]s Rob :-) _ Note To Self: Remember to put something witty here later... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of waauu Sent: Tuesday, January 16, 2007 8:45 AM To: xmail@xmailserver.org Subject: [xmail] Re: Forwarding High Priority emails I have got myself all confused now. I decided that what I should do is just make the server check the emails to see if they are HIGH PRIORITY and if they are then send it to the Blackberry device. I can inform users that if they want a offic user to receive the email on said users blackberry then send the email HIGH PRI. No need to keep a list of people now. I am confused on how to make it work, I am missing one thing somewhere. Here is the batch file to use @echo off setlocal grep -Pqi ^X-Priority:\s*1\s *.server1 set XPriHigh=%ERRORLEVEL% grep -Pqi ^X-MSMail-Priority:\s*High *.server1 set XMSPriHigh=%ERRORLEVEL% grep -Pqi ^Importance:\s*High *.server1 set ImportHigh=%ERRORLEVEL% if %XPriHigh%==0 goto Found if %XMSPriHigh%==0 goto Found if %ImportHigh%==0 goto Found goto EOF :Found NOT SURE WHAT TO PUT HERE, I have had things here and nothing worked. Nothing was right im sure. :EOF My Tab looks like this. mailbox external[tab]0[tab]20[tab]cmd /c d:\xmail\xmail_filters\test.cmd[tab]@@FILE redirect[tab][EMAIL PROTECTED] [newline] It should only redirect if the message is a high pri message. I chose @@file cause I use xmail version 1.21 on windows 2000 server and I felt like it had to look at the file in order to process. I am unsure if I am doing this correct and if I am, what to put in the batch file after it reads the file. Currently, if I send an email to my test user account it redirects to the yahoo account no matter what its priority, so I do not have something right in the batch file I think
[xmail] Re: Forwarding High Priority emails
Wasup, you are missing it altogether. Yes Xmail creates the filenames you listed (the names are a combination of: seconds since 1/1/1970 00:00 DOT ProcessID DOT Hex counter of messages since xmail started DOT server name) Aside from that. You need to think of the path ONE email will take through Xmail. 1. SMTP session starts 2. HELO (or EHLO) smtp command is received 3. MAIL FROM smtp command is received 4. RCPT TO smtp command is received 5. DATA smtp command is received 6. The email, usually MIME encoded is received 7. . (that's a dot on newline) is received 8. SMTP session ends 9. Xmail delivers the email In the case of a local recipient 10. The local user delivery process looks for /domains/mydomain.com/wasup/mailproc.tab 11. If it does not exist, it assumes mailbox directive 12. If it is found it delivers according to the contents 13. In your case: 14. mailbox[newline] 15. external[tab]0[tab]20[tab]cmd /c d:\xmail\xmail_filters\test.cmd[tab]@@FILE[newline] 16. redirect[tab][EMAIL PROTECTED][newline] So, at 4,5,7,8 various filters can be run; these are the in/out/pre-data/post-data/post-rcpt filters. You are using the processing at 13 to control the delivery of a given email as it is delivered. Your premise is that the mail is stored somewhere and your script needs to search through each one to process it. This is an incorrect premise. The reason there is a @@FILE macro is so that the script will know which file (email) to process, so it should be ONE file, not *.Many files. If you were to receive 3 emails at the same time, then you will have 3 CMD process running concurrently, each running the same script but with different @@FILE macro values. Are we clear so far? Ok, so at 14, THIS EMAIL is delivered to the user's mailbox At 15 the external program/script is run. This script determines if the email was high priority and returns errorcode(RC) 0 or 16 to xmail. If the RC was 0, then xmail processes #16. If the RC was 16, then further processing ceases. This is how we get the forward to yahoo.com decision. Are we clear so far? START ---PLEASE USE THIS d:\xmail\xmail_filters\hi-pri.cmd --- @echo off REM Written by Rob Arends REM REM Script to return 16 to Xmail if the email is NOT of high Importance. setlocal set FILE=%1 grep -Pqi ^X-Priority:\s*1\s %FILE% set XPriHigh=%ERRORLEVEL% grep -Pqi ^X-MSMail-Priority:\s*High %FILE% set XMSPriHigh=%ERRORLEVEL% grep -Pqi ^Importance:\s*High %FILE% set ImportHigh=%ERRORLEVEL% if %XPriHigh%==0 goto HighImportance if %XMSPriHigh%==0 goto HighImportance if %ImportHigh%==0 goto HighImportance Rem Defaults to not HighImportance exit 16 :HighImportance exit 0 :EOF END ---PLEASE USE THIS d:\xmail\xmail_filters\hi-pri.cmd --- START ---PLEASE USE THIS mailproc.tab in the user's folder --- mailbox[newline] external[tab]0[tab]20[tab]cmd /c d:\xmail\xmail_filters\hi-pri.cmd[tab]@@FILE[newline] redirect[tab][EMAIL PROTECTED][newline] END ---PLEASE USE THIS mailproc.tab --- --- NOTE THERE ARE ONLY 3 LINES ABOVE--- Soapbox I'm so disappointed I've had to spoon this to you. There has been enough info given prior to now, plus a bit of research on your part and you would have it licked. This list isn't a hand holding group. What ever happened to a little 'trial and error' with your script writing to 'see what happened'? In the early parts of this thread I pointed you to CMD commands help for and help set. (Also see Help / Help if /etc.) With these and xmail's readme doc, you could have learned and solved it as you went. There is a history on this list of help being given graciously when there is apparent contribution from the person asking for help. I suppose that's my gripe, I haven't seen your contribution.!! Now you have a solution and you don't know why or how it works. Hopefully this email does help you understand the process a little. I'm wondering why you're running xmail server if you have seemingly zero point one (0.1) script knowledge and your problem solving skills seem to be non-existent and you want others in this world to solve all your problems for you. ...let's go of hand shudders and comes back to reality /Soapbox Sorry if I seem a little harsh, your solution is a cut/paste away (see above script tab-file). Rob :-) _ Note To Self: Remember to put something witty here later... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of waauu Sent: Tuesday, January 23, 2007 2:02 AM To: xmail@xmailserver.org Subject: [xmail] Re: Forwarding High Priority emails Well maybe you are not understanding me or I am not clear on what to do yet. I dont think I can tell the script to look at any one certain incoming email to see if its important or not. Xmail makes them random names with the computer name as an extension like this. 1157635092733.4380.4965.SERVER1 1157635321426.4380.4967.SERVER1 1157635321549.4380.4968
[xmail] Re: Forwarding High Priority emails
Wasup, I've been away for a few day break. The problem is that you're passing *.server1 to the grep. What is this file?? If you look at your (filter) tab file, you'll see in part: test.cmd @@FILE %0 %1 CMD file access your command line parameters is via the above shown %n variables. So, your test.cmd should look like this: @echo off REM Written by Rob Arends REM REM Script to return 16 to Xmail if the email is NOT of high Importance. setlocal grep -Pqi ^X-Priority:\s*1\s %1 set XPriHigh=%ERRORLEVEL% grep -Pqi ^X-MSMail-Priority:\s*High %1 set XMSPriHigh=%ERRORLEVEL% grep -Pqi ^Importance:\s*High %1 set ImportHigh=%ERRORLEVEL% if %XPriHigh%==0 goto HighImportance if %XMSPriHigh%==0 goto HighImportance if %ImportHigh%==0 goto HighImportance Rem Defaults to not HighImportance echo file %1 NOT is important mylogfile.txt exit 16 :HighImportance echo file %1 is important mylogfile.txt exit 0 :EOF Note that you are trying to access only one file in this instance of the filter execution. You wont want to access any wildcard files like *.server1. When you are happy with the results, you can take out the echo file ... lines. Xmail provides filenames in the format \\?\filename.txt So if grep does not like these names, you may need to do this after the setlocal: -- set FILE=%1 if %FILE:~0,4%==\\?\ set FILE=%FILE:~4% -- Then use %FILE% instead of each %1 in the GREPs. Also I hope your user's mailproc.tab file looks like this: mailbox[newline] external[tab]0[tab]20[tab]cmd /c d:\xmail\xmail_filters\test.cmd[tab]@@FILE[newline] redirect[tab][EMAIL PROTECTED][newline] Note the [newline]s Rob :-) _ Note To Self: Remember to put something witty here later... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of waauu Sent: Tuesday, January 16, 2007 8:45 AM To: xmail@xmailserver.org Subject: [xmail] Re: Forwarding High Priority emails I have got myself all confused now. I decided that what I should do is just make the server check the emails to see if they are HIGH PRIORITY and if they are then send it to the Blackberry device. I can inform users that if they want a offic user to receive the email on said users blackberry then send the email HIGH PRI. No need to keep a list of people now. I am confused on how to make it work, I am missing one thing somewhere. Here is the batch file to use @echo off setlocal grep -Pqi ^X-Priority:\s*1\s *.server1 set XPriHigh=%ERRORLEVEL% grep -Pqi ^X-MSMail-Priority:\s*High *.server1 set XMSPriHigh=%ERRORLEVEL% grep -Pqi ^Importance:\s*High *.server1 set ImportHigh=%ERRORLEVEL% if %XPriHigh%==0 goto Found if %XMSPriHigh%==0 goto Found if %ImportHigh%==0 goto Found goto EOF :Found NOT SURE WHAT TO PUT HERE, I have had things here and nothing worked. Nothing was right im sure. :EOF My Tab looks like this. mailbox external[tab]0[tab]20[tab]cmd /c d:\xmail\xmail_filters\test.cmd[tab]@@FILE redirect[tab][EMAIL PROTECTED] [newline] It should only redirect if the message is a high pri message. I chose @@file cause I use xmail version 1.21 on windows 2000 server and I felt like it had to look at the file in order to process. I am unsure if I am doing this correct and if I am, what to put in the batch file after it reads the file. Currently, if I send an email to my test user account it redirects to the yahoo account no matter what its priority, so I do not have something right in the batch file I think, cause it just proceeding. On 1/8/07, Ivo Smits [EMAIL PROTECTED] wrote: I would check the Importance header first, since it should always be there. The others are optional. I would also immediately check the %ERRORLEVEL% and jump, to save some grep/processing time. I guess I only looked at sample.cmd and skipped sample2.cmd ^_^ Thank you for telling me about %ERRORLEVEL% :P By the way, am I the only one having the problem that mail from my server to hotmail/gmail immediately goes into the Junk folder? I publish (CORRECT!) SPF records. My Reverse address looks dynamic, but it's semi-static =) (I keep it as long as my modem isn't offline for more than a week or so). What's best? Put my (dynamic-looking) reverse address as the HELO domain, or should I use my primary domain name (UFO-Net.nl)? - Original Message - From: Rob Arends [EMAIL PROTECTED] To: xmail@xmailserver.org Sent: Monday, January 08, 2007 1:08 PM Subject: [xmail] Re: Forwarding High Priority emails Ivo, I thought everything that started with X- is an optional/unofficial header. So Importance: High would be an/the official header and should always be It is, but it can't hurt to check the others too. And it may be better to check only the 'match found'/'success' errorlevel, and skip on EVERYTHING else, to prevent strange behaviour due to grep failure... My sample2.cmd script does do
[xmail] Forwarding High Priority caught in spam filter?
I replied with some text to *Forwarding High Priority emails* and the message has not showed up at all. Is it caught in a spam filter? - To unsubscribe from this list: send the line unsubscribe xmail in 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: Forwarding High Priority emails
I have got myself all confused now. I decided that what I should do is just make the server check the emails to see if they are HIGH PRIORITY and if they are then send it to the Blackberry device. I can inform users that if they want a offic user to receive the email on said users blackberry then send the email HIGH PRI. No need to keep a list of people now. I am confused on how to make it work, I am missing one thing somewhere. Here is the batch file to use @echo off setlocal grep -Pqi ^X-Priority:\s*1\s *.server1 set XPriHigh=%ERRORLEVEL% grep -Pqi ^X-MSMail-Priority:\s*High *.server1 set XMSPriHigh=%ERRORLEVEL% grep -Pqi ^Importance:\s*High *.server1 set ImportHigh=%ERRORLEVEL% if %XPriHigh%==0 goto Found if %XMSPriHigh%==0 goto Found if %ImportHigh%==0 goto Found goto EOF :Found NOT SURE WHAT TO PUT HERE, I have had things here and nothing worked. Nothing was right im sure. :EOF My Tab looks like this. mailbox external[tab]0[tab]20[tab]cmd /c d:\xmail\xmail_filters\test.cmd[tab]@@FILE redirect[tab][EMAIL PROTECTED] [newline] It should only redirect if the message is a high pri message. I chose @@file cause I use xmail version 1.21 on windows 2000 server and I felt like it had to look at the file in order to process. I am unsure if I am doing this correct and if I am, what to put in the batch file after it reads the file. Currently, if I send an email to my test user account it redirects to the yahoo account no matter what its priority, so I do not have something right in the batch file I think, cause it just proceeding. On 1/8/07, Ivo Smits [EMAIL PROTECTED] wrote: I would check the Importance header first, since it should always be there. The others are optional. I would also immediately check the %ERRORLEVEL% and jump, to save some grep/processing time. I guess I only looked at sample.cmd and skipped sample2.cmd ^_^ Thank you for telling me about %ERRORLEVEL% :P By the way, am I the only one having the problem that mail from my server to hotmail/gmail immediately goes into the Junk folder? I publish (CORRECT!) SPF records. My Reverse address looks dynamic, but it's semi-static =) (I keep it as long as my modem isn't offline for more than a week or so). What's best? Put my (dynamic-looking) reverse address as the HELO domain, or should I use my primary domain name (UFO-Net.nl)? - Original Message - From: Rob Arends [EMAIL PROTECTED] To: xmail@xmailserver.org Sent: Monday, January 08, 2007 1:08 PM Subject: [xmail] Re: Forwarding High Priority emails Ivo, I thought everything that started with X- is an optional/unofficial header. So Importance: High would be an/the official header and should always be It is, but it can't hurt to check the others too. And it may be better to check only the 'match found'/'success' errorlevel, and skip on EVERYTHING else, to prevent strange behaviour due to grep failure... My sample2.cmd script does do that, in that if errorlevel is NOT 0, then it drops through to goto EOF, effectively making the script only do the 'important' thing if a match. Note GREP.EXE returns 0 on match, 1 on no match and 2 on error - as per grep --help Note the ^ in the Grep line, it is to make sure the line begins with Importance, so it can't be matched in the subject or message body. %ERRORLEVEL% is new to me, I only really used batch files on MS-DOS 6 ;) I agree with the ^ anchor. So I'd use these lines: :: grep -Pqi ^X-Priority:\s*1\s test1.txt :: grep -Pqi ^X-MSMail-Priority:\s*High test1.txt :: grep -Pqi ^Importance:\s*High test1.txt %ERRORLEVEL% is a NT4/2000/2003 CMD thing, as opposed to a DOS/w95/98/me BAT thing. Rob :-) _ Note To Self: Remember to put something witty here later... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ivo Smits Sent: Monday, January 08, 2007 1:13 AM To: xmail@xmailserver.org Subject: [xmail] Re: Forwarding High Priority emails I thought everything that started with X- is an optional/unofficial header. So Importance: High would be an/the official header and should always be there is the client really wants his mail to be delivered at a high priority. And it may be better to check only the 'match found'/'success' errorlevel, and skip on EVERYTHING else, to prevent strange behaviour due to grep failure... --- grep ^Importance: High test2.txt if %ERRORLEVEL%==0 goto Found goto NotFound Found: echo HIGH PRIORITY... deliver to portable device... NotFound: REM Do nothing, just exit --- Note the ^ in the Grep line, it is to make sure the line begins with Importance, so it can't be matched in the subject or message body. %ERRORLEVEL% is new to me, I only really used batch files on MS-DOS 6 ;) Ivo
[xmail] Re: forwarding if only from certain users
It's like this Mailproc.tab is explained in the doco (readme.html) so please start there. What OS are you running? What language will the script be in? There are so many questions you need to answer, but have not. The script you are looking for does not exist. This means it will need to be written from scratch. We are not script writers, although if one exists, often it is shared. Start with a basic script that takes the command line parameters passed from the mailproc.tab and logs them to a file. Then email the user and see that you have what you expected. Note that you can use filter and return code 16 or greater to stop processing. So it is a bit like Outlook's Rules, where you have a stop rule processing directive. I'd expect your mailproc.tab would contain filter[TAB]/myscript[TAB]$(FROM) mailbox Then /myscript would return 16, to stop the local 'mailbox' delivery, but it would first need to handle queuing the email to the gmail account first. So you might drop the re-addressed email into the local spool folder - I'll leave that up to you and the readme. Rob :-) _ Note To Self: Remember to put something witty here later... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of waauu Sent: Saturday, 18 November 2006 12:17 AM To: xmail@xmailserver.org Subject: [xmail] Re: forwarding if only from certain users Can anyone else elaborate or show an example fo what David is talking about? On 11/16/06, Davide Libenzi davidel@xmailserver.org wrote: On Thu, 16 Nov 2006, waauu wrote: I am currently using win32 xmail 1.21 and would like to know how to do something. Here is what I need to do: I need to be able to forward emails that are sent to [EMAIL PROTECTED] to one of his other accounts like [EMAIL PROTECTED] BUT only if the emails that are sent to him come from certain people like: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] etc Any ideas? You need to write a filter and add it to [EMAIL PROTECTED] mailproc.tab - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] forwarding if only from certain users
I am currently using win32 xmail 1.21 and would like to know how to do something. Here is what I need to do: I need to be able to forward emails that are sent to [EMAIL PROTECTED] to one of his other accounts like [EMAIL PROTECTED] BUT only if the emails that are sent to him come from certain people like: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] etc Any ideas? - To unsubscribe from this list: send the line unsubscribe xmail in 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: forwarding if only from certain users
On Thu, 16 Nov 2006, waauu wrote: I am currently using win32 xmail 1.21 and would like to know how to do something. Here is what I need to do: I need to be able to forward emails that are sent to [EMAIL PROTECTED] to one of his other accounts like [EMAIL PROTECTED] BUT only if the emails that are sent to him come from certain people like: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] etc Any ideas? You need to write a filter and add it to [EMAIL PROTECTED] mailproc.tab - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: quota bug in forwarding
At 21.49 17/02/06, you wrote: I have found a situation with XMail where XMail ignores the mailbox = quotas. If there are two mailboxes on the same box and one forwards into the = other, XMail ignores the mailbox quota of the second mailbox when receiving forwards from the first one. From what I've seen on my server, and from what I've read on this list, it seems that XMail only checks mailbox quotas on a RCPT TO command at SMTP time. This means that mailbox quotas are ignored when PSync'ing; when delivering to mailing list members; when delivering from a (l)redirect in mailproc.tab; when LMail'ing; when DSN'ing; possibly in other cases. Ciao, Francesco - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: quota bug in forwarding
On Sat, 18 Feb 2006, Francesco Vertova wrote: I have found a situation with XMail where XMail ignores the mailbox = quotas. If there are two mailboxes on the same box and one forwards into the = other, XMail ignores the mailbox quota of the second mailbox when receiving forwards from the first one. From what I've seen on my server, and from what I've read on this list, it seems that XMail only checks mailbox quotas on a RCPT TO command at SMTP time. This means that mailbox quotas are ignored when PSync'ing; when delivering to mailing list members; when delivering from a (l)redirect in mailproc.tab; when LMail'ing; when DSN'ing; possibly in other cases. Tha is exactly the case and it'd a *real* PITA to fix. With XMail you can build really long and complex delivery chains, and delivery (even local) is not sync but is done by dropping rewritten messages into the queue and have the SMAIL threads to do the job (somehow later in time). - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: quota bug in forwarding
That is what I figured. Would it be possible to implement some quota checks into the SMAIL threads? The current behavior is confusing and frustrating for end users. As an end user, the expectation is to not accept email into a mailbox if the mailbox is over quota regardless of whether or not the mail was forwarded. One possible solution would be to check quotas with SMAIL in addition to SMTP. If SMAIL sees a mailbox is over quota, SMAIL would bounce it to the original sender instead of ignoring the quota. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Davide Libenzi Sent: Saturday, February 18, 2006 11:40 AM To: xmail@xmailserver.org Subject: [xmail] Re: quota bug in forwarding On Sat, 18 Feb 2006, Francesco Vertova wrote: I have found a situation with XMail where XMail ignores the mailbox = quotas. If there are two mailboxes on the same box and one forwards into the = other, XMail ignores the mailbox quota of the second mailbox when receiving forwards from the first one. From what I've seen on my server, and from what I've read on this list, it seems that XMail only checks mailbox quotas on a RCPT TO command at SMTP time. This means that mailbox quotas are ignored when PSync'ing; when delivering to mailing list members; when delivering from a (l)redirect in mailproc.tab; when LMail'ing; when DSN'ing; possibly in other cases. Tha is exactly the case and it'd a *real* PITA to fix. With XMail you can build really long and complex delivery chains, and delivery (even local) is not sync but is done by dropping rewritten messages into the queue and have the SMAIL threads to do the job (somehow later in time). - 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] quota bug in forwarding
I have found a situation with XMail where XMail ignores the mailbox quotas. If there are two mailboxes on the same box and one forwards into the other, XMail ignores the mailbox quota of the second mailbox when receiving forwards from the first one. For example, lets say we have two mailboxes called [EMAIL PROTECTED] and [EMAIL PROTECTED] If these are one the same machine and [EMAIL PROTECTED] forwards to [EMAIL PROTECTED], then messages sent to [EMAIL PROTECTED] will get delivered to [EMAIL PROTECTED] even if [EMAIL PROTECTED] is significantly over its mailbox quota. The expectation is that [EMAIL PROTECTED] will bounce the email when [EMAIL PROTECTED] is over quota. I can see why we would not want [EMAIL PROTECTED] to bounce back to [EMAIL PROTECTED], because that would just generate a loop. I would like to see the email bounce back to the original sender when this situation occurs. - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: quota bug in forwarding
And would you have the bounce say: 550 [EMAIL PROTECTED] Mailbox full Or 550 [EMAIL PROTECTED] Mailbox full My thinking is that it should be [EMAIL PROTECTED] (the original rcpt to), but I can see why you might do otherwise. Does this occur between two users on the same domain? Ie. Is it a problem between users of the same Xmail server, or between domains on the same Xmail server only. Rob :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shiloh Jennings Sent: Saturday, February 18, 2006 7:50 AM To: xmail@xmailserver.org Subject: [xmail] quota bug in forwarding I have found a situation with XMail where XMail ignores the mailbox quotas. If there are two mailboxes on the same box and one forwards into the other, XMail ignores the mailbox quota of the second mailbox when receiving forwards from the first one. For example, lets say we have two mailboxes called [EMAIL PROTECTED] and [EMAIL PROTECTED] If these are one the same machine and [EMAIL PROTECTED] forwards to [EMAIL PROTECTED], then messages sent to [EMAIL PROTECTED] will get delivered to [EMAIL PROTECTED] even if [EMAIL PROTECTED] is significantly over its mailbox quota. The expectation is that [EMAIL PROTECTED] will bounce the email when [EMAIL PROTECTED] is over quota. I can see why we would not want [EMAIL PROTECTED] to bounce back to [EMAIL PROTECTED], because that would just generate a loop. I would like to see the email bounce back to the original sender when this situation occurs. - To unsubscribe from this list: send the line unsubscribe xmail in 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: quota bug in forwarding
The problem occurs when the email forwards from one account to another on the same box. It can be the same domain, but it does not have to be. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Arends Sent: Friday, February 17, 2006 5:36 PM To: xmail@xmailserver.org Subject: [xmail] Re: quota bug in forwarding And would you have the bounce say: 550 [EMAIL PROTECTED] Mailbox full Or 550 [EMAIL PROTECTED] Mailbox full My thinking is that it should be [EMAIL PROTECTED] (the original rcpt to), but I can see why you might do otherwise. Does this occur between two users on the same domain? Ie. Is it a problem between users of the same Xmail server, or between domains on the same Xmail server only. Rob :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shiloh Jennings Sent: Saturday, February 18, 2006 7:50 AM To: xmail@xmailserver.org Subject: [xmail] quota bug in forwarding I have found a situation with XMail where XMail ignores the mailbox quotas. If there are two mailboxes on the same box and one forwards into the other, XMail ignores the mailbox quota of the second mailbox when receiving forwards from the first one. For example, lets say we have two mailboxes called [EMAIL PROTECTED] and [EMAIL PROTECTED] If these are one the same machine and [EMAIL PROTECTED] forwards to [EMAIL PROTECTED], then messages sent to [EMAIL PROTECTED] will get delivered to [EMAIL PROTECTED] even if [EMAIL PROTECTED] is significantly over its mailbox quota. The expectation is that [EMAIL PROTECTED] will bounce the email when [EMAIL PROTECTED] is over quota. I can see why we would not want [EMAIL PROTECTED] to bounce back to [EMAIL PROTECTED], because that would just generate a loop. I would like to see the email bounce back to the original sender when this situation occurs. - To unsubscribe from this list: send the line unsubscribe xmail in 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] forwarding emails
Davide We quite often get a situation when we're asked to forward e-mails to another user my question is What happens when you forward e-mails from user A to user B when user A already has e-mails waiting in their mailbox Hamilton - To unsubscribe from this list: send the line unsubscribe xmail in 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: forwarding emails
Hello Hamilton Davide We quite often get a situation when we're asked to forward e-mails to another user my question is What happens when you forward e-mails from user A to user B when user A already has e-mails waiting in their mailbox Hamilton they will still waiting. You can download the old mails and forward them to user B. Hope it helps. Michael - To unsubscribe from this list: send the line unsubscribe xmail in 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: forwarding emails
On Fri, 25 Jun 2004, Hamilton Thurgood wrote: Davide We quite often get a situation when we're asked to forward e-mails to another user my question is What happens when you forward e-mails from user A to user B when user A already has e-mails waiting in their mailbox They will remain there. You can also redirect+mailbox if you want. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] OT: Port forwarding / redirection
I know this is OT for this list, but it does apply peripherally. Shoot if you must...:) I am using Xmail 1.17 on Windows 2000 Server. It's working just fine (except for a minor bug I introduced when modifying the code - but I'll clean that up when I migrate to 1.18). However, I have some remote users who are on networks that are blocking port 25. Now, I understand the reasons behind port 25 blocking, and I agree with them (for the most part). However, the users in question are reputable, and need to be able to send their mail through my server (rather than through the servers on the networks they are connected to). The simple answer, of course, is to set up a second SMTP listener on the machine, listening on a different port. But I don't want to have to set up a second instance of XMail (with all the attendant configuring and spam issues and whatnot), so I'm looking around to see if anyone knows of a way (either using Windows itself, or some trusted piece of software that won't run the system into the ground) to redirect connections from one port to another. For example, having a remote user connect to port 587 instead of 25, and having that connection redirected to the existing SMTP listener on port 25. I've considered using a proxy server, but I can't find any that are both trustworthy and lightweight enough for me to be comfortable with them. I'm not looking for a secure setup here - anything coming into this port will be treated just as a standard SMTP connection (meaning all the spam filtering and relay blocking of my main server will be in effect). So, SSH tunneling and such things are not really what I'm after (perhaps at some future point, for secure email services, but not now). Oh, and if at all possible, I'd like to avoid things like Cygwin - I've never had good luck with using it... Thanks for any suggestions (even if they amount to go soak your head...:) - To unsubscribe from this list: send the line unsubscribe xmail in 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: OT: Port forwarding / redirection
You realize that XMail can listen on more than one port for SMTP, right? Check out the -SI commandline parameter in the documentation. For example: -SI 192.168.0.1:25 -SI 192.168.0.1:2500 would set XMail to listen to port 25 and 2500 for incoming SMTP connections on 192.168.0.1 - no tunneling software, etc. needed. For the Windows version, you'll need to add this to the XMAIL_CMD_LINE value of the HKEY_LOCAL_MACHINE\SOFTWARE\GNU\XMail\ registry key. We've been using this type of configuration for quite some time to help our remote users who are stuck with Earthlink or other ISPs that block port 25 outgoing. There you go - no muss, no fuss, no Cygwin, no SSL/SSH tunneling... hope that helps! Kirk -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Tracy Sent: Friday, March 26, 2004 1:40 PM To: [EMAIL PROTECTED] Subject: [xmail] OT: Port forwarding / redirection I know this is OT for this list, but it does apply peripherally. Shoot if you must...:) I am using Xmail 1.17 on Windows 2000 Server. It's working just fine (except for a minor bug I introduced when modifying the code - but I'll clean that up when I migrate to 1.18). However, I have some remote users who are on networks that are blocking port 25. Now, I understand the reasons behind port 25 blocking, and I agree with them (for the most part). However, the users in question are reputable, and need to be able to send their mail through my server (rather than through the servers on the networks they are connected to). The simple answer, of course, is to set up a second SMTP listener on the machine, listening on a different port. But I don't want to have to set up a second instance of XMail (with all the attendant configuring and spam issues and whatnot), so I'm looking around to see if anyone knows of a way (either using Windows itself, or some trusted piece of software that won't run the system into the ground) to redirect connections from one port to another. For example, having a remote user connect to port 587 instead of 25, and having that connection redirected to the existing SMTP listener on port 25. I've considered using a proxy server, but I can't find any that are both trustworthy and lightweight enough for me to be comfortable with them. I'm not looking for a secure setup here - anything coming into this port will be treated just as a standard SMTP connection (meaning all the spam filtering and relay blocking of my main server will be in effect). So, SSH tunneling and such things are not really what I'm after (perhaps at some future point, for secure email services, but not now). Oh, and if at all possible, I'd like to avoid things like Cygwin - I've never had good luck with using it... Thanks for any suggestions (even if they amount to go soak your head...:) - To unsubscribe from this list: send the line unsubscribe xmail in 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: OT: Port forwarding / redirection
Actually, no, I didn't realize it could listen on multiple ports...:) That's exactly what I need! Thanks...:) At 14:51 3/26/2004, Kirk Friggstad wrote: You realize that XMail can listen on more than one port for SMTP, right? Check out the -SI commandline parameter in the documentation. For example: -SI 192.168.0.1:25 -SI 192.168.0.1:2500 would set XMail to listen to port 25 and 2500 for incoming SMTP connections on 192.168.0.1 - no tunneling software, etc. needed. For the Windows version, you'll need to add this to the XMAIL_CMD_LINE value of the HKEY_LOCAL_MACHINE\SOFTWARE\GNU\XMail\ registry key. We've been using this type of configuration for quite some time to help our remote users who are stuck with Earthlink or other ISPs that block port 25 outgoing. There you go - no muss, no fuss, no Cygwin, no SSL/SSH tunneling... hope that helps! Kirk -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Tracy Sent: Friday, March 26, 2004 1:40 PM To: [EMAIL PROTECTED] Subject: [xmail] OT: Port forwarding / redirection I know this is OT for this list, but it does apply peripherally. Shoot if you must...:) I am using Xmail 1.17 on Windows 2000 Server. It's working just fine (except for a minor bug I introduced when modifying the code - but I'll clean that up when I migrate to 1.18). However, I have some remote users who are on networks that are blocking port 25. Now, I understand the reasons behind port 25 blocking, and I agree with them (for the most part). However, the users in question are reputable, and need to be able to send their mail through my server (rather than through the servers on the networks they are connected to). The simple answer, of course, is to set up a second SMTP listener on the machine, listening on a different port. But I don't want to have to set up a second instance of XMail (with all the attendant configuring and spam issues and whatnot), so I'm looking around to see if anyone knows of a way (either using Windows itself, or some trusted piece of software that won't run the system into the ground) to redirect connections from one port to another. For example, having a remote user connect to port 587 instead of 25, and having that connection redirected to the existing SMTP listener on port 25. I've considered using a proxy server, but I can't find any that are both trustworthy and lightweight enough for me to be comfortable with them. I'm not looking for a secure setup here - anything coming into this port will be treated just as a standard SMTP connection (meaning all the spam filtering and relay blocking of my main server will be in effect). So, SSH tunneling and such things are not really what I'm after (perhaps at some future point, for secure email services, but not now). Oh, and if at all possible, I'd like to avoid things like Cygwin - I've never had good luck with using it... Thanks for any suggestions (even if they amount to go soak your head...:) - To unsubscribe from this list: send the line unsubscribe xmail in 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: OT: Port forwarding / redirection
At 14:51 3/26/2004, Kirk Friggstad wrote: You realize that XMail can listen on more than one port for SMTP, right? Check out the -SI commandline parameter in the documentation. For example: -SI 192.168.0.1:25 -SI 192.168.0.1:2500 would set XMail to listen to port 25 and 2500 for incoming SMTP connections on 192.168.0.1 - no tunneling software, etc. needed. For the Windows version, you'll need to add this to the XMAIL_CMD_LINE value of the HKEY_LOCAL_MACHINE\SOFTWARE\GNU\XMail\ registry key. We've been using this type of configuration for quite some time to help our remote users who are stuck with Earthlink or other ISPs that block port 25 outgoing. There you go - no muss, no fuss, no Cygwin, no SSL/SSH tunneling... hope that helps! OK, I added the second -SI option on the MAILCMD_LINE registry entry, but I'm having a bit of problem. I currently have: -Pl -Sl 66.219.172.36:25 -SI 66.219.172.36:587 -Ql -Cl -Ll Problem is, with it set this way, it answers on port 587, but *not* on port 25... Is there some other configuration that has to be done in connection with this? If I remove the second -SI entry, it works correctly. (Also, it doesn't matter which order I list them in, as long as the :587 entry is in there, that's the only port it answers on...) - To unsubscribe from this list: send the line unsubscribe xmail in 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: OT: Port forwarding / redirection
On Fri, 26 Mar 2004, Tracy wrote: At 14:51 3/26/2004, Kirk Friggstad wrote: You realize that XMail can listen on more than one port for SMTP, right? Check out the -SI commandline parameter in the documentation. For example: -SI 192.168.0.1:25 -SI 192.168.0.1:2500 would set XMail to listen to port 25 and 2500 for incoming SMTP connections on 192.168.0.1 - no tunneling software, etc. needed. For the Windows version, you'll need to add this to the XMAIL_CMD_LINE value of the HKEY_LOCAL_MACHINE\SOFTWARE\GNU\XMail\ registry key. We've been using this type of configuration for quite some time to help our remote users who are stuck with Earthlink or other ISPs that block port 25 outgoing. There you go - no muss, no fuss, no Cygwin, no SSL/SSH tunneling... hope that helps! OK, I added the second -SI option on the MAILCMD_LINE registry entry, but I'm having a bit of problem. I currently have: -Pl -Sl 66.219.172.36:25 -SI 66.219.172.36:587 -Ql -Cl -Ll ^^^ It's -SI :-) - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: OT: Port forwarding / redirection
At 15:52 3/26/2004, Tracy wrote: OK, I added the second -SI option on the MAILCMD_LINE registry entry, but I'm having a bit of problem. I currently have: -Pl -Sl 66.219.172.36:25 -SI 66.219.172.36:587 -Ql -Cl -Ll Problem is, with it set this way, it answers on port 587, but *not* on port 25... Is there some other configuration that has to be done in connection with this? If I remove the second -SI entry, it works correctly. (Also, it doesn't matter which order I list them in, as long as the :587 entry is in there, that's the only port it answers on...) sigh Nevermiind i... Not L gropes for dunce hat, sits in corner - To unsubscribe from this list: send the line unsubscribe xmail in 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: autoreply and forwarding.
- Set up the user [EMAIL PROTECTED] - Put the follwing line into the users mailproc.tab: redirecttab[EMAIL PROTECTED] (simply use an ascci-text editor for that job) thats it... - achim Am Di, 2004-02-17 um 06.49 schrieb ASPwebServer: Dear Sir/Madam, Thanks for your reply but I cant figure out how to set the mailproc file with the admin server with usersetmproc or usergetmproc commands. (account forwarding and account autoreply) Can anyone give some examples or links to examples. Best Regards, Samir. Developer, StarSys Networks. - Original Message - From: Davide Libenzi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 16, 2004 9:29 PM Subject: [xmail] Re: autoreply and forwarding. On Mon, 16 Feb 2004, ASPwebServer wrote: Dear Sir/Madam, Hi, I would like to know, how to formail emails to external email address. Like [EMAIL PROTECTED] to [EMAIL PROTECTED] And how to set auto reply to a particular email account. Do I need to use filters ? No. The mailproc.tab with a redirect will work just fine. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: autoreply and forwarding.
Dear Sir/Madam, Thanks I already found out how to set the redirect / forward using the admin server. Anyone know how to do the account autoreply without using a filter ??? :-) Best Regards, Samir. Developer, StarSys Networks. - Original Message - From: Achim Schmidt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 17, 2004 3:41 PM Subject: [xmail] Re: autoreply and forwarding. - Set up the user [EMAIL PROTECTED] - Put the follwing line into the users mailproc.tab: redirecttab[EMAIL PROTECTED] (simply use an ascci-text editor for that job) thats it... - achim Am Di, 2004-02-17 um 06.49 schrieb ASPwebServer: Dear Sir/Madam, Thanks for your reply but I cant figure out how to set the mailproc file with the admin server with usersetmproc or usergetmproc commands. (account forwarding and account autoreply) Can anyone give some examples or links to examples. Best Regards, Samir. Developer, StarSys Networks. - Original Message - From: Davide Libenzi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 16, 2004 9:29 PM Subject: [xmail] Re: autoreply and forwarding. On Mon, 16 Feb 2004, ASPwebServer wrote: Dear Sir/Madam, Hi, I would like to know, how to formail emails to external email address. Like [EMAIL PROTECTED] to [EMAIL PROTECTED] And how to set auto reply to a particular email account. Do I need to use filters ? No. The mailproc.tab with a redirect will work just fine. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] autoreply and forwarding.
Dear Sir/Madam, Hi, I would like to know, how to formail emails to external email address. Like [EMAIL PROTECTED] to [EMAIL PROTECTED] And how to set auto reply to a particular email account. Do I need to use filters ? Best Regards, Samir. Developer, StarSys Networks. - To unsubscribe from this list: send the line unsubscribe xmail in 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: autoreply and forwarding.
On Mon, 16 Feb 2004, ASPwebServer wrote: Dear Sir/Madam, Hi, I would like to know, how to formail emails to external email address. Like [EMAIL PROTECTED] to [EMAIL PROTECTED] And how to set auto reply to a particular email account. Do I need to use filters ? No. The mailproc.tab with a redirect will work just fine. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: autoreply and forwarding.
Dear Sir/Madam, Thanks for your reply but I cant figure out how to set the mailproc file with the admin server with usersetmproc or usergetmproc commands. (account forwarding and account autoreply) Can anyone give some examples or links to examples. Best Regards, Samir. Developer, StarSys Networks. - Original Message - From: Davide Libenzi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 16, 2004 9:29 PM Subject: [xmail] Re: autoreply and forwarding. On Mon, 16 Feb 2004, ASPwebServer wrote: Dear Sir/Madam, Hi, I would like to know, how to formail emails to external email address. Like [EMAIL PROTECTED] to [EMAIL PROTECTED] And how to set auto reply to a particular email account. Do I need to use filters ? No. The mailproc.tab with a redirect will work just fine. - 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: FORWARDING STILL RANDOM ON SOLARIS/SPARC W/1.17
testing so far yields no difference with the local option in teh file last i sent myself five emails from an offiste provider, and i only received 3 of the 5 at the redirected mailbox all five of course are in the 'new' directory so i'll do the recompile and advise - [EMAIL PROTECTED]BackPack Software, Inc.www.backpack.com +1 651.645.7550 voice Life is an Adventure. +1 651.645.9798 faxDon't forget your BackPack! - - To unsubscribe from this list: send the line unsubscribe xmail in 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: FORWARDING STILL RANDOM ON SOLARIS/SPARC W/1.17
Can you try this from the XMail machine : $ nslookup -type=mx bpsi.net # nslookup -type=mx bpsi.net Server: ns5.bpsi.net Address: 209.54.246.5 Non-authoritative answer: bpsi.netpreference = 100, mail exchanger = mailhost-2.bpsi.net bpsi.netpreference = 0, mail exchanger = mailhost-1.bpsi.net Authoritative answers can be found from: bpsi.netnameserver = ns0.bpsi.net bpsi.netnameserver = ns1.bpsi.net mailhost-1.bpsi.net internet address = 199.199.134.1 mailhost-2.bpsi.net internet address = 199.199.134.6 ns0.bpsi.netinternet address = 209.54.240.1 notice that it rotates # nslookup -type=mx bpsi.net Server: ns5.bpsi.net Address: 209.54.246.5 Non-authoritative answer: bpsi.netpreference = 0, mail exchanger = mailhost-1.bpsi.net bpsi.netpreference = 100, mail exchanger = mailhost-2.bpsi.net Authoritative answers can be found from: bpsi.netnameserver = ns1.bpsi.net bpsi.netnameserver = ns0.bpsi.net mailhost-1.bpsi.net internet address = 199.199.134.1 mailhost-2.bpsi.net internet address = 199.199.134.6 ns0.bpsi.netinternet address = 209.54.240.1 ~~ so my question is, is XMAIL picking up the lowest preference, or just the first one that comes back? - [EMAIL PROTECTED]BackPack Software, Inc.www.backpack.com +1 651.645.7550 voice Life is an Adventure. +1 651.645.9798 faxDon't forget your BackPack! - - To unsubscribe from this list: send the line unsubscribe xmail in 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: FORWARDING STILL RANDOM ON SOLARIS/SPARC W/1.17
On Mon, 15 Sep 2003, D. Duccini wrote: Can you try this from the XMail machine : $ nslookup -type=mx bpsi.net # nslookup -type=mx bpsi.net Server: ns5.bpsi.net Address: 209.54.246.5 Non-authoritative answer: bpsi.netpreference = 100, mail exchanger = mailhost-2.bpsi.net bpsi.netpreference = 0, mail exchanger = mailhost-1.bpsi.net Authoritative answers can be found from: bpsi.netnameserver = ns0.bpsi.net bpsi.netnameserver = ns1.bpsi.net mailhost-1.bpsi.net internet address = 199.199.134.1 mailhost-2.bpsi.net internet address = 199.199.134.6 ns0.bpsi.netinternet address = 209.54.240.1 notice that it rotates # nslookup -type=mx bpsi.net Server: ns5.bpsi.net Address: 209.54.246.5 Non-authoritative answer: bpsi.netpreference = 0, mail exchanger = mailhost-1.bpsi.net bpsi.netpreference = 100, mail exchanger = mailhost-2.bpsi.net Authoritative answers can be found from: bpsi.netnameserver = ns1.bpsi.net bpsi.netnameserver = ns0.bpsi.net mailhost-1.bpsi.net internet address = 199.199.134.1 mailhost-2.bpsi.net internet address = 199.199.134.6 ns0.bpsi.netinternet address = 209.54.240.1 ~~ so my question is, is XMAIL picking up the lowest preference, or just the first one that comes back? It obviously pick up the lowest. Are you able to send any message (using the XMail machine as relay) to @bpsi.net ? - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: FORWARDING STILL RANDOM ON SOLARIS/SPARC W/1.17
It obviously pick up the lowest. Are you able to send any message (using the XMail machine as relay) to @bpsi.net ? obviously it should. but here's the proof from the log that the system is not redir every message its getting: i grep'd out a username from the smail file yesterday, and then have used cut to pull out the relevant info: I've added -- to the outside to show the incidents # grep username smail-20030915 | cut -f1-2,6 solstice 1063602055280.81588.solstice LOCAL -- solstice 1063602408040.81705.solstice LOCAL -- solstice 1063603598200.82104.solstice LOCAL solstice 1063603598200.82104.solstice REDIR solstice 1063604301141.82295.solstice LOCAL solstice 1063604301141.82295.solstice REDIR solstice 1063604507260.82364.solstice LOCAL -- solstice 1063612932210.84940.solstice LOCAL solstice 1063612932210.84940.solstice REDIR solstice 1063614017860.85279.solstice LOCAL -- solstice 1063618235100.86587.solstice LOCAL solstice 1063618235100.86587.solstice REDIR solstice 1063621324280.87487.solstice LOCAL -- solstice 1063623589220.88184.solstice LOCAL solstice 1063623589220.88184.solstice REDIR solstice 1063624181630.88377.solstice LOCAL solstice 1063624181630.88377.solstice REDIR solstice 1063625027540.88646.solstice LOCAL -- solstice 1063625893660.88924.solstice LOCAL solstice 1063625893660.88924.solstice REDIR solstice 1063626827620.89232.solstice LOCAL -- solstice 1063629432830.90105.solstice LOCAL solstice 1063629432830.90105.solstice REDIR solstice 1063629482690.90110.solstice LOCAL solstice 1063629482690.90110.solstice REDIR solstice 1063630656280.90561.solstice LOCAL solstice 1063630656280.90561.solstice REDIR solstice 1063631453910.90865.solstice LOCAL -- solstice 1063631877990.91045.solstice LOCAL solstice 1063631877990.91045.solstice REDIR solstice 1063637579990.93478.solstice LOCAL -- solstice 1063639550540.94392.solstice LOCAL solstice 1063639550540.94392.solstice REDIR solstice 1063639606750.94433.solstice LOCAL -- solstice 1063640323310.94791.solstice LOCAL -- solstice 1063643208480.96339.solstice LOCAL -- solstice 1063645827710.97695.solstice LOCAL -- solstice 1063646383200.98066.solstice LOCAL -- solstice 1063646456221.98138.solstice LOCAL solstice 1063646456221.98138.solstice REDIR solstice 1063646526320.98183.solstice LOCAL solstice 1063646526320.98183.solstice REDIR solstice 1063648603970.99294.solstice LOCAL -- solstice 1063649424040.99796.solstice LOCAL -- solstice 1063649673090.99932.solstice LOCAL -- solstice 1063651004861.100671.solstice LOCAL -- solstice 1063651882920.101133.solstice LOCAL -- solstice 1063653149430.101799.solstice LOCAL -- solstice 1063653740290.102165.solstice LOCAL solstice 1063653740290.102165.solstice REDIR solstice 1063654388080.102577.solstice LOCAL -- solstice 1063655037990.102951.solstice LOCAL solstice 1063655037990.102951.solstice REDIR solstice 1063656766620.103966.solstice LOCAL -- solstice 1063657365390.104330.solstice LOCAL solstice 1063657365390.104330.solstice REDIR solstice 1063657562410.104423.solstice LOCAL solstice 1063657562410.104423.solstice REDIR solstice 1063661059310.106412.solstice LOCAL solstice 1063661059310.106412.solstice REDIR solstice 1063661337430.106557.solstice LOCAL solstice 1063661337430.106557.solstice REDIR solstice 1063661337870.9.solstice SMTP solstice 1063664986700.108441.solstice LOCAL solstice 1063664986700.108441.solstice REDIR solstice 1063666114640.108963.solstice LOCAL solstice 1063666114640.108963.solstice REDIR solstice 1063666410950.109085.solstice LOCAL solstice 1063666410950.109085.solstice REDIR solstice 106346180.109200.solstice LOCAL solstice 106346180.109200.solstice REDIR solstice 106380460.109209.solstice LOCAL solstice 106380460.109209.solstice REDIR solstice 1063667166600.109403.solstice LOCAL solstice 1063667166600.109403.solstice REDIR solstice 1063668242460.109838.solstice LOCAL-- solstice 1063669667160.110394.solstice LOCAL-- solstice 1063670131100.110561.solstice LOCAL-- solstice 1063670355490.110660.solstice LOCAL solstice 1063670355490.110660.solstice REDIR solstice 1063670391460.110694.solstice LOCAL solstice 1063670391460.110694.solstice REDIR solstice 1063670671740.110804.solstice LOCAL-- solstice 1063670837090.110857.solstice LOCAL-- solstice 1063672044610.111317.solstice LOCAL solstice 1063672044610.111317.solstice REDIR solstice 1063673050140.111706.solstice LOCAL solstice 1063673050140.111706.solstice REDIR solstice
[xmail] Re: FORWARDING STILL RANDOM ON SOLARIS/SPARC W/1.17
I think I had this problem way back a few versions and figured out that with mailbox as the last entry in the mailproc it solved the problem. Ever since then I've always put it last and never seen the problem again. Try that and see if it fixes your problem. Bill -- From: D. Duccini[SMTP:[EMAIL PROTECTED] Sent: Monday, September 15, 2003 10:15 AM To:[EMAIL PROTECTED] Subject: [xmail] FORWARDING STILL RANDOM ON SOLARIS/SPARC W/1.17 Davide- We're still seeing the situation where mail does not get redirected to the remote host -- randomly! We currently have the mailproc.tab file setup as mailbox redirect [EMAIL PROTECTED] I should note that [EMAIL PROTECTED] is another machine hosted on our network, so i know that its up and available Also, a copy ALWAYS makes it into the inbox, so i know that part is working. This is how we know redirect ins't working reliably. What can we enable debug wise to track this down? -David - [EMAIL PROTECTED]BackPack Software, Inc.www.backpack.com +1 651.645.7550 voice Life is an Adventure. +1 651.645.9798 faxDon't forget your BackPack! - - To unsubscribe from this list: send the line unsubscribe xmail in 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: FORWARDING STILL RANDOM ON SOLARIS/SPARC W/1.17
On Tue, 16 Sep 2003, Bill Healy wrote: I think I had this problem way back a few versions and figured out that with mailbox as the last entry in the mailproc it solved the problem. Ever since then I've always put it last and never seen the problem again. Try that and see if it fixes your problem. Guys, if this is true, this is a bug and should be reported. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: FORWARDING STILL RANDOM ON SOLARIS/SPARC W/1.17
Sorry Davide, I think at the time I was just thinking I missed something in the docs and once the mail was delivered to the mailbox it wasn't available for anything else. I know, not a good reason, but it was a late night fix and I forgot all about it. Just remembered to keep putting it at the end and not why, until reminded by this message. Bill -- From: Davide Libenzi[SMTP:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 4:56 PM To:'[EMAIL PROTECTED]' Subject: [xmail] Re: FORWARDING STILL RANDOM ON SOLARIS/SPARC W/1.17 On Tue, 16 Sep 2003, Bill Healy wrote: I think I had this problem way back a few versions and figured out that with mailbox as the last entry in the mailproc it solved the problem. Ever since then I've always put it last and never seen the problem again. Try that and see if it fixes your problem. Guys, if this is true, this is a bug and should be reported. - 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: FORWARDING STILL RANDOM ON SOLARIS/SPARC W/1.17
i'm going to try this overnight, and will report in the morning if it doesn't make an appreciable difference, i'll take the patch Davide sent out earlier and apply it and report back on what syslog traps. -d Sorry Davide, I think at the time I was just thinking I missed something in the docs and once the mail was delivered to the mailbox it wasn't available for anything else. I know, not a good reason, but it was a late night fix and I forgot all about it. Just remembered to keep putting it at the end and not why, until reminded by this message. Bill -- From:Davide Libenzi[SMTP:[EMAIL PROTECTED] Sent:Tuesday, September 16, 2003 4:56 PM To: '[EMAIL PROTECTED]' Subject: [xmail] Re: FORWARDING STILL RANDOM ON SOLARIS/SPARC W/1.17 On Tue, 16 Sep 2003, Bill Healy wrote: I think I had this problem way back a few versions and figured out that with mailbox as the last entry in the mailproc it solved the problem. Ever since then I've always put it last and never seen the problem again. Try that and see if it fixes your problem. Guys, if this is true, this is a bug and should be reported. - 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] - [EMAIL PROTECTED]BackPack Software, Inc.www.backpack.com +1 651.645.7550 voice Life is an Adventure. +1 651.645.9798 faxDon't forget your BackPack! - - To unsubscribe from this list: send the line unsubscribe xmail in 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: FORWARDING STILL RANDOM ON SOLARIS/SPARC W/1.17
On Mon, 15 Sep 2003, D. Duccini wrote: Davide- We're still seeing the situation where mail does not get redirected to the remote host -- randomly! We currently have the mailproc.tab file setup as mailbox redirect [EMAIL PROTECTED] I should note that [EMAIL PROTECTED] is another machine hosted on our network, so i know that its up and available Also, a copy ALWAYS makes it into the inbox, so i know that part is working. This is how we know redirect ins't working reliably. What can we enable debug wise to track this down? It's very likely a DNS problem. Lookat slog files inside the spool. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: FORWARDING STILL RANDOM ON SOLARIS/SPARC W/1.17
It's very likely a DNS problem. Lookat slog files inside the spool. there is absolutely no trace of the messages in question in any slog dir when you say a DNS problem, what would likely be the cause of it working sometimes, but not others? is it not resolving mailhost info from MX records? is there a DNS cache (within xmail) that may have bad info? - To unsubscribe from this list: send the line unsubscribe xmail in 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: FORWARDING STILL RANDOM ON SOLARIS/SPARC W/1.17
On Mon, 15 Sep 2003, D. Duccini wrote: It's very likely a DNS problem. Lookat slog files inside the spool. there is absolutely no trace of the messages in question in any slog dir when you say a DNS problem, what would likely be the cause of it working sometimes, but not others? is it not resolving mailhost info from MX records? is there a DNS cache (within xmail) that may have bad info? When you send to [EMAIL PROTECTED] XMail tries to get MX records for domain starting from root (.), if SmartDNSHost if not set. If this fails, then it tries to resolve domain. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: FORWARDING STILL RANDOM ON SOLARIS/SPARC W/1.17
is it not resolving mailhost info from MX records? is there a DNS cache (within xmail) that may have bad info? When you send to [EMAIL PROTECTED] XMail tries to get MX records for domain starting from root (.), if SmartDNSHost if not set. If this fails, then it tries to resolve domain. our xmailserver sits on the same lan as the other host in question. xmailserver handles all @backpack.net email, and for some accounts will forward to @bpsi.net which is a normal sendmail server. the redirect does not always work. i've found in some of the slog files perfectly valid examples where the remote sender domain doesn't exist, ie: ErrCode = -81 SMTP-Error = 553 5.1.8 [EMAIL PROTECTED]...Domain of sender address [EMAIL PROTECTED] does not exist but i find no other slog files for mail that does exist in 'new', but doesn't get forwarded to the other host - [EMAIL PROTECTED]BackPack Software, Inc.www.backpack.com +1 651.645.7550 voice Life is an Adventure. +1 651.645.9798 faxDon't forget your BackPack! - - To unsubscribe from this list: send the line unsubscribe xmail in 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: FORWARDING STILL RANDOM ON SOLARIS/SPARC W/1.17
On Mon, 15 Sep 2003, D. Duccini wrote: is it not resolving mailhost info from MX records? is there a DNS cache (within xmail) that may have bad info? When you send to [EMAIL PROTECTED] XMail tries to get MX records for domain starting from root (.), if SmartDNSHost if not set. If this fails, then it tries to resolve domain. our xmailserver sits on the same lan as the other host in question. xmailserver handles all @backpack.net email, and for some accounts will forward to @bpsi.net which is a normal sendmail server. the redirect does not always work. i've found in some of the slog files perfectly valid examples where the remote sender domain doesn't exist, ie: ErrCode = -81 SMTP-Error = 553 5.1.8 [EMAIL PROTECTED]...Domain of sender address [EMAIL PROTECTED] does not exist but i find no other slog files for mail that does exist in 'new', but doesn't get forwarded to the other host Can you try this from the XMail machine : $ nslookup -type=mx bpsi.net - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] forwarding mail with custom domains
Is there a way to set up xmail for for a particular domain, all accounts accept those defined in xmail are forwarded to an internal mail system. Also does email going to a custom domain still go through the filters? - To unsubscribe from this list: send the line unsubscribe xmail in 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: Domain forwarding
I suspect you could do it with filters.in.tab and a batch script to = rewrite the header. David -Original Message- From: Alex Young [mailto:[EMAIL PROTECTED] Sent: 20 August 2003 16:04 To: [EMAIL PROTECTED] Subject: [xmail] Domain forwarding =20 =20 =20 Hi, I have a problem and couldn't find a way around it. I=20 have looked in the docs and spent time experimenting to see if I can get it to work. =20 I have a customer who wants his domain to forward to another=20 address. He needs to keep the user intact. Usually this would be simple=20 by creating the domain as a custom domain and adding: redirectsomedomain.co.uk =20 Problem is they want it to redirect to [EMAIL PROTECTED] =20 I tried to use: redirect[EMAIL PROTECTED] redirect[EMAIL PROTECTED] redirect[EMAIL PROTECTED] =20 And none of them worked. What they want is if you send to [EMAIL PROTECTED] it should forward to [EMAIL PROTECTED] =20 Is there any way I can do this with Xmail? =20 The alternative is going through and adding each individual=20 user which will take all day. =20 Thanks for any help, Alex =20 - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] =20 =20 __ __ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk __ __ =20 This=20e-mail=20has=20been=20scanned=20for=20all=20viruses=20by=20Star=20I= nternet.=20The service=20is=20powered=20by=20MessageLabs.=20For=20more=20information=20on= =20a=20proactive anti-virus=20service=20working=20around=20the=20clock,=20around=20the=20gl= obe,=20visit: http://www.star.net.uk - To unsubscribe from this list: send the line unsubscribe xmail in 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: Domain forwarding
On Wed, 20 Aug 2003, Alex Young wrote: Hi, I have a problem and couldn't find a way around it. I have looked in the docs and spent time experimenting to see if I can get it to work. I have a customer who wants his domain to forward to another address. He needs to keep the user intact. Usually this would be simple by creating the domain as a custom domain and adding: redirectsomedomain.co.uk Problem is they want it to redirect to [EMAIL PROTECTED] I tried to use: redirect[EMAIL PROTECTED] redirect[EMAIL PROTECTED] redirect[EMAIL PROTECTED] And none of them worked. What they want is if you send to [EMAIL PROTECTED] it should forward to [EMAIL PROTECTED] Is there any way I can do this with Xmail? The alternative is going through and adding each individual user which will take all day. If you have a list of user on a file making a script that creates the necessary files might take 15 minutes. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Domain forwarding
I'd definitely go with an filters.out.tab that replaced [EMAIL PROTECTED] with [EMAIL PROTECTED] You would need to allow relay to the domain2.com though. If you were to add the users by batch file (as per Davide's suggestion), then what happens when a new user is created in domain2.com, an administrative nightmare!! Rob: :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of David Stebbings Sent: Thursday, August 21, 2003 2:27 AM To: [EMAIL PROTECTED] Subject: [xmail] Re: Domain forwarding I suspect you could do it with filters.in.tab and a batch script to = rewrite the header. David -Original Message- From: Alex Young [mailto:[EMAIL PROTECTED] Sent: 20 August 2003 16:04 To: [EMAIL PROTECTED] Subject: [xmail] Domain forwarding =20 =20 =20 Hi, I have a problem and couldn't find a way around it. I=20 have looked in the docs and spent time experimenting to see if I can get it to work. =20 I have a customer who wants his domain to forward to another=20 address. He needs to keep the user intact. Usually this would be simple=20 by creating the domain as a custom domain and adding: redirect somedomain.co.uk =20 Problem is they want it to redirect to [EMAIL PROTECTED] =20 I tried to use: redirect [EMAIL PROTECTED] redirect [EMAIL PROTECTED] redirect [EMAIL PROTECTED] =20 And none of them worked. What they want is if you send to [EMAIL PROTECTED] it should forward to [EMAIL PROTECTED] =20 Is there any way I can do this with Xmail? =20 The alternative is going through and adding each individual=20 user which will take all day. =20 Thanks for any help, Alex =20 - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] =20 =20 __ __ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk __ __ =20 This=20e-mail=20has=20been=20scanned=20for=20all=20viruses=20by=20 Star=20I= nternet.=20The service=20is=20powered=20by=20MessageLabs.=20For=20more=20informat ion=20on= =20a=20proactive anti-virus=20service=20working=20around=20the=20clock,=20around=20 the=20gl= obe,=20visit: http://www.star.net.uk - To unsubscribe from this list: send the line unsubscribe xmail in 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 forwarding
use a mailproc.tab with redirect and mailbox commands. Bill -- From: Liam MacKenzie[SMTP:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 5:36 PM To:[EMAIL PROTECTED] Subject: [xmail] Mail forwarding Hi all, I have xmail 1.15 running on linux. I have a customer who wants emails sent to a particular address automatically copied to her inbox. She wants to monitor mail that one of her staff is receiving without the staff member knowing. Is this possible in xmail? I read the docs but couldn't find anything. Thanks Liam MacKenzie Global Z-Data 165 Melbourne Street South Brisbane QLD 4069 Mobile: 0403 615 103 Phone: 3846 4222 Fax:3846 0953 - To unsubscribe from this list: send the line unsubscribe xmail in 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] Mail forwarding
Hi all, I have xmail 1.15 running on linux. I have a customer who wants emails sent to a particular address automatically copied to her inbox. She wants to monitor mail that one of her staff is receiving without the staff member knowing. Is this possible in xmail? I read the docs but couldn't find anything. Thanks Liam MacKenzie Global Z-Data 165 Melbourne Street South Brisbane QLD 4069 Mobile: 0403 615 103 Phone: 3846 4222 Fax:3846 0953 - To unsubscribe from this list: send the line unsubscribe xmail in 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 forwarding
On Fri, 11 Jul 2003, Liam MacKenzie wrote: Hi all, I have xmail 1.15 running on linux. I have a customer who wants emails sent to a particular address automatically copied to her inbox. She wants to monitor mail that one of her staff is receiving without the staff member knowing. Is this possible in xmail? I read the docs but couldn't find anything. Search for mailproc.tab ... - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] AW: Re: Mail forwarding
As Soenke answered in the threat [xmail] Re: redirect emails: yes in the domains/domain/user/mailproc.tab add redirecttabuser2 mailbox and be happy ;-) bye Michael -Urspr=FCngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] = Im Auftrag von Liam MacKenzie Gesendet: Freitag, 11. Juli 2003 03:12 An: [EMAIL PROTECTED] Betreff: [xmail] Re: Mail forwarding Thanks I'm having trouble figuring this out. Could you point me in the right direction please? Thanks heaps! Liam MacKenzie Global Z-Data 165 Melbourne Street South Brisbane QLD 4069 Mobile: 0403 615 103 Phone: 3846 4222 Fax:3846 0953 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Davide Libenzi Sent: Friday, 11 July 2003 10:32 AM To: XMail mailing list Subject: [xmail] Re: Mail forwarding On Fri, 11 Jul 2003, Liam MacKenzie wrote: Hi all, I have xmail 1.15 running on linux. I have a customer who wants emails sent to a particular address=20 automatically copied to her inbox. She wants to monitor mail that one of her staff is receiving without the staff member knowing. Is this possible in xmail? I read the docs but couldn't find anything. Search for mailproc.tab ... - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED] - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Forwarding Delivered E-Mail?
To all, Not sure if this has been covered recently (and for some reason I can't get the newsgroup on Saltstorm to work for me). If email has already been delivered to a user's mailbox, is there a way (and how would this be done) to forward that email on to an outside account? Basically, email was supposed to be forwarded for one of our accounts but the redirect command was mistyped, and so it ended up in the user's box. I assume there must be some way I can get this email forwarded. I don't mind if I have to do it piece by piece, but I'd prefer if I didn't have to do it through a mail user agent, however. Thanks in advance for any help, Toby -- Toby Reiter mailto:[EMAIL PROTECTED] Breezing Internet Communications http://www.breezing.com 1106 West Main Stphone:434.295.2050 Charlottesville, VA 22903fax:603.843.6931 - To unsubscribe from this list: send the line unsubscribe xmail in 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 Forwarding in xmail
On Tue, 8 Apr 2003, Saleem Burhani Baloch wrote: Yes , I have set pop3link.tab, which is downloading all of the mails from [EMAIL PROTECTED] for every 120 Seconds in my local mail user allmail's account Now How can I distribute/forward/redirect them to user_a , user_b user_c account ?? Again, did you read the doc ? The answer is there. - Davide - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] mailbox forwarding
I made a mistake when setting up some accounts recently. I forgot to set them to forward email. They currently have a load of email for them in their mail box. Is there any way I can get the messages sitting in the mail box to forward once I set up the forwarding info? Thanks, Alex - To unsubscribe from this list: send the line unsubscribe xmail in 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] how to set mail forwarding?
Hi, I need to set an alias so that [EMAIL PROTECTED] goes to an external address, say [EMAIL PROTECTED] If I put the following entry in aliases.tab, the xmail server doesn't seem to accept the mail and forward it: mydomain.combogus[EMAIL PROTECTED] Any suggestions? Thanks. Giang - To unsubscribe from this list: send the line unsubscribe xmail in 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: how to set mail forwarding?
You can't use aliases to redirect to non local addresses. You need to create the bogus user as a normal local user and then use the mailproc.tab with redirecttab[EMAIL PROTECTED] Bill -- From: Giang Lam[SMTP:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 1:02 PM To:[EMAIL PROTECTED] Subject: [xmail] how to set mail forwarding? Hi, I need to set an alias so that [EMAIL PROTECTED] goes to an external address, say [EMAIL PROTECTED] If I put the following entry in aliases.tab, the xmail server doesn't seem to accept the mail and forward it: mydomain.combogus[EMAIL PROTECTED] Any suggestions? Thanks. Giang - To unsubscribe from this list: send the line unsubscribe xmail in 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: Best way to auto-generate forwarding addresses?
More on this subject: It seems that there are two ways to do this: 1. Generate a user for each forward address requested and create a mailproc.tab there, or 2. Generate a mailing-list user and make the only member the address I should forward to. I checked out aliases but that's not what they're meant for (Too bad..). Which of these options should I choose? Davide, which option would consume less resources from the server to proccess? If there is a simpler way, do tell, of course! :) Liron Newman wrote: Hello everyone, I'd like your advice about what would be the best way to add forwarding e-mail addresses automatically.. I want to create a CGI that would allow a user to enter his real e-mail and the e-mail he wants under my domain, and then the forwarding will be auto-generated under XMail. Any advice? I guessed I would just spawn ctrlclnt, but if you have better ideas.. - To unsubscribe from this list: send the line unsubscribe xmail in 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: Best way to auto-generate forwarding addresses?
Davide Libenzi wrote: On Sat, 8 Feb 2003, Liron Newman wrote: Hello everyone, I'd like your advice about what would be the best way to add forwarding e-mail addresses automatically.. I want to create a CGI that would allow a user to enter his real e-mail and the e-mail he wants under my domain, and then the forwarding will be auto-generated under XMail. Any advice? I guessed I would just spawn ctrlclnt, but if you have better ideas.. I'd say cmdaliases ... Can cmdaliases be combined with filters? i.e. can I run a filter on the messages before I pass them on? - To unsubscribe from this list: send the line unsubscribe xmail in 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: Best way to auto-generate forwarding addresses?
Just tested it and it seems to work wonderfully! Thanks Davide! Davide Libenzi wrote: On Sun, 9 Feb 2003, Liron Newman wrote: Can cmdaliases be combined with filters? i.e. can I run a filter on the messages before I pass them on? Yep. - 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: mail sorting-forwarding
Hello List, A good week to you all (greek expression :-) OK ! After sitting in my house (horrible weather) and watching the first 8 episodes of X-files on DvD (!:-), I think I have a clear mind (or do I ?? :-) I was thinking (wow !) during the weekend what could be the problem with xmail (or better what I am missing on xmail) and mail relaying/forwarding from the inside to the outside and vice versa. Well, it's pretty simple really. The xmail box _must_ be able to talk to the ISPs' mailbox once someone has initiated transmission of a message; whether that be a person from the inside network (lan) or someone sending e-mail from the real world. Now, as far as I know, I haven't informed the xmail box of any external mailers ? Shouldn't I ? I am writing this e-mail in reference to Davides' message : The sections I've checked are : pop3links.tab and smtpgw.tab pop3links.tab + a catch all alias ... - Davide Now, from what I understand Davide, when you say catch all alias, means that Xmail must be able to get any external message for that domain irrespectively of the recepient name. Is that right ? Am I on the right track ? I know it must be something really simple and silly :-) Thanks people, s. - I merely function as a channel that filters music through the chaos of noise - Vangelis _ Chat with friends online, try MSN Messenger: http://messenger.msn.com - To unsubscribe from this list: send the line unsubscribe xmail in 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] mail sorting-forwarding
Hello again list, Ok chaps, in order not to do anything silly down here I do need your help : Here is the situation : Non registered domain with one (1) static ip looking to the real world and one (1) e-mail account doing all the external mailing. The account being [EMAIL PROTECTED] and an alias (from the ISP side) of [EMAIL PROTECTED] Now, here's the tricky part : the proper name of the e-mail recepient down here is : [EMAIL PROTECTED] but people inside can also receive mail from the real word at : [EMAIL PROTECTED] (as I stated above...) Say someone is creative and wants to send a mail at : [EMAIL PROTECTED], the mail _WILL_ arrive at any node inside the LAN that first checks for external e-mail. My big question is this : Is there any way with xmail to _SORT OUT_ the mail coming from the real world by setting up some kind of mail aliases inside ? Just point me to the right direction in the documentation. I know these questions for you chaps are elemental, but as I stated before I am a newbie. The truth is I did check the docs, but haven't seen any examples that match my situation. The sections I've checked are : pop3links.tab and smtpgw.tab Don't know if they are relevant, but that's what I checked. I would think it would be wise to add that, at the moment, the internal mail is being handled by an ancient 2.0.34 box running sendmail. I am just trying to make this work to do the final swap-over. Any help would be greatly appreciated, TIA, spyros - I merely function as a channel that filters music through the chaos of noise - Vangelis _ Chat with friends online, try MSN Messenger: http://messenger.msn.com - To unsubscribe from this list: send the line unsubscribe xmail in 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] Forwarding SPAM
I place the IPs of know spammers in my spammers.tab and the email/domains in spam-address.tab Rather than have Xmail just delete or refuse these emails, I would like to automatically forward them to an email Account for review or forward them to SpamCop for reporting. I don't see a way to do this at all. Maybe this is a good Feature that could be added to Xmail. Something in the server.tab like spamforward [EMAIL PROTECTED] I know this could be done via a filter, but that means I'd have to be able to know the IP that is actually relaying the email to compare with IPs in the spammers.tab. I don't believe Xmail saves this information in the headers. Rich... - To unsubscribe from this list: send the line unsubscribe xmail in 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] forwarding
I can see how to forward an entire domain to another domain, but how can I send a copy of every mail that arrives in an individual users e-mail account to another e-mail account? --- William Dunning Envision, Inc. 30600 Telegraph Road Suite 1160 Bingham Farms, MI 48025 800-841-4044 Voice 888-301-4044 FAX www.envision-inc.com - To unsubscribe from this list: send the line unsubscribe xmail in 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: Email forwarding
I've been using Xmail 1.3 on linux for about 3 weeks now and I'm very impressed. I have a question regarding an easy setup. I am hosting a domain that has one address ([EMAIL PROTECTED]) and all inbound email to that address needs to be forwarded to the person's AOL account. Adding the domain, and an entry into the aliases.tab file and stopping and starting Xmail doesn't seem to do it. I get a RCPT=EAVAIL in the smtp logs. What am I doing wrong? don't know, but please use CTRL protocol!!! that avoids many errors! (and xmail doesn't have to be restarted) useraddhisdomain.comjimpasswordU usersetmprochisdomain.comjim redirect[EMAIL PROTECTED] .. aliasaddhisdomain.com*jim thats it. - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
[xmail] Re: Email forwarding
I tried it and I got everywhere an OK reponse. Still it doesn't work. What actually does the redirect command (where does it write in files) Maarten -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Sönke Ruempler Sent: donderdag 24 januari 2002 13:11 To: [EMAIL PROTECTED] Subject: [xmail] Re: Email forwarding I've been using Xmail 1.3 on linux for about 3 weeks now and I'm very impressed. I have a question regarding an easy setup. I am hosting a domain that has one address ([EMAIL PROTECTED]) and all inbound email to that address needs to be forwarded to the person's AOL account. Adding the domain, and an entry into the aliases.tab file and stopping and starting Xmail doesn't seem to do it. I get a RCPT=EAVAIL in the smtp logs. What am I doing wrong? don't know, but please use CTRL protocol!!! that avoids many errors! (and xmail doesn't have to be restarted) useraddhisdomain.comjimpasswordU usersetmprochisdomain.comjim redirect[EMAIL PROTECTED] ... aliasaddhisdomain.com*jim thats 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]
[xmail] Re: Email forwarding
OK, I didn't originally execute the 'usersetmproc' or 'redirect' commands. Looking back at the HTML doc, I don't really see how this is obvious. Is there a HOWTO doc or example mailproc files out there somewhere? New Question: What's the difference between a 'domain' and 'custdomain'? Thanks. -Don -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sönke Ruempler Sent: Thursday, January 24, 2002 6:11 AM To: [EMAIL PROTECTED] Subject: [xmail] Re: Email forwarding I've been using Xmail 1.3 on linux for about 3 weeks now and I'm very impressed. I have a question regarding an easy setup. I am hosting a domain that has one address ([EMAIL PROTECTED]) and all inbound email to that address needs to be forwarded to the person's AOL account. Adding the domain, and an entry into the aliases.tab file and stopping and starting Xmail doesn't seem to do it. I get a RCPT=EAVAIL in the smtp logs. What am I doing wrong? don't know, but please use CTRL protocol!!! that avoids many errors! (and xmail doesn't have to be restarted) useraddhisdomain.comjimpasswordU usersetmprochisdomain.comjim redirect[EMAIL PROTECTED] ... aliasaddhisdomain.com*jim thats 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]
[xmail] Email forwarding
I've been using Xmail 1.3 on linux for about 3 weeks now and I'm very impressed. I have a question regarding an easy setup. I am hosting a domain that has one address ([EMAIL PROTECTED]) and all inbound email to that address needs to be forwarded to the person's AOL account. Adding the domain, and an entry into the aliases.tab file and stopping and starting Xmail doesn't seem to do it. I get a RCPT=EAVAIL in the smtp logs. What am I doing wrong? Thanks in advance. -Don - To unsubscribe from this list: send the line unsubscribe xmail in 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: Email forwarding, smtp server backup
| We have 2 mail servers, one on MX 5 with XMail, the second MX 10 on | NTMail. We would like to have 2 XMail servers in front, but how | to accept mail for one domain on MX 10 and forward it ended on MX 5 | without creating the corresponding account mailboxes ? | | More we don't want to relay anyone outside the domain, except if for | the final domain on MX 5. I am using the custdomains with directive SMTPRELAY. -- Altair - To unsubscribe from this list: send the line unsubscribe xmail in the body of a message to [EMAIL PROTECTED] For general help: send the line help in the body of a message to [EMAIL PROTECTED]
Forwarding
Hello, Well, after all this thread, and telling me that I'm doing wrong things ;-) it seems that simple forwarding to an external domain account isn't possible with XMail, or you need to change the U account to M (thx to Mr.Olivier). What about, as I seen in a previous mail server, creating in the user account folder a file called forward.tab that will have this form: redirect@domain Job I don't put tab this time, but between 2 , but you have it grin ! :-) Job would be for example: D = delete message after forwarding K = keep message in mailbox after forwarding Thank you for your consideration.
Mail forwarding ?
Hello, I don't know if I've done the right procedure, but I cannot get it working. I stopped before Xmail. I've created an alias in aliased.tab like: t-online-frtabdosomaxtab[EMAIL PROTECTED] Then restarting XMail. I would like that all mails that comes for [EMAIL PROTECTED] to be redirected to [EMAIL PROTECTED], but I can't get them to be forwarded. Where can be the problem ? Thank you. AW