1825827 Members
2908 Online
109688 Solutions
New Discussion

Re: Pb sendmail

 
DELVALLE
New Member

Pb sendmail

Je suis sous linux Red Hat 7.3
Sur un poste windows avc outlook express, je peux recevoir de email... MAIS... je ne peux pas les envoyer. Pourtant mon port smtp sur linux et ouvert.

Merci d'avance pour toutes solutions.
6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: Pb sendmail

I speak no French and understand little.

But it seems that you need to get mail off your Linux box onto an exchange server.

You edit the file /etc/sendmail.cf

You look for the DS directive.

Change

DS

to

DS
[IP_address_of_exchange_server]


save the file.

service sendmail restart

This establishes intent to relay mail via the exchange server. It must explicitly authorize mail transfer or it will reject your mail.

Here is how to diagnose sendmail issues:


Again on the Linux box.
sendmail -v -d8 -d38 someaddress@yourdomian.net

Type in some text, hit enter


Type in a dot(period) hit enter


You will get some mail diagnostics.

Just wondering if HP has a french language forum. Anyway if you understand English, the proposed solution should help.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Kasper Haitsma
Trusted Contributor

Re: Pb sendmail

Hello,

http://babelfish.altavista.com/ gives:
I am under linux Red Hat 7.3 On a station Windows avc outlook express train, I can receive email... BUT... I cannot send them. However my port smtp on linux and open.

It depends on how you have installed your Linux RH 7.3 environment. By default, a lot of ports are closed by the firewall (IPChains & IPTables).. You can check and change this with the command: chkconfig (chkconfig --list, chkconfig --levels on).
You can also test connectivity from your Windows station. Open a cmd box, and run 'telnet 25' port 25 is the smtp port. you should get something like:
220 ESMTP Sendmail 8.11.6/8.11.6 OpenMail; Thu, 12 Jun 2003 12:31:33 +0200
[you type] quit
221 2.0.0 closing connection
anything else means, you cannot connect. now it depends on the returned message, what the reason for no connection is. Maybe sendmail is not running on the Linux station?

hope this helps.

Kasper
It depends
Jerome Henry
Honored Contributor

Re: Pb sendmail

Welcome to this forum !
Translating (and interpretating) would be :
I'm under rh 7.3, I have a windows client with outlook express, I can receive emails, but I can't send any. My smtp port is still open on Linux machine.
Same questions, are you sure about your iptables configuration ?
Can I precise that you have 2 boxes, the linux one being the server.
Assuming that, check that your sendmail is configured to relay (do you want me to remind you how to do this ?), and on your outlook box, select Tools>Accounts>Mail, select Account>Properties>Servers>Outgoing mail(SMTP) and change the Outgoing mail to your Linux box IP.
Do both procedures ! It shoud work.
I can translate back to french for you if required (je peux te traduire tout ??a si tu veux).
J
You can lean only on what resists you...
Steven E. Protter
Exalted Contributor

Re: Pb sendmail

One thing is obvious here.

My frend needs work.

Thanks Gerome for the translation and point deserving suggestion(imho).

Good Luck.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Manuel Wolfshant
Trusted Contributor

Re: Pb sendmail

Dans la configuration implicite, le daemon sendmail ecoute seulement sur l'interface loopback (127.0.0.1). Si vous voulez utiliser le serveur SMTP pour autre ordinateur (dans la reseau) vous devrez editer le fichier /etc/sendmail.cf et ajouter a la ligne

O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
une autre, avec 127.0.0.1 remplacee par l'adresse de votre serveur, comme il est vue par les autres ordinateur. Par exemple
O DaemonPortOptions=Port=smtp,Addr=192.168.1.1, Name=MTA
Ou, vous pouvez eliminer completment l'adresse IP:
O DaemonPortOptions=Port=smtp, Name=MTA
dans ce cas la serveur va ecoutez sur toutes les interfaces/adresses disponible.


Dans une autre ordre des idees, je vous conseille de remplacer sendmail par postfix (disponible a http://postfix.wl0.org/ftp/RPMS-rh73-i386/). Si vous ne voulez ou vous ne pouvez pas, n'oubliez pas de instaler la version actualisee de sendmail, celle inclue dans le kit de RH 7.3 a des serieuses problemes de securite.
Jerome Henry
Honored Contributor

Re: Pb sendmail

Manuel,

Even if your tip is very valuable, I feel it would be great if it was also posted in English (why not bilingual), sot that if someone else has the same problem and is not french speacker, he or she could use posts here.
Just a suggestion, for I do not speack all the languages of the people posting in this forum...
what do you think ?
J
You can lean only on what resists you...