How to setup inbounding email?

Hello, everyone,

I tried to configure according to RT Essential.
However, I do have difficult to understand the
following description from that book. I am using Qmail
right now.And my qmail was installed in
/var/qmail/bin.
My rt was installed in /opt/rt3 while my httpd sever
was installed in /usr/local/httpd2055_rt.

I described my questions in the description. However,
the main problem is what I asked before. I couldn’t
find all the location described in this book. Could
you give me somehint. Right now I have to configure
the inbounding email to make it work. Right now it
will not receive any incoming email.

BTW, I am running RT with a dynamic ip address right
now. It rarely change. Where should I configure to
make qmail work with dynamic ip address?

Thanks,
–Paul

//////////////////////////////////////////////////////
.7.3. Using the mailgate with qmail
Unlike Sendmail and Postfix, qmail uses
specially-named files in a user’s home directory to
determine the handler for a message. Since you have
already created a user account for RT, you can set
that user up to process all RT-related mail. When
qmail’s delivery agent tries to figure out what to do
with an incoming message for a user, it first looks to
see if there is an extension to the username. By
default, this extension is separated from the username
by a dash (-), so you could have
rt-foo@rt.example.com, where rt is the username and
foo is the extension. If there is an extension, then
qmail will look in the rt user’s ~/.qmail-foo file for
delivery instructions. Otherwise, it looks in the rt
user’s ~/.qmail file.

To set up mail delivery into RT, you can create a
series of .qmail files, two for each queue (for
responses and comments). For example, the General
queue would be handled by these files:

//Do you know how to create the .qmail files for these

// two queues?

# cat ~rt/.qmail-general

|/opt/rt3/bin/rt-mailgate --queue General --action
correspond --url

http://rt.example.com/

# cat ~rt/.qmail-general-comment

|/opt/rt3/bin/rt-mailgate --queue General --action
comment --url http://rt.example.com/

//Do I have to just make a file like that?Once I
//created these two file, where should I put that
//?Should Ijust put that to the /opt/rt3 installation
//or are there other people to use?

With these files in place, mail sent to
rt-general@rt.example.com will become correspondence
in the General queue, and mail sent to
rt-general-comment@rt.example.com will become comments
in the General queue.

You also can create a catch-all .qmail-default file:

# cat ~rt/.qmail-default

|/opt/rt3/bin/rt-mailgate --queue $DEFAULT --action
correspond --url http://rt.example.com/

Anything sent to rt-queuename will be delivered as
correspondence to the queuename queue.

Note the rt- at the beginning of each address; that is
because the mail is actually being sent to the rt user
and handled using qmail’s convenient features. Setting
up qmail so that these messages are handled globally,
and not by a particular user, is a little different.
Rather than a global /etc/aliases file, like the other
MTAs use, qmail has a general alias user that handles
all system-wide aliases. To make this user handle mail
for RT, simply create the files ~alias/.qmail-general
and ~alias/.qmail-general-comment with the same
content as before. This allows the RT addresses to be
general@rt.example.com and
general-comments@rt.example.com. Under RT2, the mail
handling script had to be setgid to the rt group, so
the user restriction was important, but under RT3,
this is no longer the case.

/////////////////////////////////////////////////////////

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

zhou jian wrote:

BTW, I am running RT with a dynamic ip address right
now. It rarely change. Where should I configure to
make qmail work with dynamic ip address?

I believe its very hard to use inbound mail with DHCP. You need to use
ur FQDN in qmail configuration, if ur ISP provides any.

Nadeem

I checked the “FQDN” as you mentioned.“FQDN is the
fully qualified domain name of the POP server you’re
setting up, e.g., pop.example.net”.Since I am in a
research group right now. Probably I can get this kind
of FQDN setting. My question is, is this possible for
getting FQDN even for a dynamic ip address?

— Nadeem Shahbaz nadeem.shahbaz@prog.awpdc.com
wrote:

zhou jian wrote:

BTW, I am running RT with a dynamic ip address
right
now. It rarely change. Where should I configure to
make qmail work with dynamic ip address?

I believe its very hard to use inbound mail with
DHCP. You need to use
ur FQDN in qmail configuration, if ur ISP provides
any.

Nadeem

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

try dyndns.
Torsten
True push email for the Treo Smartphone
http://get.chatteremail.comFrom: zhou jian sunzhoujian@yahoo.com
Date: Saturday, Mar 4, 2006 9:01 pm
Subject: Re: [rt-users] How to setup inbounding email?

