Computing.Net > Forums > Linux > Sendmail problem

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Sendmail problem

Reply to Message Icon

Name: bsewell
Date: June 22, 2004 at 18:59:36 Pacific
OS: Red Hat 9
CPU/Ram: Pentium Xeon
Comment:

ok I have a forum setup on a Red Hat 9 server but I have a problem that nobody seems to be able to recieve activation emails for validation of the accounts.

I did an rpm -q sendmail command and I have sendmail-8.12.8-4.

The forum I am using is cutecast (www.artscore.com/cutecast/). Any ideas whats wrong or is there something like an ISP can block the SMTP port like they do for port 80 for webservers?

Thanks,

Ben,
Pentium 4 1.7GHz, 256 Cache
512 DDR RAM PC2700
ATI Radeon 9200SE 128 DDR RAM
Western Digital 80GB 7200 RPM



Sponsored Link
Ads by Google

Response Number 1
Name: 3Dave
Date: June 23, 2004 at 09:29:55 Pacific
Reply:

"...or is there something like an ISP
can block the SMTP port like they do for
port 80 for webservers?..."


Yes it's possible but doesn't sound like a
decent ISP if they do....it's more likely
to be a firewall in the way. Does sendmail
work properly as it is without cutecast?


0

Response Number 2
Name: bsewell
Date: June 23, 2004 at 17:39:17 Pacific
Reply:

good idea about the firewall i will try getting someone to make an account after i did a change for port forwarding.

As for sendmail working before this, I have no clue really since I didnt use it before since this is a relatively new build (3 days). I didnt touch it since it was installed during RH9 setup.=)

Ben,
Pentium 4 1.7GHz, 256 Cache
512 DDR RAM PC2700
ATI Radeon 9200SE 128 DDR RAM
Western Digital 80GB 7200 RPM


0

Response Number 3
Name: bsewell
Date: June 23, 2004 at 23:42:09 Pacific
Reply:

ok i did port forwarding on both TCP and UDP for Ports 25 and 110 since these are used for mail servers. I didnt get anything to an external address.

I also have no firewall installed on linux since my router has a built-in firewall and I configured it like I said above.

Any other ideas, or how to change the sending/recieving email ports?

Ben,
Pentium 4 1.7GHz, 512 LB Cache
512 DDR RAM PC2700
ATI Radeon 9200SE 128 DDR RAM
Western Digital 80GB 7200 RPM


0

Response Number 4
Name: 3Dave
Date: June 24, 2004 at 01:59:34 Pacific
Reply:

You should only need port 25 open for
sendmail as 110 is for POP3 and not SMTP.
Are you able to use the mail command to
send an email from the command line? eg:
$ mail someone@internet.com

Have you configured sendmail?

If you go and probe your ports at
http://grc.com do you see port 25 open?


0

Response Number 5
Name: bsewell
Date: June 24, 2004 at 07:26:30 Pacific
Reply:

Dave, I havnt configured sendmail. it is in the state that red hat made it when I did red hat setup. Will this do?

As for mail someone@internet.com I did that for my email address but it seemed to not respond after I did the subject, using the line "test". I couldnt get out of it, so I did alt-cntl-del to restart the system safely.

I got a HTTP 400 (Bad request) when I clicked on "Lookup specific port information". Very strange I have never seen that message before. This was when I tried the Shields Up. I'm assuming this is correct for the correct test?

Ben,
Pentium 4 1.7GHz, 256 Cache
512 DDR RAM PC2700
ATI Radeon 9200SE 128 DDR RAM
Western Digital 80GB 7200 RPM


0

Related Posts

See More



Response Number 6
Name: 3Dave
Date: June 24, 2004 at 08:37:06 Pacific
Reply:

You'll have to configure sendmail to either
deliver mail directly or better still
forward it on to your ISPs SMTP servers for
them to deliver. The easiest way would be
to use something like webmin. You may wish
to consider installing either qmail or
postfix instead as these are much easier to
get going.

PS In order to get out of the mail program,
enter a full stop (.) on a line all by
itself, eg:
$ mail bill@msn.com
Subject: test
blah blah
this is a sendmail test
blah blah
.

EOT
$

Coming to think of it, you probably wont
have to open port 25 on your firewall
unless you want to be able to receive email
directly with sendmail. If you already use
POP3 to collect your mail, leave it like
that and enter the same ISPs SMTP servers
as you have in your email program. If you
leave your port 25 open without fully
configuring sendmail you might end up
relaying spam for someone!


0

Response Number 7
Name: bsewell
Date: June 24, 2004 at 09:11:38 Pacific
Reply:

Dave, still no email to my hotmail address when i tested it twice. :-/ Sendmail is loaded on start up so I know it must be running. My ISP doesnt allow you to use their SMTP servers for other emails apart from the email account you are given by the ISP.

