Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

LAN mail server

From: rocky <rocky2winnie(at)gmail.com>
Date: Thu Aug 02 2007 - 02:17:25 EDT


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- ---->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
reply to             root,
                          LIJIANG<>
         to              myemail@mycompany.com
                    ....
                    ....
--------------------------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 rocky@2ndsite.in ---- >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 rocky@2ndsite.in 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 root@rocky instead of root@woody.2ndsite.in or root@2ndsite.in. 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 debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Thu Aug 2 02:42:58 2007
Do you need help?X

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 18:39:18 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library