atom feed18 messages in net.sourceforge.lists.courier-usersRe: [courier-users] SMTP Connection r...
FromSent OnAttachments
Mohamed MetwalyJul 7, 2002 9:57 pm 
Aly DharshiJul 7, 2002 10:01 pm 
Mohamed MetwalyJul 8, 2002 9:45 am 
Andrew DJul 8, 2002 10:55 am 
Peter C. NortonJul 8, 2002 11:30 am 
Anand BuddhdevJul 8, 2002 11:34 am 
Mohamed MetwalyJul 8, 2002 11:44 am 
Mohamed MetwalyJul 8, 2002 11:47 am 
Aly DharshiJul 8, 2002 11:55 am 
David MirJul 8, 2002 12:03 pm 
Mohamed MetwalyJul 8, 2002 12:11 pm 
Mohamed MetwalyJul 8, 2002 12:19 pm 
David MirJul 8, 2002 12:32 pm 
R'twick NiceorgawJul 8, 2002 12:52 pm 
Sam VarshavchikJul 8, 2002 3:03 pm 
Vlad SedovJul 8, 2002 3:18 pm 
Anand BuddhdevJul 8, 2002 11:51 pm 
Vlad SedovJul 9, 2002 7:12 am 
Subject:Re: [courier-users] SMTP Connection refused
From:R'twick Niceorgaw (rtw@niceorgaw.com)
Date:Jul 8, 2002 12:52:42 pm
List:net.sourceforge.lists.courier-users

You might have to stop the sendmail daemon from starting up .. to do this try /etc/init.d/sendmail stop chkconfig --level 2345 sendmail off then stop and start courier again.

----- Original Message ----- From: "David Mir" <mi@soartech.com> To: "Mohamed Metwaly" <moha@yahoo.ca>; "Anand Buddhdev" <ar@anand.org> Cc: <cour@lists.sourceforge.net> Sent: Monday, July 08, 2002 12:32 PM Subject: Re: [courier-users] SMTP Connection refused

Just to clarify it should not say sendmail, it should say couriertcpd. Here is what my line looks like (this is netstat -tupan):

Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 720/couriertcpd

If it does say courier then you need to recheck the courier conf files to make sure you tell it the right address and actually restart it! don't just give it a HUP signal!, if it says sendmail then you are probably running sendmail and not courier! This happend to me with some CGIs because the sendmail executable (/usr/sbin/sendmail) was still really sendmail and not the courier sendmail wrapper (/usr/lib/courier/bin/sendmail) once I moved it, then sym linked to the correct sendmail wrapper everything seemed to work!

On Monday 08 July 2002 03:19 pm, Mohamed Metwaly wrote:

I tried all and I noticed the following: when I did netstat I found that sendmail: accp is lestining on 127.0.0.1:25, so how can I change this to make it lestin to any incoming mail??

--- David Mir <mi@soartech.com> wrote:

We really need more information, like have you tried

netstat -an (or netstat -tupan) ???

is courier listening on those ports? if not try :

ps auwx | grep courier (as root of course)

and see if courier is running. If both if these are true then make sure you do not have any firewall rules (remember during install RH asks you what kind of firewall you want??). you can check this via (again as root): iptables -L (make sure all policies are accept and not rules are showing) or ipchains -L (same deal).

I hope this helps.

Thanks

On Monday 08 July 2002 02:44 pm, Mohamed Metwaly

wrote:

But I am using courier's sendmail??

--- Anand Buddhdev <ar@anand.org> wrote:

On Mon, Jul 08, 2002 at 12:44:56PM -0400,

Mohamed

Metwaly wrote:

Hi, I installed courier (imap, sendmail, esmtp) on

redhat

7.1. When I send from localhost to localhost

it is

fine, but when I try so send from somewhere

else

on

the internet to the actual ip address of the

machine,

I get the error that smtp connection could not

be

establish (4.4.1). Also, when I tried to

telnet to

smtp port, the connection was refused.

This is a RedHat FAQ. Sendmail on RH only

listens to

127.0.0.1 by default. Look at the RH documentation for

details on

how to open your sendmail to accept email from the internet.

-- Anand Buddhdev http://anand.org

-------------------------------------------------------

This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf

https://lists.sourceforge.net/lists/listinfo/courier-users

Post your ad for free now!

http://personals.yahoo.ca

This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf

https://lists.sourceforge.net/lists/listinfo/courier-users