Tim McGarvey | 1 Apr 09:23 2006

Re: SMTP Failing on Gentoo Server


-----Original Message-----
From: xmail-bounce <at> xmailserver.org [mailto:xmail-bounce <at> xmailserver.org] On
Behalf Of Davide Libenzi
Sent: Friday, March 31, 2006 5:30 PM
To: xmail <at> xmailserver.org
Subject: [xmail] Re: SMTP Failing on Gentoo Server

>
>If recipientdomain.com has valid MX records, it's a DNS issue. First, try:
>
>$ dig recipientdomain.com. mx
>

All perfectly normal.  For a normal login on the server name resolution
works just fine.  For the chrooted xmail user it seems to fail.  As far as I
can tell that's the difference between the two scenarios, at least.

Tim

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to ecartis <at> xmailserver.org
For general help: send the line "help" in the body of a message to
ecartis <at> xmailserver.org

Mr Sexy | 1 Apr 16:44 2006
Picon

restart server via email


Ok I know this is probably not a good idea but lets entertain the
thought and possibilities.

This is xmail 1.20 on win32 system and what I want to do is be able to
email to the server and have a code in the body of the email and when
it reaches xmail, xmail will look at it and check to see who the email
is from and if its a valid user it will look for the code in the email
to proceed to a batch file that reboots the machine. If the code is
incorrect, it just discards it.

Im not the best at batchfiles but I get by :)

So far I came up with this but I need help.

The server name is server1
This file will be named email-reboot.cmd and placed in D:\Xmail\xmail_filters
Not sure if the REM statement is needed or not.

 <at> Echo off
set xmailfile=%~1
REM if "%xmailfile:~0,4%"=="\\?\" set xmailfile=%xmailfile:~4%
if not"%~2"=="server.down <at> mydomain.com" exit 0
copy %xmailfile% D:\Xmail\xmail_filters\tmp
D:
cd \
cd Xmail\xmail_filters\tmp

(need something here to look for code)

(Continue reading)

Mr Sexy | 1 Apr 17:00 2006
Picon

test


I think i am having trouble sending my previous 2 emails to the list.

TEST
TEST
TEST
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to ecartis <at> xmailserver.org
For general help: send the line "help" in the body of a message to
ecartis <at> xmailserver.org

waassssuu pppp | 1 Apr 17:55 2006
Picon

server reboot

Ok I know this is probably not a good idea but lets entertain the
thought and possibilities.

This is xmail 1.20 on win32 system and what I want to do is be able to
email to the server and have a code in the body of the email and when
it reaches xmail, xmail will look at it and check to see who the email
is from and if its a valid user it will look for the code in the email
to proceed to a batch file that reboots the machine. If the code is
incorrect, it just discards it.

Im not the best at batchfiles but I get by :)

So far I came up with this but I need help.

The server name is server1
This file will be named email-reboot.cmd and placed in
D:\Xmail\xmail_filters
Not sure if the REM statement is needed or not.

 <at> Echo off
set xmailfile=%~1
REM if "%xmailfile:~0,4%"=="\\?\ <file://%3F/>" set xmailfile=%xmailfile:~4%
if not"%~2"=="server.down <at> mydomain.com" exit 0
copy %xmailfile% D:\Xmail\xmail_filters\tmp
D:
cd \
cd Xmail\xmail_filters\tmp

(need something here to look for code)

(Continue reading)

John Kielkopf | 1 Apr 17:57 2006

Re: restart server via email


Your last two emails, and your test came through here fine.

I'm not sure what you're asking exactly, but if it's for an opinion; I 
don't think restarting via email is a great plan.  Surely, if you have 
the need to reboot your server like this, there are other issues with 
the server that need resolution?

--John

Mr Sexy wrote:

>Ok I know this is probably not a good idea but lets entertain the
>thought and possibilities.
>
>This is xmail 1.20 on win32 system and what I want to do is be able to
>email to the server and have a code in the body of the email and when
>it reaches xmail, xmail will look at it and check to see who the email
>is from and if its a valid user it will look for the code in the email
>to proceed to a batch file that reboots the machine. If the code is
>incorrect, it just discards it.
>
>Im not the best at batchfiles but I get by :)
>
>So far I came up with this but I need help.
>
>The server name is server1
>This file will be named email-reboot.cmd and placed in D:\Xmail\xmail_filters
>Not sure if the REM statement is needed or not.
>
(Continue reading)

waassssuu pppp | 1 Apr 18:05 2006
Picon

Re: restart server via email

No issues and no problems but I want to be able to do it if I want to.

I just need help with the script if you saw it in the previous email.

I need a way to look in the body of an email for a code and if it sees that
code proceed with the script.

Its not really a bad idea or security problem. You can use filters and
filters.in.tab to make it only work if it gets the email by what ever email
you tell it.

Sometimes us admins are on the road and driving and get a call and lets say
all that needs to be done is a server reboot and the server is behind a
locked door at the office that only you and the ceo have a key too and both
of you are not in office.
Well I could pull over and breakout the lappy , connect to the internet  and
remote  in ORRRRR I could hang up with the person that called you and you
can send an email via phone to the server and it would reboot.

It would be even better if you could specify the machine to be rebooted by
computer name in the body of email.

FILTERS IN.tab
"me <at> gmail.com""reboot <at> mydomain.com""0.0.0.0/0""0.0.0.0/0""reboot.tab"

/Filters
reboot.tab
"cmd.exe /c D:\Xmail\xmail_filters\email-reboot.cmd"" <at>  <at> FILE"" <at>  <at> RCPT"

On 4/1/06, John Kielkopf <john <at> webifi.com> wrote:
(Continue reading)

John Kielkopf | 1 Apr 18:50 2006

Re: restart server via email


Grab something like grep for windows:
http://www.interlog.com/~tcharron/grep.html

and use something like:
 <at> echo off
if "%~1"=="" exit 0
if not exist "%~1" exit 0
set /a maxfileSize=2048
if /i %~z1 GTR %maxfileSize% exit 0
grep "your-sec-code" %~1
if not %ERRORLEVEL%==0 exit 0
echo your reboot code here.
exit 0

waassssuu pppp wrote:

>No issues and no problems but I want to be able to do it if I want to.
>
>I just need help with the script if you saw it in the previous email.
>
>I need a way to look in the body of an email for a code and if it sees that
>code proceed with the script.
>
>Its not really a bad idea or security problem. You can use filters and
>filters.in.tab to make it only work if it gets the email by what ever email
>you tell it.
>
>Sometimes us admins are on the road and driving and get a call and lets say
>all that needs to be done is a server reboot and the server is behind a
(Continue reading)

Shiloh Jennings | 4 Apr 22:23 2006

RFC 2476


Does XMail fully support RFC 2476?

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to ecartis <at> xmailserver.org
For general help: send the line "help" in the body of a message to
ecartis <at> xmailserver.org

CLEMENT Francis | 5 Apr 08:43 2006

Re: RFC 2476


After reading RFC 2476, not at this time on many parts of rfc but you can
use smtp in filters to add some of the rfc functionnalities til xmail
implements them in code (like email syntax check, fqdn check, reject etrn on
submission port, add missing headers, confirm valid sender, ...) .

Francis

>-----Message d'origine-----
>De : xmail-bounce <at> xmailserver.org
>[mailto:xmail-bounce <at> xmailserver.org]De la part de Shiloh Jennings
>Envoyé : mardi 4 avril 2006 22:23
>À : xmail <at> xmailserver.org
>Objet : [xmail] RFC 2476
>
>
>
>Does XMail fully support RFC 2476?
>
>
>-
>To unsubscribe from this list: send the line "unsubscribe xmail" in
>the body of a message to ecartis <at> xmailserver.org
>For general help: send the line "help" in the body of a message to
>ecartis <at> xmailserver.org
>
-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to ecartis <at> xmailserver.org
For general help: send the line "help" in the body of a message to
(Continue reading)

Ulrich Petri | 13 Apr 21:47 2006
Picon

Courier-IMAP with native XMail user authentication


Hi,

i posted this in the XMail-Forum today and thought it might be 
interesting for you too.

---------------------------

Hi,

I'm testing XMail at the moment and like it quite good so far.
For me IMAP is a must-have in any mail server though. So i looked into 
the HowTos on www.xmailserver.org but i quickly realized that they all 
require a lot of changes to the system or seperate user authentication.

So I wrote a authentication module for Courier-IMAP that authenticated 
against XMail's mailusers.tab.
It is still a very early version but IMAP authentication already works 
very well for me.

Files and installations instructions can be found here:
http://upcd.de/xmail/

Bye
Ulrich

------------------

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
(Continue reading)


Gmane