I checked the “FQDN” as you mentioned.“FQDN is the
fully qualified domain name of the POP server you’re
setting up, e.g., pop.example.net”.Since I am in a
research group right now. Probably I can get this kind
of FQDN setting. My question is, is this possible for
getting FQDN even for a dynamic ip address?
— Nadeem Shahbaz nadeem.shahbaz@prog.awpdc.com
wrote:

zhou jian wrote:

BTW, I am running RT with a dynamic ip address
right
now. It rarely change. Where should I configure to
make qmail work with dynamic ip address?

I believe its very hard to use inbound mail with
DHCP. You need to use
ur FQDN in qmail configuration, if ur ISP provides
any.
Nadeem

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection aroundhttp://mail.yahoo.com_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media. Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: http://bestpractical.com/about/jobs.htm

If I got the static ip address, how should I configure
to make the whole process work?— zhou jian sunzhoujian@yahoo.com wrote:

I checked the “FQDN” as you mentioned.“FQDN is the
fully qualified domain name of the POP server you’re
setting up, e.g., pop.example.net”.Since I am in a
research group right now. Probably I can get this
kind
of FQDN setting. My question is, is this possible
for
getting FQDN even for a dynamic ip address?

— Nadeem Shahbaz nadeem.shahbaz@prog.awpdc.com
wrote:

zhou jian wrote:

BTW, I am running RT with a dynamic ip address
right
now. It rarely change. Where should I configure
to

make qmail work with dynamic ip address?

I believe its very hard to use inbound mail with
DHCP. You need to use
ur FQDN in qmail configuration, if ur ISP provides
any.

Nadeem


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

try to set up a mx record for your mail server…
True push email for the Treo Smartphone
http://get.chatteremail.comFrom: zhou jian sunzhoujian@yahoo.com
Date: Saturday, Mar 4, 2006 9:09 pm
Subject: Re: [rt-users] How to setup inbounding email?

If I got the static ip address, how should I configure
to make the whole process work?

THanks a lot. Could you tell me how do you configure
this with qmail and RT? Since I am really a newbie in
this field, I would appreciate your detailed
information. Thanks again for your help.

try dyndns.
Torsten

Sent with ChatterEmail
True push email for the Treo Smartphone
http://get.chatteremail.com

-----Original Message-----
From: zhou jian sunzhoujian@yahoo.com
Date: Saturday, Mar 4, 2006 9:01 pm
Subject: Re: [rt-users] How to setup inbounding
email?

I checked the “FQDN” as you mentioned.“FQDN is the
fully qualified domain name of the POP server you’re
setting up, e.g., pop.example.net”.Since I am in a
research group right now. Probably I can get this
kind
of FQDN setting. My question is, is this possible
for
getting FQDN even for a dynamic ip address?
— Nadeem Shahbaz nadeem.shahbaz@prog.awpdc.com
wrote:

zhou jian wrote:

BTW, I am running RT with a dynamic ip
address
right

now. It rarely change. Where should I configure
to

make qmail work with dynamic ip address?

I believe its very hard to use inbound mail
with
DHCP. You need to use
ur FQDN in qmail configuration, if ur ISP provides
any.

Nadeem


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection

aroundhttp://mail.yahoo.com_______________________________________________

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from
O’Reilly Media. Buy a copy at
http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical:
http://bestpractical.com/about/jobs.htm

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

ok,
is your box connected to the net with a dynamic ip - SET UP a dyndns entry (www.dyndns.org) with a mx record. Get the dyndns client from there and configure. Now you can reach your box via dns. Setup apache virt. Host to work correctly (google helps) with the dnydns service, configure your qmail (sorry can’t help, using exim) and follow the tips at the wiki for mail setup.

Torsten
True push email for the Treo Smartphone
http://get.chatteremail.comFrom: zhou jian sunzhoujian@yahoo.com
Date: Saturday, Mar 4, 2006 9:20 pm
Subject: Re: [rt-users] How to setup inbounding email?

THanks a lot. Could you tell me how do you configure
this with qmail and RT? Since I am really a newbie in
this field, I would appreciate your detailed
information. Thanks again for your help.

try dyndns.
Torsten
True push email for the Treo Smartphone
http://get.chatteremail.com

From: zhou jian sunzhoujian@yahoo.com
Date: Saturday, Mar 4, 2006 9:01 pm
Subject: Re: [rt-users] How to setup inbounding
email?

I checked the “FQDN” as you mentioned.“FQDN is the
fully qualified domain name of the POP server you’re
setting up, e.g., pop.example.net”.Since I am in a
research group right now. Probably I can get this
kind
of FQDN setting. My question is, is this possible
for
getting FQDN even for a dynamic ip address?
— Nadeem Shahbaz nadeem.shahbaz@prog.awpdc.com
wrote:

