[xmail] SMTP TLS

2009-08-24 Thread CLEMENT Francis

Ssl certificates are based on server name, so you can use it on xmail ONLY
if your xmail server use same name (and generaly a ip that resolve to same
name)

So if your ssl cert is for www.atinet.com.br, you xmail server should
resolve to www.atinet.com.br (from ip and from smtp banners I think)


-Message d'origine-
De: xmail-boun...@xmailserver.org
A: XMail Users Mailing List
Date: 21/08/2009 16:35
Objet: Re: [xmail] SMTP TLS
Importance: Haute

We have a ssl web server certificate from Thawte (www.thawte.com)
Could this kind of certificate be used with smtp TLS?

Regards

Edinilson
-
ATINET-Professional Web Hosting
Tel Voz: (0xx11) 4412-0876
http://www.atinet.com.br


- Original Message - 
From: Davide Libenzi davi...@xmailserver.org
To: XMail Users Mailing List xmail@xmailserver.org
Sent: Thursday, August 20, 2009 3:22 PM
Subject: Re: [xmail] SMTP TLS


On Thu, 20 Aug 2009, Edinilson - ATINET wrote:

 Some users that have domains hosted here wants to use gmail for other
 purposes.
 But they wants to use yours accounts (hosted here) to send emails, but
via
 gmail (something like a relay).
 Gmail have a configuration called: SEND MAIL FROM ANOTHER ADDRESS (

http://mail.google.com/support/bin/answer.py?hl=enanswer=22370expand=s
c1 
  )
 where you can authenticate with an account from your domain and send
email
 (from gmail) using that account.

 I could be wrong but looks like Google uses TLS in this point, to
relay 
 the
 message.

Unless GOOG requires that *your* certificate is *not* self-signed, by
refusing to talk to your server after the initial SSL negotiation.



- Davide


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail
___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


[xmail] migrating users from one xmail installation to another

2009-08-24 Thread stuart
I have a rather ageing system that is running xmail1.23 running Fedora Core
6 and I was intending to move the mailserver to a newer more supportable
system running xmail 1.26. 

 

What is the easiest way to migrate the mail users and mail from one server
to another.  I've previously tried copying the tab files and the domains
folder into a new installation and not been successful.  I can't believe I
am the only one to want to do this.

 

 

 

Stuart Smith

 

 

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


[xmail] TLS connection logging?

2009-08-24 Thread Chris Evans
All,

Is there any way of knowing if xmail made a TLS connection for a particular 
message? I've not seen anything in the log files or added to the message header 
as with some other SMTP servers.

Thanks
Chris


Gloucester Research Limited believes the information provided herein is 
reliable. While every care has been taken to ensure accuracy, the information 
is furnished to the recipients with no warranty as to the completeness and 
accuracy of its contents and on condition that any errors or omissions shall 
not be made the basis for any claim, demand or cause for action.
The information in this email is intended only for the named recipient.  If you 
are not the intended recipient please notify us immediately and do not copy, 
distribute or take action based on this e-mail.
All messages sent to and from this email address will be logged by Gloucester 
Research Ltd and are subject to archival storage, monitoring, review and 
disclosure.
Gloucester Research Limited, 5th Floor, Whittington House, 19-30 Alfred Place, 
London WC1E 7EA.
Gloucester Research Limited is a company registered in England and Wales with 
company number 04267560.


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] migrating users from one xmail installation to anothe r

2009-08-24 Thread CLEMENT Francis

Basicaly, migration to new server with new version is easy :

- Install OLD version to new server (yes OLD so here 1.23)
- copy complete old xmailroot to new server
- verify that this OLD version on new server is ok (pop, smtp, ...)

Then finally complete 1.23 to 1.26 transition :
- stop xmail on new server
- read changelog for every needed changes from 1.23 to 1.26 (especialy new
cmd line startup options, tab files changes, filters changes, ...)
- make sure new directory structure is correct for 1.26 (no missing
subfolder, ...)
- replace 1.23 binaries with 1.26 binaries
- remove new xmail indexes (files in xmailroot\tabindex) to let xmail 1.26
recreate them
- optionnaly remove mailroot\dns and mailroot\mx contents (xmail will
recreate content)
- restart xmail
- verify that this NEW version on new server is ok (pop, smtp, ...)


-Message d'origine-
De : xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org]de
la part de stu...@sdsnet.dyndns.org
Envoyé : lundi 24 août 2009 11:49
À : xmail@xmailserver.org
Objet : [xmail] migrating users from one xmail installation to another


I have a rather ageing system that is running xmail1.23 running Fedora Core
6 and I was intending to move the mailserver to a newer more supportable
system running xmail 1.26. 
 
What is the easiest way to migrate the mail users and mail from one server
to another.  I've previously tried copying the tab files and the domains
folder into a new installation and not been successful.  I can't believe I
am the only one to want to do this.
 
 
 
Stuart Smith
 
 
___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] TLS connection logging?

2009-08-24 Thread Davide Libenzi
On Mon, 24 Aug 2009, Chris Evans wrote:

 Is there any way of knowing if xmail made a TLS connection for a particular 
 message? I?ve not seen anything in the log files or
 added to the message header as with some other SMTP servers.

Not at the moment. I might look into it, to see how messy it'd be to 
implement.


- Davide


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] TLS connection logging?

2009-08-24 Thread David Lord
On 24 Aug 2009 at 11:50, Chris Evans wrote:

 All,
 
 Is there any way of knowing if xmail made a TLS connection for a particular 
 message? I've not seen anything in the log files or added to the message 
 header as with some other SMTP servers.
 
 Thanks
 Chris
 

I've seen an Xauth header and took it to be that, however
I'd like to see something in a logfile (maybe there is and
I can't spot it) or a separate log file.

David

 
 Gloucester Research Limited believes the information provided herein is 
 reliable. While every care has been taken to ensure accuracy, the information 
 is furnished to the recipients with no warranty as to the completeness and 
 accuracy of its contents and on condition that any errors or omissions shall 
 not be made the basis for any claim, demand or cause for action.
 The information in this email is intended only for the named recipient.  If 
 you are not the intended recipient please notify us immediately and do not 
 copy, distribute or take action based on this e-mail.
 All messages sent to and from this email address will be logged by Gloucester 
 Research Ltd and are subject to archival storage, monitoring, review and 
 disclosure.
 Gloucester Research Limited, 5th Floor, Whittington House, 19-30 Alfred 
 Place, London WC1E 7EA.
 Gloucester Research Limited is a company registered in England and Wales with 
 company number 04267560.
 
 
 


___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] migrating users from one xmail installation to another

2009-08-24 Thread fred
Here is what I have done in the past.

 

1.   Copy the whole MailRoot folder to your new server

2.   Extract everything to a new directory on your new server

3.   Remove the content the following directories

a.   MailRoot/dnscache/mx

b.  MailRoot/dnscache/ns

c.   MailRoot/tabindex

d.  MailRoot/spool

e.  Manually create MailRoot/spool/temp

f.Manually create MailRoot/spool/local

4.   Download XMail-1.26

5.   Extract the 1.26 tarball into a temporary directory

6.   Compile XMail-1.26 (see readme)

7.   Copy the new 1.26 binaries into MailRoot/bin/ of your old
installation

8.   Go to the website and read the changelog since 1.23 for adding the
new variables inside server.tab

 

There might be other minor things to adjust but that covers the major steps.

 

-fred

 

From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org]
On Behalf Of stu...@sdsnet.dyndns.org
Sent: 24 août 2009 05:49
To: xmail@xmailserver.org
Subject: [xmail] migrating users from one xmail installation to another

 

I have a rather ageing system that is running xmail1.23 running Fedora Core
6 and I was intending to move the mailserver to a newer more supportable
system running xmail 1.26. 

 

What is the easiest way to migrate the mail users and mail from one server
to another.  I’ve previously tried copying the tab files and the domains
folder into a new installation and not been successful.  I can’t believe I
am the only one to want to do this.

 

 

 

Stuart Smith

 

 

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] Problem using perl script to send mail to XMail

2009-08-24 Thread Jonathan Kelly
On Mon, Aug 24, 2009 at 1:35 PM, fred f...@fullmetalpacket.com wrote:

  Hey guys,



 I am having a small problem trying to send an email to XMail from a perl
 script, here is the code:



 #!/usr/bin/perl -w

 use Net::SMTP;

 $smtp = Net::SMTP-new('smtp.mydomain.com', Hello = '
 myserver.mydomain.com', Timeout = 60);

 $smtp-mail(myserv...@mydomain.com');

 $smtp-to('m...@mydomain.com');

 $smtp-data();

 $smtp-datasend(From: myserv...@mydomain.com\n);

 $smtp-datasend(To: m...@mydomain.com\n);

 $smtp-datasend(Subject: Test 1\n);

 $smtp-datasend(\n);

 $smtp-datasend(A simple test message\n);

 $smtp-dataend();

 $smtp-quit;



 XMail refuses the email :

 mail  mail  myserverip  2009-08-24 13:31:08   
 myserver.mydomain.com   m...@mydomain.com
 SNDR=ESYNTAX0 





 I understand that @ must be escaped, but how do we tell Perl to send the
 string without the \ ?



 This might be a real noob problem, I don’t know anything about perl.





 Thanks for help,



 -fred

My perl is rusty but it seems to me the @ doesn't need to be escaped b/c
it's encapsulated in quotes.
___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] Problem using perl script to send mail to XMail

2009-08-24 Thread Davide Libenzi
On Mon, 24 Aug 2009, fred wrote:

 
 Hey guys,
 
  
 
 I am having a small problem trying to send an email to XMail from a perl 
 script, here is the code:
 
  
 
 #!/usr/bin/perl -w
 
 use Net::SMTP;
 
 $smtp = Net::SMTP-new('smtp.mydomain.com', Hello = 'myserver.mydomain.com', 
 Timeout = 60);
 
 $smtp-mail(myserv...@mydomain.com');
 
 $smtp-to('m...@mydomain.com');

Either this:

'b...@blah'

or this:

bl...@blah



- Davide

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] Problem using perl script to send mail to XMail

2009-08-24 Thread fred
Thanks,

Changed the single quotes to doubles and it works fine with \@

-fred

-Original Message-
From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org]
On Behalf Of Davide Libenzi
Sent: 24 août 2009 13:59
To: XMail Users Mailing List
Subject: Re: [xmail] Problem using perl script to send mail to XMail

On Mon, 24 Aug 2009, fred wrote:


 Hey guys,

  

 I am having a small problem trying to send an email to XMail from a perl
script, here is the code:

  

 #!/usr/bin/perl -w

 use Net::SMTP;

 $smtp = Net::SMTP-new('smtp.mydomain.com', Hello =
'myserver.mydomain.com', Timeout = 60);

 $smtp-mail(myserv...@mydomain.com');

 $smtp-to('m...@mydomain.com');

Either this:

'b...@blah'

or this:

bl...@blah



- Davide



___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail


Re: [xmail] migrating users from one xmail installation to another r

2009-08-24 Thread stuart
Many thanks to Fred and Clement.  I'll do that tonight.

Woohoo, one less system to administer.


Stuart

-Original Message-
From: xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org]
On Behalf Of CLEMENT Francis
Sent: Monday, 24 August 2009 10:20 PM
To: 'XMail Users Mailing List'
Subject: Re: [xmail] migrating users from one xmail installation to anothe r


Basicaly, migration to new server with new version is easy :

- Install OLD version to new server (yes OLD so here 1.23)
- copy complete old xmailroot to new server
- verify that this OLD version on new server is ok (pop, smtp, ...)

Then finally complete 1.23 to 1.26 transition :
- stop xmail on new server
- read changelog for every needed changes from 1.23 to 1.26 (especialy new
cmd line startup options, tab files changes, filters changes, ...)
- make sure new directory structure is correct for 1.26 (no missing
subfolder, ...)
- replace 1.23 binaries with 1.26 binaries
- remove new xmail indexes (files in xmailroot\tabindex) to let xmail 1.26
recreate them
- optionnaly remove mailroot\dns and mailroot\mx contents (xmail will
recreate content)
- restart xmail
- verify that this NEW version on new server is ok (pop, smtp, ...)


-Message d'origine-
De : xmail-boun...@xmailserver.org [mailto:xmail-boun...@xmailserver.org]de
la part de stu...@sdsnet.dyndns.org
Envoyé : lundi 24 août 2009 11:49
À : xmail@xmailserver.org
Objet : [xmail] migrating users from one xmail installation to another


I have a rather ageing system that is running xmail1.23 running Fedora Core
6 and I was intending to move the mailserver to a newer more supportable
system running xmail 1.26. 
 
What is the easiest way to migrate the mail users and mail from one server
to another.  I've previously tried copying the tab files and the domains
folder into a new installation and not been successful.  I can't believe I
am the only one to want to do this.
 
 
 
Stuart Smith
 
 
___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail

___
xmail mailing list
xmail@xmailserver.org
http://xmailserver.org/mailman/listinfo/xmail