Differences between revisions 5 and 6
Revision 5 as of 2006-06-24 01:31:15
Size: 8115
Editor: OsamuAoki
Comment:
Revision 6 as of 2006-06-24 13:15:32
Size: 1612
Editor: OsamuAoki
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

= My Wiki contents =
 * [DebianServiceForDD Debian Service for DD]
Line 56: Line 59:

= Services provided for the DD =

Debian DNS and BSMTP are lesser known service for the DD but these are quite useful.

Following is not tested contents. This is under contraction.

When we got Debian account as DD, we knew we obtained followings:
 * package upload privilage,
 * a cute mail address like osamu@debian.org on MX=master.debian.org, (You can forward but there is no POP service) and
 * shell accounts on many fast/strange architecture machines.

We have few more less known benefits.
 * Alternative mail account like osamu@people.debian.org on MX=people.debian.org
   * check the latest DNS MX record.
 * Access to the third level domain names *.debian.net
   * Set this via GPG signed mail to changes@db.debian.org
   * virtual domain MX support on Debian host machines.
     * Accessible through SSH/BSMTP on debian hosts.
     * People seem to use people.debian.org machine.
     * The use of this eliminates needs for POP server at Debian or your external mail address.
 * additional mail accounts with suffix such as osamu-list@debian.org and osamu-list@people.debian.org.
   * Check /etc/exim4/* of each host

== Example of DNS and BSMTP setup ==

Let's login to debian machine. (Here, people.debian.org.)

{{{
osamu@gluck:osamu$ dig mentors.debian.net ANY

; <<>> DiG 9.2.4 <<>> mentors.debian.net ANY
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23881
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4
;; QUESTION SECTION:
;mentors.debian.net. IN ANY

;; ANSWER SECTION:
mentors.debian.net. 3600 IN CNAME mentors.workaround.org.
;; AUTHORITY SECTION:
debian.net. 3600 IN NS klecker.debian.org.debian.net. 3600 IN NS saens.debian.org.
debian.net. 3600 IN NS spohr.debian.org.
debian.net. 3600 IN NS samosa.debian.org.

;; ADDITIONAL SECTION:
saens.debian.org. 3600 IN A 128.101.240.212
spohr.debian.org. 300 IN A 140.211.166.43
samosa.debian.org. 3600 IN A 192.25.206.57
klecker.debian.org. 3600 IN A 194.109.137.218

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun 23 19:02:18 2006
;; MSG SIZE rcvd: 226

osamu@gluck:osamu$ dig kahori.debian.net ANY

; <<>> DiG 9.2.4 <<>> kahori.debian.net ANY
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 23295
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;kahori.debian.net. IN ANY

;; AUTHORITY SECTION:
debian.net. 3600 IN SOA samosa.debian.org. hostmaster.de bian.org. 2006062321 3600 1800 604800 3600

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun 23 19:02:31 2006
;; MSG SIZE rcvd: 99

osamu@gluck:osamu$ dig osamu.debian.net ANY

; <<>> DiG 9.2.4 <<>> osamu.debian.net ANY
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 25219
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 4
;; QUESTION SECTION:
;osamu.debian.net. IN ANY

;; ANSWER SECTION:
osamu.debian.net. 3600 IN CNAME kahori.dyndns.org.

;; AUTHORITY SECTION:
debian.net. 3600 IN NS klecker.debian.org.debian.net. 3600 IN NS saens.debian.org.
debian.net. 3600 IN NS spohr.debian.org.
debian.net. 3600 IN NS samosa.debian.org.

;; ADDITIONAL SECTION:
saens.debian.org. 3600 IN A 128.101.240.212
spohr.debian.org. 300 IN A 140.211.166.43
samosa.debian.org. 3600 IN A 192.25.206.57
klecker.debian.org. 3600 IN A 194.109.137.218

;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Fri Jun 23 19:03:00 2006
;; MSG SIZE rcvd: 219

osamu@gluck:osamu$
}}}
Yep I had 2 domains set up. Since my dyndns.org setup seems to be unfunctional, let's update my "osamu.debian.net" to be pointing to people.debian.org.

Let's see who uses this host for BSMTP by "{{{cat /etc/exim/bsmtp}}}" and check their domain set up. (I am not publishing exact content of these and hiding some contents here Try these command yourself.):
{{{
osamu@gluck:exim$ cat bsmtp
r****.debian.net: user=d** group=Debian file=/home/d**/bsmtp/r*****.debian.net
s*****.debian.net: user=b** group=Debian file=/home/b**/bsmtp/s*****.debian.net
...
r***.debian.net: user=c******* group=Debian file=/home/c*******/bsmtp/r***.debian.net
...
osamu@gluck:exim$ dig r***.debian.net ANY
...
;; QUESTION SECTION:
;r***.debian.net. IN ANY

;; ANSWER SECTION:
r***.debian.net. 3600 IN MX 0 gluck.debian.org.

...

osamu@gluck:exim$ dig snoopy.debian.net ANY
...
;; QUESTION SECTION:
;s*****.debian.net. IN ANY

;; ANSWER SECTION:
s*****.debian.net. 3600 IN MX 10 s*****.a****.org .au.
s*****.debian.net. 3600 IN MX 20 s*****.m****** u*****.com.au.
s*****.debian.net. 3600 IN MX 30 alts*****.m***** o*********.com.au.
s*****.debian.net. 3600 IN MX 0 gluck.debian.org.
s*****.debian.net. 3600 IN TXT "PGP ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** **"
s*****.debian.net. 3600 IN TXT "PGP **** **** **** **** **** **** **** **** ****"
s*****.debian.net. 3600 IN TXT "******** <b**@debian.org>"
s*****.debian.net. 3600 IN A 2**.1**.1**.8*
...
}}}

The first one is for one with just fast internet connection without any SMTP mail hosts to get BSMTP service via Debian host. (The second one is for you with fixed IP SMTP mail hosts. Let's leave this for now.)

I will set up "osamu.debian.net" to be BSMTP host.


See following original documents for how exactly to do these.
 * [http://db.debian.org/forward.html Debian GNU/Linux -- Email Forwarding]
 * [http://db.debian.org/doc-mail.html Debian GNU/Linux -- LDAP Gateway]
 * [http://lists.debian.org/debian-devel/2001/debian-devel-200102/msg00965.html BSMTP on debian.net]
 * [http://riva.ucam.org/svn/cjwatson/bin/bsmtp-pull-server bsmtp-pull-server]
 * [http://riva.ucam.org/svn/cjwatson/bin/bsmtp-pull bsmtp-pull]

Describe OsamuAoki here.

My Wiki contents

  • [DebianServiceForDD Debian Service for DD]

Important links

I have been working on several projects. Here are the links.


Osamu Aoki