Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sendmail
Message
Information générale
Forum:
Linux
Catégorie:
Autre
Titre:
Divers
Thread ID:
00635357
Message ID:
00635970
Vues:
24
Hi,

Are you trying to get mail as root? If so this could be the problem. Try using a regular user name to retrive the mail from your linux box.

Also, I had to configure two files before I could use sendmail. The two files are access and aliases. On my Red Hat 7.1 system, the access file is located in the /etc/mail directory.

I put into the access file users that are allowed to relay mail as follows:

localhost.localdomain RELAY
localhost RELAY
127.0.0.1 RELAY
192.168.1.79 RELAY
192.168.1.117 RELAY
192.168.1.52 RELAY
192.168.1.1 RELAY
192.168.1.21 RELAY
192.168.1.18 RELAY
baddomain.net 550 Mail from your domain is denied
192.168.1.10 555 Internet mail may not be sent from this host
smvfp.com RELAY
mail.smvfp.com RELAY
www.smvfp.com RELAY
ftp.smvfp.com RELAY



The above is what the access file might look like. When your done with it issue the following command:

makemap hash /etc/mail/access < /etc/mail/access

This builds the access.db file from the access text file.

Next you need to make a modification to your aliases text file. On my Red Hat Linux box it is located in the /etc directory. It provides for the general redirection of pseudo accounts:

using my editor of choice I edited this file as follows:

vi /etc/aliases

un-comment the entry for root that looks something like

# root: somename

to

root: winan


After making this change issue the following command from the command window:

newaliases

This forces the sendmail system to update the alias map file.

After doing this all super user root email will go to the winan account and you will be notified of any administrative alerts via email.

Also, be sure and use your actual winan name and winan password in the Outlook client.

Sendmail works with about every client including outlook, outlook express, netscape, Mazilla, Kmail, Opera, etc and the list goes on so this is probably not a problem. However, each mail client must be properly configured.

Based on the error message it is possible the the 192.11.21.1 address is not being found by the outlook client. On your start menu click on run and then enter cmd to access the command window in windows. Then do a ping as follows:

ping 192.11.21.1

I think the ping command is part of the NT 4.0 resource kit. If your window's box cann't find the ping command try to bring up the default Red Hat web page located on the linux box by entering the following in your Internet explorer for one of the windows servers or clients:

http://192.11.21.1

If you have the httpd service running on the linux box and the window's server can find the linux box, it should display the defualt web page of the linux box in the IE of the window's server. This default web page can also be displayed by entering http://localhost in the linux's box web browser.

If this doesn't work you may need to set up samba and join the window NT domain. This would allow the linux box to appear in the window's network neighborhood.

Did you setup the nuconfig.mc text file and build the sendmail.cf file from it using m4? If so were there any error? I still thing the problem is either the linux box is not being found in the local network, or the SMTP part of sendmail is not included in the sendmail.cf program.
Leland F. Jackson, CPA
Software - Master (TM)
smvfp@mail.smvfp.com
Software Master TM
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform