Emailing archive email

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

dougp23
Posts: 229
Joined: Thu Feb 15, 2007 2:42 pm

Emailing archive email

Postby dougp23 » Fri Mar 18, 2011 11:25 am

We use the archive feature. Now someone wants a message that was sent to them six months ago. I found it, it has an attachment (it is FRIGHTENING the junk MS Outlook adds to email messages, have never seen so much html tags in such a small space).

Anyway, how do I email the message to them so they get not only the message, but the attachment as well?

From the command line, I have tried

mail james@mycompany.com -s "Your Email" </root/recovered_email/12652

(I had to rename the regular archive filename, as it was impossible to deal with, what with all the colons and such not)!
Check out my "Life with Scalix" blog at
http://swifttide.com/blog

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

Re: Emailing archive email

Postby ls-al » Fri Mar 18, 2011 12:00 pm

I used nc (netcat) to port 25 during the trainings to demonstrate a possible recovery.

dougp23
Posts: 229
Joined: Thu Feb 15, 2007 2:42 pm

Re: Emailing archive email

Postby dougp23 » Fri Mar 18, 2011 1:00 pm

Hmm..can you be a little more descriptive please?
You were on the client PC and used netcat to Port 25 of the server? How did you specify the file you wanted?
Check out my "Life with Scalix" blog at

http://swifttide.com/blog

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

Re: Emailing archive email

Postby ls-al » Fri Mar 18, 2011 1:19 pm

Assuming you have set ARCHIVE=TRUE in general.cfg and want to recover the message that arrived on 2011-01-04 at 22:58:02.

Code: Select all

[root@host 2011-01-04]# pwd
/var/opt/scalix/ht/s/archive/2011-01-04

[root@host 2011-01-04]# cat 22\:58\:02+0100.03760.0 | nc host 25
220 host ESMTP Scalix SMTP Relay 11.4.6.13676; Fri, 18 Mar 2011 18:09:17 +0100 (CET)
250-host Hello host [172.20.20.20], pleased to meet you
250-AUTH DIGEST-MD5 LOGIN CRAM-MD5 PLAIN GSSAPI
250-AUTH=LOGIN
250-DSN
250 8BITMIME
250 rhelv5-list-bounces@redhat.com... Sender ok
250 Ok
354 Enter mail, end with "." on a line by itself (relay)
250 Ok
221 host closing connection


Note: If you try it with a newer message you may need to set LD_INTRAY_DATA_MAX_SIZE=0 in general.cfg. Otherwise the duplicate message detector will catch it.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 8 guests