Re: [Dorset] Message to Ralph: What was that command you used?

2011-01-12 Thread Ralph Corderoy

Hi Terry,

 At the meeting last night you used a command to discover the IP
 address of your domain.  Paul just asked me what it was, but all I
 could remember was that it was a TLA something like git, (but not
 git).

It was dig(1);  domain information groper.  Here's some examples to send
onto Paul.

$ dig google.com

;  DiG 9.4.2-P2.1  google.com
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 29412
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;google.com.IN  A

;; ANSWER SECTION:
google.com. 161 IN  A   74.125.230.80
google.com. 161 IN  A   74.125.230.82
google.com. 161 IN  A   74.125.230.84
google.com. 161 IN  A   74.125.230.81
google.com. 161 IN  A   74.125.230.83

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jan 12 08:50:00 2011
;; MSG SIZE  rcvd: 108

$
$ dig +short google.com   # More terse.
74.125.230.83
74.125.230.80
74.125.230.82
74.125.230.84
74.125.230.81
$
$ dig +short google.com mx   # Want MX records instead of default A.
400 google.com.s9b2.psmtp.com.
100 google.com.s9a1.psmtp.com.
300 google.com.s9b1.psmtp.com.
200 google.com.s9a2.psmtp.com.
$
$ dig +short google.com soa
ns1.google.com. dns-admin.google.com. 1438691 7200 1800 1209600 300
$
$ dig +multiline google.com soa   # Explain SOA numbers.

;  DiG 9.4.2-P2.1  +multiline google.com soa
;; global options:  printcmd
;; Got answer:
;; -HEADER- opcode: QUERY, status: NOERROR, id: 58553
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;google.com.IN SOA

;; ANSWER SECTION:
google.com. 57 IN SOA ns1.google.com. dns-admin.google.com. (
1438691; serial
7200   ; refresh (2 hours)
1800   ; retry (30 minutes)
1209600; expire (2 weeks)
300; minimum (5 minutes)
)

;; Query time: 81 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Wed Jan 12 08:50:33 2011
;; MSG SIZE  rcvd: 78

$
$ dig +short google.com ns   # Get nameservers.
ns1.google.com.
ns3.google.com.
ns2.google.com.
ns4.google.com.
$
$ dig +short @ns2.google.com google.com txt   # Send query to particular NS.
v=spf1 include:_netblocks.google.com ip4:216.73.93.70/31 
ip4:216.73.93.72/31 ~all
$

nslookup(1) predates dig but dig is more commonly used these days.

Cheers,
Ralph.


--
Next meeting:  Bournemouth, Tue or Wed 2011-02-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue

[Dorset] Next Meeting; Tuesday?

2011-01-12 Thread Ralph Corderoy

Hi,

Tim Waugh pointed out on #dorset that
http://dorset.lug.org.uk/wiki/doku.php?id=meetings:pub says

TimeTownVenue
Tuesday 2011-02-02 20:00Bournemouth The Broadway

but 2011-02-02 is a Wednesday.  Oops.

Have we settled on all meetings being on a Tuesday now?  IOW,
Bournemouth meetings are moving from Wednesday to Tuesday?  I'll assume
so unless you speak up in reply and will change the meeting date to
2011-02-01;  if you've already put an entry in your diary it needs
moving!

Cheers,
Ralph.


--
Next meeting:  Bournemouth, Tue or Wed 2011-02-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Message to Ralph: What was that command you used?

2011-01-12 Thread d-...@hadrian-way.co.uk
 

On 12 January 2011 at 08:55 Ralph Corderoy ra...@inputplus.co.uk wrote:

 It was dig(1);  domain information groper.  Here's some examples to send
 onto Paul. 
Thanks Ralph.  I've passed this on.

Terry Coles
--
Next meeting:  Bournemouth, Tue or Wed 2011-02-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue

Re: [Dorset] Next Meeting; Tuesday?

2011-01-12 Thread Tim Allen

Hi Ralph

On 12/01/11 09:05, Ralph Corderoy wrote:

Hi,

Tim Waugh pointed out on #dorset that
http://dorset.lug.org.uk/wiki/doku.php?id=meetings:pub says

TimeTownVenue
Tuesday 2011-02-02 20:00Bournemouth The Broadway

but 2011-02-02 is a Wednesday.  Oops.

Have we settled on all meetings being on a Tuesday now?  IOW,
Bournemouth meetings are moving from Wednesday to Tuesday?  I'll assume
so unless you speak up in reply and will change the meeting date to
2011-02-01;  if you've already put an entry in your diary it needs
moving!


As you know I'm not exactly a regular at the meetings - I try to get to 
the Blandford ones when possible but can't make Tuesdays.


Cheers

Tim


--
Next meeting:  Bournemouth, Tue or Wed 2011-02-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


[Dorset] Sending Email through talktalk from Abroad.

2011-01-12 Thread Ralph Corderoy

Hi Clive,

Regarding being able to send emails through talktalk's SMTP server from
a non-talktalk IP address, e.g. abroad, you're not the first person to
want to know.

http://www.talktalkmembers.com/forums/showthread.php?t=7616

He doesn't get a straight answer unfortunately and I've been unable to
find one either.  You could contact talktalk direct to find out;  I
couldn't register on those forums as they want phone and account numbers
else I'd ask on