I would still prefer sendmail because of it is widely-used so it is easier to get packages that support it. I think the question that my ISP blocks Port 25 is indeed answered, and now the question is how to change the SMTP sending out port.

Ben,
Pentium 4 1.7GHz, 256 Cache
512 DDR RAM PC2700
ATI Radeon 9200SE 128 DDR RAM
Western Digital 80GB 7200 RPM


0

Response Number 8
Name: 3Dave
Date: June 25, 2004 at 00:40:00 Pacific
Reply:

As far as the ISP is concerned sending mail
from your email client (eg kmail) to their
SMTP servers is the same as sending mail
from sendmail to the same servers.

Do you have webmin installed? It's a great
tool for configuring just about anything on
your system via a web browser. You can get
it from http://www.webmin.com/

Once you have it installed and running, go
to servers, then sendmail, then sendmail
options and change the first option "Send
outgoing mail via host" from deliver
directly to the name of your ISPs SMTP
server.


0

Response Number 9
Name: bsewell
Date: June 25, 2004 at 02:22:39 Pacific
Reply:

Thanx Dave it works. I owe you one since i couldnt get that working beofre.=)

Once question though.. when I received the emails from my server, the "who from" line was from root. How would I change this? :-/

Ben,
Pentium 4 1.7GHz, 256 Cache
512 DDR RAM PC2700
ATI Radeon 9200SE 128 DDR RAM
Western Digital 80GB 7200 RPM


0

Response Number 10
Name: 3Dave
Date: June 25, 2004 at 07:24:16 Pacific
Reply:

That may be a setting in cutecast...don't
know, never used it. It's written in perl
so should be easy to change. Perhaps asking
on one of the cutecast forums might help:
http://www.artscore.net/cgi-bin/cutecast/cutecast.pl

It could also send mail as the user it is
running as, eg if you run it by hand as
root or have it running as a service using
root's account.


0

Response Number 11
Name: bsewell
Date: June 25, 2004 at 09:27:27 Pacific
Reply:

ok i found the option on cutecast.=)

slight problem.. I made a test account and didnt get it to a valid email address. Does using the smtp server mean I need to use the ISP usename/password somehow?

Ben,
Pentium 4 1.7GHz, 256 Cache
512 DDR RAM PC2700
ATI Radeon 9200SE 128 DDR RAM
Western Digital 80GB 7200 RPM


0

Response Number 12
Name: 3Dave
Date: June 28, 2004 at 00:51:03 Pacific
Reply:

You don't generally have to use a username
and password to send mail out through an
ISPs SMTP server, the fact that you are
connected to the net with them is generally
enough.

"...I made a test account and didnt get
it to a valid email address..."

I'm not quite sure I know what you mean.
You created a test linux user right? How
are they supposed to collect the mail?
Should it be delivered to their local
mailbox or do they collect it via POP3? You
wont be able to use sendmail to receive
external mail unless you have an SMTP feed
set up with your ISP. Usually home users
are given POP email and businesses SMTP.
You can use something like fetchmail which
will download POP3 email and deliver it to
a users local mailbox.


0

Response Number 13
Name: bsewell
Date: June 28, 2004 at 19:31:24 Pacific
Reply:

I meant I made a test account in the cutecast forum on my webserver.

As far as the recipents of the emails are concerned, it will be to external addresses. Eg someone@hotmail.com, username@aol.com etc. I need this setup so cutecast can send activation codes to the email addresses supplied.

Recieving email would not be such a bad idea if they want to provide feedback to me using my server as an email service as well. Possibly once I get the SMTP setup.:-)

Ben,
Pentium 4 1.7GHz, 512 LB Cache
512 DDR RAM PC2700
ATI Radeon 9200SE 128 DDR RAM
Western Digital 80GB 7200 RPM


0

Response Number 14
Name: 3Dave
Date: June 29, 2004 at 06:19:46 Pacific
Reply:

Are you able to specify the name of the
smtp server that you want to use in the
cutecast settings? If so just point it at
your ISPs server.

It's probably not a good idea to allow your
friends access to use your sendmail server
as unless it is setup right you'll be
acting as an open relay and be used to send
spam.

If sendmail is now working, it sounds more
like a problem with the cutecast
configuration. Perhaps a question on one of
their forums would shed more light.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Sendmail problem

sendmail problem www.computing.net/answers/linux/sendmail-problem/9117.html

Sendmail problem: cannot retrieve www.computing.net/answers/linux/sendmail-problem-cannot-retrieve/21333.html

Sendmail Problem-Help pl www.computing.net/answers/linux/sendmail-problemhelp-pl/9396.html