[Techtalk] email via memory stick?
Ian Balchin
aesop at fables.co.za
Wed Jan 9 12:50:32 UTC 2008
Thanks, Michelle,
Not sure how that will help me. The problem is that the email is to
be created on a linux box (and moved) onto a memory stick then
plugged into my win2000 office machine so it can be sent out there.
A scan though RFC822 indicates that an email message is composed of a
group of headers separated by a blank line from the body of the
message (para 3.1) - no mention of a two-file format as I find in the
Mercury server queue, and Mercury's web site does not indicate
compatability with anything other than Win email clients in any case
In my searches I have found that Pine is available for the windows
platform so perhaps I might find sustenance in that direction.
There must be some conformity somewhere as SMTP servers are going to
want standardised input from clients.
Regards
Anne
Your 07 January 2008 email from Michelle Konzack said thus::
> Hi Ian,
>
> I am using mutt and created a sendmail-wraper so I can sign and send
> messages without any changements...
>
> The messages are stored then in a folder ~/Maildir/.POSTPONED/ and
> my laptop sends it as is, automaticaly from a script with
>
>
> ----8<------------------------------------------------------------------
> #!/bin/bash
>
> while [ -z "$(ping -c 1 mx.freenet.de 2>/dev/null)" ] ; do
> sleep 15
> done
>
> for MSG1 in ${HOME}/Maildir/.POSTPONED/new/* ; do
>
> cat ${MSG1} |ssmtp -au linux4michelle at freenet.de -ap my_secret -t
> if [ $? -eq 0 ] ; then
> MSG2=$(echo ${MSG1} |sed 's|/.POSTPONED/new/|/.POSTPONED/cur/|')
> mv ${MSG1} ${MSG2}
> fi
>
> done
> ----8<------------------------------------------------------------------
>
> This script check all 15 seconds whether the Mailserver <mx.freenet.de>
> is there and if yes, it proceed all messages. If the message is
> successfuly send it move the mesage from the /new/ subdir to the /cur/
> subdir of the folder...
>
> Attached a little bit more complex script which I use for several years
> which is run all 5 minutes from my private crontab.
>
> Thanks, Greetings and nice Day
> Michelle Konzack
> Systemadministrator
> Tamay Dogan Network
> Debian GNU/Linux Consultant
>
>
> --
> Linux-User #280138 with the Linux Counter, http://counter.li.org/
> ##################### Debian GNU/Linux Consultant #####################
> Michelle Konzack Apt. 917 ICQ #328449886
> 50, rue de Soultz MSN LinuxMichi
> 0033/6/61925193 67100 Strasbourg/France IRC #Debian (irc.icq.com)
>
----
Anne Wainwright
More information about the Techtalk
mailing list