Argh - is anyone else from the list getting this same bounce mail all the
time? I notified list admins but they couldnt find the relevant user. If you
are getting this, PLEASE +1. Thanks. Cal
---------- Forwarded message ----------
From: "Mail Delivery System" <mailer-dae...@mail3.clocksoft.dom>
Date: Oct 4, 2011 11:06 PM
Subject: Undelivered Mail Returned to Sender
To: <cal.leem...@simplicitymedialtd.co.uk>

This is the mail system at host mail3.clocksoft.dom.

I'm sorry to have to inform you that your message could not
be delivered to one or more recipients. It's attached below.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

                  The mail system

<h...@clocksoft.com>: mail transport unavailable

Final-Recipient: rfc822; h...@clocksoft.com
Original-Recipient: rfc822;h...@clocksoft.com
Action: failed
Status: 4.3.0
Diagnostic-Code: X-Postfix; mail transport unavailable


---------- Forwarded message ----------
From: "Cal Leeming [Simplicity Media Ltd]" <
cal.leem...@simplicitymedialtd.co.uk>
To: django-users@googlegroups.com
Date: Thu, 29 Sep 2011 15:57:39 +0100
Subject: (off-topic) Quick method of sending files from ssh to clients
Hey,

Little bit off topic, but quite relevant for the busy coder.

Often I needed to quickly grab a file off a server, or send to a client, but
it took me 2-3 minutes to fire up an SCP client, find the file, send it etc
etc.

So I created a small script (depends on sendmail and uuencode/sharutils) to
send files via email:

 foxx@sws01.internal [~] > cat /usr/sbin/sendfile
#!/bin/sh
if [ -z "$1" ] || [ -z "$2" ] || [ ! -f $1 ] ; then
    echo "syntax: [filename] [email address]"
else
    (echo "file attached."; uuencode $1 $1) | mail -s "file attach: $1" $2
    echo "File sent to $2"
fi

Usage:

 foxx@sws01.internal [~] > /usr/sbin/sendfile ~/lol
cal.leem...@simplicitymedialtd.co.uk
File sent to cal.leem...@simplicitymedialtd.co.uk

Hopefully someone else will benefit from these 6 lines of code which saved
me so much time :)

Cal

-- 
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to