Linux Distribution > Distribution Specific

configuring sendmail

<< < (2/4) > >>

murali:
hi thanks for ur reply,
                       i got all the points u sent.what my doubt is how to create user accounts for windows,,dont think this is silly question as i am new to this linux world i dont know mcuh.and one more doubt is in windows client machine  how can i see this mails and if i want to send mails from windows what i have to do.if u can clarify these i will be thankful to u.
regards,
murali.



--- Quote from: "dragoncity99" ---Ok Red Hat 9. I assume u have created user accounts for the windoze users in ur mail server.

1) Go to the /etc/mail directory.  Type cd /etc/mail

2) U will see a file called sendmail.mc

3) Open the file with vi and goto a line where it looks like this:
     
          DAEMON_OPTIONS('Port=smtp, Addr=127.0.0.1, MTA')
Change the value Addr from 1270.0.1 to ur server's ip address.

4) Save and exit.

5) Open a file in /etc/mail with the name "access".
U will see lines like this:
localhost               RELAY
127.0.0.1              RELAY

All u have to do is add ur server's ip address to it and followed by the keyword "RELAY"

If necessary add ur server's hostname too. For me it's richard.sybex.com                 RELAY

6) Save ur file and exit.

7) Now leave the /etc/mail directory. Type  cd /

8) Compile the /etc/mail directory by typing: make -C /etc/mail

9) To make ur configuration work, stop the sendmail service and restart it. Use the commands below:

           (i) killall -HUP sendmail
           (ii) service sendmail start
--- End quote ---

dragoncity99:
How to create user accounts for windows?

1) Add the account in ur mail server. Type: useradd username (i.e. useradd richard)
2) Set the user a password. Type: passwd username (i.e. passwd richard)

How to see mails from windows? Good question :)
Here I will assume u use Outlook Express
1) Click menu Tools -> Accounts
2) Click Add -> Mails... on the Internet Account... dialog boxes.
3) These are the list of Internet Connection Wizard Fields and wat u should enter for ur config.

i.    Display Name = You Name
ii.   Email Address = username@ip_address_of_ur_mail_server
iii.  My Incoming Mail Server is a = ur mail server type: i assume u use POP3
iv.  Incoming Mail = your_mail_server_ip
iv.  Outgoing Mail = you_mail_server_ip
v.   Account Name = username_you_just_created_in_mail_server
vi.  Password = password_you_created_for_the_username_in_mail_server

One last thing: If u use POP3, make sure u have started the POP3 service.
How? Just type setup in the command line and go to System Services. Just check the POP3 service (ipop3....) and quit. Restart ur mail server.

murali:
hi,
   with this setup can we send mails to outside world like from my client machine to XXXXX@yahoo.com
regards,
murali.

dragoncity99:
No, this will only make ur mail server to work on LAN only.

murali:
hi,
    then how to make my server to work for outside world also.pls tell me changes i have to made coz soon my boss will be registering a server soon.
regards,
murali.






--- Quote from: "dragoncity99" ---No, this will only make ur mail server to work on LAN only.
--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version