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" <[EMAIL PROTECTED]> To: "Mohamed Metwaly" <[EMAIL PROTECTED]>; "Anand Buddhdev" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 > > > > _______________________________________________ > > > > courier-users mailing list > > > > [EMAIL PROTECTED] > > > > Unsubscribe: > > 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 > > > _______________________________________________ > > > courier-users mailing list > > > [EMAIL PROTECTED] > > > Unsubscribe: > > https://lists.sourceforge.net/lists/listinfo/courier-users > > > -- > > David Mir > > System Administrator > > Soar Technology, Inc. > > 3600 Green Ct, Ste 600 > > Ann Arbor, MI 48105-2588 > > 734-327-8000 ext. 222 > > 734-913-8537 (Fax) > > www.soartech.com > > [EMAIL PROTECTED] > > ______________________________________________________________________ > Post your ad for free now! http://personals.yahoo.ca -- David Mir System Administrator Soar Technology, Inc. 3600 Green Ct, Ste 600 Ann Arbor, MI 48105-2588 734-327-8000 ext. 222 734-913-8537 (Fax) www.soartech.com [EMAIL PROTECTED] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Oh, it's good to be a geek. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
