Hey list,

My desktop has Debian Etch running on it. In order to learn DNS, mail
server stuff, I installed bind9, apache2, sendmail and ipopd. I have
set up DNS correctly so use other system on the same LAN can browse to
the /var/www/2ndsite/htdocs directory by entering www.2ndsite.in into
the address bar. After the DNS server and Apache server has been set
up correctly, I move to set up the mail server by doing the below:

1, Install and configure the send mail. Aptitude install sendmail-
bin---->vi /etc/mail/sendmail.mc to comment the lines and they looks
like this
-----------------sendmail.mc--------------------------------
        ....
        ....
dnl FEATURE(`no_default_msa')dnl
dnl DAEMON_OPTIONS(`Family=inet, Name=MTA-v4, Port=smtp,
Addr=127.0.0.1')dnl
dnl DAEMON_OPTIONS(`Family=inet, Name=MSP-v4, Port=submission,
Addr=127.0.0.1')dnl
       ....
       ....
MAILER(`local')dnl
MAILER(`smtp')dnl
Cw woody.2ndsite.in
Cw 2ndsite.in
-----------------sendmail.mc--------------------------------
Afterward, I run sendmailconfig and Accept "Yes" option for all the
prompt. Finally I made the /etc/hosts looks like below
------------/etc/hosts----------------------------------
127.0.0.1 woody.2ndsite.in  LIJIANG
192.168.1.55    woody.2ndsite.in        2ndsite.in      loghost
mailhost
    ...
    ...
------------/etc/hosts----------------------------------
2, Install and configure pop server. Aptitude install ipopd, accept
the default prompt and choose pop3.
3, testing SMTP. In the shell input mail and send mail to my company
email account. I can receive the testing email send through the Debian
box. But the header read as
---------------------mail header-----------------------
    from              root<[EMAIL PROTECTED]>
reply to             root<[EMAIL PROTECTED]>,
                          LIJIANG<>
         to              [EMAIL PROTECTED]
                    ....
                    ....
--------------------------mail header------------------
To test the SMTP withing the Debian box, I logged into the system as
root and start mail from the shell by input mail [EMAIL PROTECTED] ----
>logged into system as rocky and start mail from shell. And the mail
told me no mail is there.
4, testing pop server. telnet 192.168.1.55 110 from other system
within the same LAN. It says" +OK POP3 woody.2ndsite.in v2003.83
server ready"---->input user rocky  or user [EMAIL PROTECTED] tells me
"-ERR Unknown AUTHORIZATION state command"

>From above item 3, The SMTP does not set up perfectly. Firstly, even I
can send out the emails but the from address in the mail header read
as [EMAIL PROTECTED] instead of [EMAIL PROTECTED] or [EMAIL PROTECTED]
Secondly, I can not email to the system users after logged into the
Debian system.

In addition, Above item 4 tells me the POP server does not work
perfectly as well. Even I can telnet to the POP server, I could not
get any one authorizede.

If any of you could help me on this, I would really appreciate it?

Blessings,
Rocky


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to