http://www.talktalkmembers.com/forums/forumdisplay.php?f=98
Anything Else
This section of the support forum is for any other support related
question you may have that doesn't fit into one of the above
sections such as email and webspace issues.

You're after

http://en.wikipedia.org/wiki/SMTP_Authentication

Anyone else on the list know about talktalk?

You could attempt to query talktalk's SMTP server to see if it says it
supports it.  After installing package `netcat', something like

printf 'ehlo example.com\nquit\n' | nc -i 2 smtp.talktalk.net 25

Example output for a non-TT one.  It's the 250 lines that are
interesting.

$ printf 'ehlo example.com\nquit\n' | nc -i 2 relay.pair.com 2525
220 relay02.pair.com ESMTP
250-relay02.pair.com
250-PIPELINING
250 8BITMIME
221 relay02.pair.com
$ 

Cheers,
Ralph.


--
Next meeting:  Bournemouth, Tue or Wed 2011-02-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Sending Email through talktalk from Abroad.

2011-01-12 Thread Ralph Corderoy

Hi Tim,

 Even if if supports authentication, I'd doubt very much that they'd
 allow access through a non-talktalk line - that's pretty standard
 practice to prevent use as a spam relay.

Ah, is it?  I thought auth., or at least secure auth. where credentials
aren't passed as plain text, wsa there to permit this kind of thing.
You're right, it does seem many ISPs don't provide it though.  I see
plus.net does, but then I'm found them to be a bit better than average
in the past.


http://community.plus.net/library/email/testing-smtp-authentication-using-telnet/

 I have the same requirement and set up a home machine to be an
 authenticated SMTP relay over TLS. This then forwards to the ISP
 smarthost. It's quite simple to set up in Exim4 - if you want I can
 put my notes up on the Wiki. You'd obviously need to keep your home
 machine on 24/7 - ideal for one of those netbricks.

Clive was thinking of a netbrick like a Sheevaplug for another purpose
so this would be a solution for him too.  Clive, you'd configure your
Thunderbirds to send the email to your netbrick, whether you were home
or away, and it, with its talktalk IP address, would then send it onto
TT as happens from T'bird now.

You mentioned TT's offer may be up soon.  If you're thinking of
switching ISP it may be worth seeing if they offer authenticated SMTP
for when you're out and about.

Cheers,
Ralph.


--
Next meeting:  Bournemouth, Tue or Wed 2011-02-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Next Meeting; Tuesday?

2011-01-12 Thread Ralph Corderoy

Hi Tim,

  Have we settled on all meetings being on a Tuesday now?  IOW,
  Bournemouth meetings are moving from Wednesday to Tuesday?  I'll
  assume so unless you speak up in reply and will change the meeting
  date to 2011-02-01;  if you've already put an entry in your diary it
  needs moving!
 
 As you know I'm not exactly a regular at the meetings - I try to get
 to the Blandford ones when possible but can't make Tuesdays.

Ah, that's a shame, and a different kettle of fish.  How about

Bournemouth Tuesday, as it is the non-kareoke quiet night,
hopefully.

Blandford Forum Wednesday, as they always seem to be nice and
reservedly quiet.

IOW, swap.  Brickbats please, or forever hold your piece.

Cheers,
Ralph.


--
Next meeting:  Bournemouth, Tue or Wed 2011-02-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Sending Email through talktalk from Abroad.

2011-01-12 Thread Tim Allen

Hi Ralph

On 12/01/11 11:49, Ralph Corderoy wrote:

Hi Tim,


Even if if supports authentication, I'd doubt very much that they'd
allow access through a non-talktalk line - that's pretty standard
practice to prevent use as a spam relay.


Ah, is it?  I thought auth., or at least secure auth. where credentials
aren't passed as plain text, wsa there to permit this kind of thing.
You're right, it does seem many ISPs don't provide it though.  I see
plus.net does, but then I'm found them to be a bit better than average
in the past.


Talktalk is very consumer-targeted. It would only require a credentials 
leak from one of their hundreds of thousands of customers and they'd 
have an open relay on their hands.


I've stuck the notes on the Wiki at

http://dorset.lug.org.uk/wiki/doku.php?id=articles:eximsecuresmtp



Cheers

Tim



--
Next meeting:  Bournemouth, Tue or Wed 2011-02-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue


Re: [Dorset] Sending Email through talktalk from Abroad.

2011-01-12 Thread John Carlyle-Clarke

On 12/01/11 11:13, Tim Allen wrote:

I have the same requirement and set up a home machine to be an
authenticated SMTP relay over TLS. This then forwards to the ISP
smarthost. It's quite simple to set up in Exim4 - if you want I can put
my notes up on the Wiki. You'd obviously need to keep your home machine
on 24/7 - ideal for one of those netbricks.



I tend to run at least one machine at home that's on 24/7 and that 
listens for ssh.


That way I can tunnel smtp via my home machine using:

ssh my.home.machine -L 2525:smtp.example.com:25

(Replace my.home.machine with the IP or DNS name of your home, and 
smtp.example.com with your ISP's SMTP server).


This ssh command redirects all traffic to port 2525 on your local 
machine to port 25 on your ISP's mailserver, but via your home connection.


I have an extra SMTP profile in Thunderbird that uses localhost:2525 
as the SMTP server.


I did (and still do) run a mailserver at home but find this method 
simpler and tend to use it more, as it only relies on opensshd.



--
Next meeting:  Bournemouth, Tue or Wed 2011-02-?? 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue