[Hampshire] Email return-to-sender - who has dropped what where?

2009-11-03 Thread Victor Churchill
Hello, I am starting to get mail return-to-sender failures sent back
to a server for one addressee.
The script wants to send the message to b...@hughes-energy.com (Names
left of the '@' changed. I have left the domain name unsanitized)
The failure msg looks like this:
=
Date: Tue,  3 Nov 2009 02:45:37 -0500 (EST)
From: mailer-dae...@messagingengine.com (Mail Delivery System)
Subject: Undelivered Mail Returned to Sender
To: lal...@ws.qonnectis.com
Auto-Submitted: auto-replied

[-- Attachment #1: Notification --]
[-- Type: text/plain, Encoding: 7bit, Size: 0.5K --]

This is the mail system at host gateway1.messagingengine.com.

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

: Host or domain name not found. Name service error for
name=data.h-ems.com.h-ems.com type=A: Host not found

[-- Attachment #2: Delivery report --]
[-- Type: message/delivery-status, Encoding: 7bit, Size: 0.4K --]

Reporting-MTA: dns; gateway1.messagingengine.com
X-Postfix-Queue-ID: A6979BE216
X-Postfix-Sender: rfc822; lal...@ws.qonnectis.com
Arrival-Date: Tue,  3 Nov 2009 02:45:29 -0500 (EST)

Final-Recipient: rfc822; bo...@h-ems.com
Original-Recipient: rfc822;bo...@h-ems.com
Action: failed
Status: 5.4.4
Diagnostic-Code: X-Postfix; Host or domain name not found. Name service error
for name=data.h-ems.com.h-ems.com type=A: Host not found

[-- Attachment #3: Undelivered Message --]
[-- Type: message/rfc822, Encoding: 7bit, Size: 34K --]

X-Sieve: CMU Sieve 2.3
X-Spam-known-sender: yes
X-Spam-score: 0.0
X-Spam-hits: BAYES_60 1, TVD_SPACE_RATIO 2.219, BAYES_USED global
X-Spam-source: IP='83.138.142.10', Host='ws.qonnectis.com',
Country='GB', FromHeader='com', MailFrom='com'
X-Spam-charsets:
X-Resolved-to: bo...@fastmail.co.uk
X-Delivered-to: b...@hughes-energy.com
X-Mail-from: lal...@ws.qonnectis.com
Date: Tue, 3 Nov 2009 07:45:02 GMT
From: Qonnectis owner 
To: b...@hughes-energy.com
Subject: Qonnectis export data
/var/QG/export/QUEENS_UNIVERSITY/QG-QUEENS_UNIVERSITY-20091103-074502.CSV
X-Truedomain-DKIM: None
X-Truedomain: Neutral

ASHBY_BUILDING,02/11/2009 06:45:00,648075.81
ASHBY_BUILDING,02/11/2009 07:00:00,648075.81
(the rest of the mail is rather boring ;-)
=

That line "for name=data.h-ems.com.h-ems.com type=A: Host not found"
looks to me almost like a blatant typo/clerical error in somebody's
setup.

Looks to me like b...@hughes-energy.com is
translated/resolved/forwarded (never quite sure of the terminology) to
bo...@h-ems.com,

but then whilst it is trying to resolve bo...@h-ems.com,
gateway1.messagingengine.com. finds that data.h-ems.com.h-ems.com does
not exist.

I am not sure how/why bo...@fastmail.co.uk comes in to it. I'd have
though the whole thing would have failed before it got as far as him.

Can somebody indicate from this information, what sequence of
processes going on? I'd actually find it quite useful to get more of
an idea of what is happening.

Thanks!

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [Job] IMAP Proxy & LDAP integration.

2009-11-03 Thread Simon Capstick
Simon Capstick wrote:
> Adrian Bridgett wrote:
>> On Tue, Oct 27, 2009 at 17:20:01 + (+), Simon Capstick wrote:
>>> Hi,
>>>
>>> A small job:
>>>
>>> Has anyone had experience of setting up a (secure) IMAP proxy along with 
>>> a public CA certificate?  LDAP integration, along with setting up 
>>> OpenLDAP to authenticate users would be a real bonus.
>> IMAP proxy?  What's the backend email storage?  I use IMAP (dovecot)
>> with Maildir storage personally.  The box itself is all LDAP'd up so
>> the "local accounts" are in reality LDAP ones.
>>
>> Dovecot also supports directly querying LDAP (including TLS goodness).
>>
>> Adrian
> 
> We're using courier-imap on Debian internally.  I don't want this server 
> open to the outside world.  Instead I would like another courier-imap in 
> proxy mode, preferably in a DMZ, using fail2ban, and authorising against 
> a list of accounts marked as having remote access.  It's not something I 
> have time to try out myself and get right.  I've read Dovecot may not 
> play as nice with Blackberries (our main requirement) due to some issue 
> with the IMAP IDLE command - I may be wrong.
> 
> Simon
> 
I should add we use Maildir storage.

Simon

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Email return-to-sender - who has dropped what where?

2009-11-03 Thread Simon Huggins
On Tue, Nov 03, 2009 at 10:12:30AM +, Victor Churchill wrote:
> The script wants to send the message to b...@hughes-energy.com (Names
> left of the '@' changed. I have left the domain name unsanitized)
> The failure msg looks like this:

> : Host or domain name not found. Name service error for
> name=data.h-ems.com.h-ems.com type=A: Host not found

> That line "for name=data.h-ems.com.h-ems.com type=A: Host not found"
> looks to me almost like a blatant typo/clerical error in somebody's
> setup.

Yes.  Looks like the classic missing . in a zonefile:

The MX for h-ems.com is:
[hug...@the ~]$ dig -t MX h-ems.com +short
10 data.h-ems.com.h-ems.com.

Yet:
[hug...@the ~]$ dig -t any data.h-ems.com.h-ems.com +short
[hug...@the ~]$ dig -t any data.h-ems.com +short
213.232.95.114

So they probably meant to set their MX to data.h-ems.com.

> Looks to me like b...@hughes-energy.com is
> translated/resolved/forwarded (never quite sure of the terminology) to
> bo...@h-ems.com,

That seems likely.

> but then whilst it is trying to resolve bo...@h-ems.com,
> gateway1.messagingengine.com. finds that data.h-ems.com.h-ems.com does
> not exist.

> I am not sure how/why bo...@fastmail.co.uk comes in to it. I'd have
> though the whole thing would have failed before it got as far as him.

> Can somebody indicate from this information, what sequence of
> processes going on? I'd actually find it quite useful to get more of
> an idea of what is happening.

I don't think from what you have that you can assume anything about the
fastmail address.

However it looks like b...@hughes-energy.com is forwarding to
bo...@h-ems.com and that mail to h-ems.com is broken because of the
broken MX record.  Hence the bounce you see.

-- 
Simon  [ hug...@earth.li ] *\Le doute est le commencement de la  \**
** ]-+-+-+-+-+-+-+-+-[ **\  sagesse.  \*
** [  Htag.pl 0.0.24 ] ***\\

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Email return-to-sender - who has dropped what where?

2009-11-03 Thread Victor Churchill
2009/11/3 Simon Huggins :
>> That line "for name=data.h-ems.com.h-ems.com type=A: Host not found"
>> looks to me almost like a blatant typo/clerical error in somebody's
>> setup.
>
> Yes.  Looks like the classic missing . in a zonefile:
>
> The MX for h-ems.com is:
> [hug...@the ~]$ dig -t MX h-ems.com +short
> 10 data.h-ems.com.h-ems.com.
>
> Yet:
> [hug...@the ~]$ dig -t any data.h-ems.com.h-ems.com +short
> [hug...@the ~]$ dig -t any data.h-ems.com +short
> 213.232.95.114
>
> So they probably meant to set their MX to data.h-ems.com.
>

Thank you Simon, that seems to confirm the suspicions I had. Strange,
because the recipient seems to think the destination address is fine
("from their end")! Maybe it works from within their internal network
but not from outside.

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Hard disks and LVM

2009-11-03 Thread Leo
Keith Edmunds wrote:
> On Thu, 29 Oct 2009 20:56:58 +, li...@fractal.me.uk said:
> 
>> If I were to create four partitions on the new disk (not 
>> necessarily the same sizes as the old ones), copy the data across from 
>> the old disks, and tell the BIOS to boot from the new /boot partition, 
>> would Ubuntu be happy?
> 
> You'd need to write the boot sector too, probably using Grub, but
> otherwise yes, it should be happy.
> 

Well I believe I've sorted grub. However I now realise that in order to 
copy / I need something to cope with links (I need them kept the same), 
and mounts (specifically: /home/ and /boot/ are different disks so I 
don't want them copied, but I don't know if e.g. /dev/ must copied?) 
Google suggests a few different ways of doing it (copy, rsync,...) and I 
was wondering which is best?

Leo


-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Hard disks and LVM

2009-11-03 Thread Stuart Sears
On 03/11/09 15:45, Leo wrote:
> Keith Edmunds wrote:
>> On Thu, 29 Oct 2009 20:56:58 +, li...@fractal.me.uk said:
>>
>>> If I were to create four partitions on the new disk (not
>>> necessarily the same sizes as the old ones), copy the data
>>> across from the old disks, and tell the BIOS to boot from the new
>>> /boot partition, would Ubuntu be happy?
>>
>> You'd need to write the boot sector too, probably using Grub, but
>> otherwise yes, it should be happy.
>>
>
> Well I believe I've sorted grub. However I now realise that in order
> to copy / I need something to cope with links (I need them kept the
> same), and mounts (specifically: /home/ and /boot/ are different
> disks so I don't want them copied, but I don't know if e.g. /dev/
> must copied?)

/dev on a modern Linux system is usually managed by udev and should not
need copying. To check this:
# grep /dev /etc/fstab

> Google suggests a few different ways of doing it (copy, rsync,...)
> and I was wondering which is best?
>
> Leo

For the others I would probably use rsync as it will preserve hard and
soft links as well as permissions if needed (mind you, cp -a should do
this as well)
rsync has about a million commandline options, however, leading to
commands like this:

rsync -avxPHAX /source/mount/ /dst/mount/

Which should preserve hard and soft links, permissions, acls, xattrs,
ownership etc and not cross filesystem boundaries and show you how far
it's got.
The trailing / on the paths is very important. rsync copies everything
after the last / in each path.


but, by 'keep them the same', did you mean that you're going to reuse 
the existing /home and /boot/ ?

Or just that you want to ensure they're separate FSs again?
in that case just mount the new disks under /dst/mount/home and 
/dst/mount/boot and rsync the entire / into /dst/mount


Regards,

Stuart
-- 
Stuart Sears RHCA etc.
"It's today!" said Piglet.
"My favourite day," said Pooh.

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [ADMIN] November Meeting & AGM

2009-11-03 Thread Dr A. J. Trickett
On Tuesday 03 Nov 2009, Andy Smith wrote:
> Hello,
> 
> On Sun, Nov 01, 2009 at 10:52:02PM +, Hants LUG Chairman wrote:
> > Here is your one week warning! Our next meeting takes place next Saturday
> > on 7 November 2009 at Southampton University.
> 
> If anyone wants to do any PGP key signing, bring some state-issued
> photo ID and some copies of your key fingerprint.

Good idea!

-- 
Adam Trickett
Overton, HANTS, UK

Do not assume the other fellow has intelligence to match yours.
He may have more.
-- Terry Thomas


signature.asc
Description: This is a digitally signed message part.
-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--

Re: [Hampshire] Hard disks and LVM

2009-11-03 Thread Stuart Sears
On 03/11/09 17:08, Stuart Sears wrote:
[...]
> /dev on a modern Linux system is usually managed by udev and should not
> need copying. To check this:
> # grep /dev /etc/fstab

aarrgh. or in fact don't. I have no idea where that came from.
That's what you get for leaving the house at 0530! :)

however,
ps -ef | grep udev
will tell you if it's in use. Which it probably is.


Regards,

Stuart
-- 
Stuart Sears RHCA etc.
"It's today!" said Piglet.
"My favourite day," said Pooh.

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [ADMIN] November Meeting & AGM

2009-11-03 Thread Paul Tansom
** Andy Smith  [2009-11-03 19:19]:
> On Sun, Nov 01, 2009 at 10:52:02PM +, Hants LUG Chairman wrote:
> > Here is your one week warning! Our next meeting takes place next Saturday 
> > on 7 
> > November 2009 at Southampton University.
> 
> If anyone wants to do any PGP key signing, bring some state-issued
> photo ID and some copies of your key fingerprint.
** end quote [Andy Smith]

That rules me out, I have no state-issued photo ID, in fact I can't think of a
current photo ID of any sort - I should probably update my passport really!

-- 
Paul Tansom | Aptanet Ltd. | http://www.aptanet.com/ | 023 9238 0001
==
Registered in England  |  Company No: 4905028  |  Registered Office:
Crawford House, Hambledon Road, Denmead, Waterlooville, Hants, PO7 6NU

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] Kubuntu 9.10

2009-11-03 Thread Mark Johnson
On Friday 30 Oct 2009 23:13:20 Peter Salisbury wrote:
> Just been playing with kubuntu 9.10 and it's looking good on my old
> Toshiba laptop. Much cleaner interface by default, less wasted screen
> space, wireless configuration is excellent and performance is good
> too. Still not sure about desktop gadgets but they're pretty and easy
> to delete.
> 

Besides Grub 2 completely failing with my mixture of SATA and PATA disks, I've 
nothing but praise for Kubuntu 9.10.  It runs like a charm on my machine, 
drives and codecs not a problem, and the whole thing feels nicely polished. 
Definitely the best release yet (and that's not always the case with a new 
Kubuntu release).

Mark

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--


Re: [Hampshire] [ADMIN] November Meeting & AGM

2009-11-03 Thread Andy Smith
Hello,

On Sun, Nov 01, 2009 at 10:52:02PM +, Hants LUG Chairman wrote:
> Here is your one week warning! Our next meeting takes place next Saturday on 
> 7 
> November 2009 at Southampton University.

If anyone wants to do any PGP key signing, bring some state-issued
photo ID and some copies of your key fingerprint.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting

You dont have to be illiterate to use the Internet, but it help's.
 -- Mike Bristow


signature.asc
Description: Digital signature
-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--

Re: [Hampshire] Hard disks and LVM

2009-11-03 Thread Andy Smith
Hi Leo,

On Tue, Nov 03, 2009 at 03:45:59PM +, Leo wrote:
> Google suggests a few different ways of doing it (copy, rsync,...) and I 
> was wondering which is best?

When in doubt, I always rsync. :)

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting

 don't try to kiss a defenseless woman


signature.asc
Description: Digital signature
-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--

Re: [Hampshire] Hard disks and LVM

2009-11-03 Thread Leo
Stuart Sears wrote:
> On 03/11/09 17:08, Stuart Sears wrote:
> [...]
>> /dev on a modern Linux system is usually managed by udev and should not
>> need copying. To check this:
>> # grep /dev /etc/fstab
> 
> aarrgh. or in fact don't. I have no idea where that came from.
> That's what you get for leaving the house at 0530! :)
> 
> however,
> ps -ef | grep udev
> will tell you if it's in use. Which it probably is.
> 
> 
:) I decided to just use rsync on the whole of /. And I now appear to be 
up and running on the new disk. Getting grub working took a while 
though, I kept mistyping the uuids in menu.lst!

Thank you,
Leo

-- 
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--