zhou jian wrote:

BTW, I am running RT with a dynamic ip
address
right

now. It rarely change. Where should I configure
to

make qmail work with dynamic ip address?

I believe its very hard to use inbound mail
with
DHCP. You need to use
ur FQDN in qmail configuration, if ur ISP provides
any.

Nadeem

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection

aroundhttp://mail.yahoo.com_______________________________________________

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from
O’Reilly Media. Buy a copy at
http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical:
http://bestpractical.com/about/jobs.htm

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

I took a look at this one. It looks like that I have
to
purchase some kind of dns name. Also, why do I have to
use exim since I am going to use qmail?

ok,
is your box connected to the net with a dynamic ip -
SET UP a dyndns entry (www.dyndns.org) with a mx
record. Get the dyndns client from there and
configure. Now you can reach your box via dns. Setup
apache virt. Host to work correctly (google helps)
with the dnydns service, configure your qmail (sorry
can’t help, using exim) and follow the tips at the
wiki for mail setup.

Torsten

Sent with ChatterEmail
True push email for the Treo Smartphone
http://get.chatteremail.com

-----Original Message-----
From: zhou jian sunzhoujian@yahoo.com
Date: Saturday, Mar 4, 2006 9:20 pm
Subject: Re: [rt-users] How to setup inbounding
email?

THanks a lot. Could you tell me how do you configure
this with qmail and RT? Since I am really a newbie
in
this field, I would appreciate your detailed
information. Thanks again for your help.

try dyndns.
Torsten


Sent with ChatterEmail
True push email for the Treo Smartphone
http://get.chatteremail.com

-----Original Message-----
From: zhou jian sunzhoujian@yahoo.com
Date: Saturday, Mar 4, 2006 9:01 pm
Subject: Re: [rt-users] How to setup inbounding
email?

I checked the “FQDN” as you mentioned.“FQDN is the
fully qualified domain name of the POP server
you’re
setting up, e.g., pop.example.net”.Since I am in a
research group right now. Probably I can get this
kind
of FQDN setting. My question is, is this possible
for
getting FQDN even for a dynamic ip address?
— Nadeem Shahbaz nadeem.shahbaz@prog.awpdc.com
wrote:

zhou jian wrote:

BTW, I am running RT with a dynamic ip
address
right

now. It rarely change. Where should I configure
to

make qmail work with dynamic ip address?

I believe its very hard to use inbound mail
with
DHCP. You need to use
ur FQDN in qmail configuration, if ur ISP
provides
any.

Nadeem


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection

aroundhttp://mail.yahoo.com_______________________________________________

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials
from
O’Reilly Media. Buy a copy at
http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical:
http://bestpractical.com/about/jobs.htm


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

For virtual hostname, If I can purchase one, I just
setup that in my httpd.conf file. Since I don’t have
experience on that, what type of service should I
purchase there?

ok,
is your box connected to the net with a dynamic ip -
SET UP a dyndns entry (www.dyndns.org) with a mx
record. Get the dyndns client from there and
configure. Now you can reach your box via dns. Setup
apache virt. Host to work correctly (google helps)
with the dnydns service, configure your qmail (sorry
can’t help, using exim) and follow the tips at the
wiki for mail setup.

Torsten

Sent with ChatterEmail
True push email for the Treo Smartphone
http://get.chatteremail.com

-----Original Message-----
From: zhou jian sunzhoujian@yahoo.com
Date: Saturday, Mar 4, 2006 9:20 pm
Subject: Re: [rt-users] How to setup inbounding
email?

THanks a lot. Could you tell me how do you configure
this with qmail and RT? Since I am really a newbie
in
this field, I would appreciate your detailed
information. Thanks again for your help.

try dyndns.
Torsten


Sent with ChatterEmail
True push email for the Treo Smartphone
http://get.chatteremail.com

-----Original Message-----
From: zhou jian sunzhoujian@yahoo.com
Date: Saturday, Mar 4, 2006 9:01 pm
Subject: Re: [rt-users] How to setup inbounding
email?

I checked the “FQDN” as you mentioned.“FQDN is the
fully qualified domain name of the POP server
you’re
setting up, e.g., pop.example.net”.Since I am in a
research group right now. Probably I can get this
kind
of FQDN setting. My question is, is this possible
for
getting FQDN even for a dynamic ip address?
— Nadeem Shahbaz nadeem.shahbaz@prog.awpdc.com
wrote:

zhou jian wrote:

BTW, I am running RT with a dynamic ip
address
right

now. It rarely change. Where should I configure
to

make qmail work with dynamic ip address?

I believe its very hard to use inbound mail
with
DHCP. You need to use
ur FQDN in qmail configuration, if ur ISP
provides
any.

Nadeem


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection

aroundhttp://mail.yahoo.com_______________________________________________

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials
from
O’Reilly Media. Buy a copy at
http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical:
http://bestpractical.com/about/jobs.htm


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

“mx record” What do you mean for “mx record”?

I checked with the DynDNS website. The following is
the information I got.

/////////////////////////////////////////////////////

MailHopSM

MailHop is a range of services designed to enhance
your e-mail and complement our extensive range of DNS
services. Read below for descriptions of each of the
MailHop services.

Purchase MailHop - Manage Existing MailHops
MailHop Forward

Set up user-based redirection of e-mail for your
domain name without running your own mail server with
our MailHop Forwarding service. Stop spam and viruses
with our spam scanning and virus filtering, available
for all addresses on your domain.
MailHop Forward Details…
MailHop Relay

Port 25 blocked by your ISP? Use our MailHop Relay
service to get around it by sending your mail through
our servers and on to yours. Two globally-redundant
servers will store your mail and send it to the port
of your choice when your server is online.
MailHop Relay Details…
MailHop Backup MX

Make sure you always get your mail, even if your
server is offline for extended periods, with our
MailHop Backup MX service. We’ll queue your mail for
up to 10 days, with no limits on how much you receive.
MailHop Backup MX Details…
MailHop Outbound

Relay your mail through our server, no matter what ISP
you’re connected on. Blocked outbound ports and picky
ISP mail servers are a thing of the past. Connect with
SSL and your message will be secured until it leaves
our mail server for delivery.
MailHop Outbound Details…

ok,
is your box connected to the net with a dynamic ip

SET UP a dyndns entry (www.dyndns.org) with a mx
record. Get the dyndns client from there and
configure. Now you can reach your box via dns.
Setup
apache virt. Host to work correctly (google helps)
with the dnydns service, configure your qmail
(sorry
can’t help, using exim) and follow the tips at the
wiki for mail setup.

Torsten

Sent with ChatterEmail
True push email for the Treo Smartphone
http://get.chatteremail.com

-----Original Message-----
From: zhou jian sunzhoujian@yahoo.com
Date: Saturday, Mar 4, 2006 9:20 pm
Subject: Re: [rt-users] How to setup inbounding
email?

THanks a lot. Could you tell me how do you
configure
this with qmail and RT? Since I am really a newbie
in
this field, I would appreciate your detailed
information. Thanks again for your help.

try dyndns.
Torsten


Sent with ChatterEmail
True push email for the Treo Smartphone
http://get.chatteremail.com

-----Original Message-----
From: zhou jian sunzhoujian@yahoo.com
Date: Saturday, Mar 4, 2006 9:01 pm
Subject: Re: [rt-users] How to setup inbounding
email?

I checked the “FQDN” as you mentioned.“FQDN is
the
fully qualified domain name of the POP server
you’re
setting up, e.g., pop.example.net”.Since I am in
a
research group right now. Probably I can get this
kind
of FQDN setting. My question is, is this possible
for
getting FQDN even for a dynamic ip address?
— Nadeem Shahbaz
nadeem.shahbaz@prog.awpdc.com
wrote:

zhou jian wrote:

BTW, I am running RT with a dynamic ip
address
right

now. It rarely change. Where should I
configure
to

make qmail work with dynamic ip address?

I believe its very hard to use inbound mail
with
DHCP. You need to use
ur FQDN in qmail configuration, if ur ISP
provides
any.

Nadeem


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection

aroundhttp://mail.yahoo.com_______________________________________________

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials
from
O’Reilly Media. Buy a copy at
http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical:
http://bestpractical.com/about/jobs.htm


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com


Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

“mx record” What do you mean for “mx record”?

DNS has ‘A’ (address) records that map a name to an
IP number, ‘CNAME’ (alias) records that map a name to
a different name and all of its records, ‘PTR’ records
that map IP numbers back to a name, and ‘MX’ (mail exchange)
records that map a name used in email to the host(s) where
it can be delivered. Most organizations delegate certain
machines to receive email from the internet and point an
MX record there.

Is this an existing organization that already has a domain
name and DNS in place? If so you need to find the person
who maintains it to have your host names and records added.
If it is a new domain name you need to either arrange for
someone to provide DNS service for it or you’ll need to do
it yourself by registering your own name servers for the
domain and setting up the appropriate zone file(s).

Les Mikesell
les@futuresource.com