[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: sendmail, netscape, & apache questions
- From: Bob McClure Jr <robertmcclure earthlink net>
- To: redhat-install-list redhat com
- Subject: Re: sendmail, netscape, & apache questions
- Date: Thu, 2 Jan 2003 09:33:40 -0600
On Thu, Jan 02, 2003 at 05:58:49AM -0800, Burke, Thomas G. wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hey gang,
>
> I've got the server put mostly back together after the wipeout...
> I'm having some problems with sendmail and apache, however, and I
> cannot seem to isolate them (although I think I have an idea with
> sendmail)
>
> Sendmail -> Sendmail is accepting connections & I can TX/RX e-mail
> from the server. However, when I use a POP client on another machine
> (internal network), I can download the mail, but cannot send it.
> When I try to send mail, I get an error to the effect "this machine
> is not set up to relay mail"... How can I fix this? Do I need to
> put some more entries in my .cw file, or what?
Quick and dirty: Find the line in sendmail.cf:
O DaemonPortOptions=Port=smtp,Addr=127.0.0.1, Name=MTA
and change to
O DaemonPortOptions=Port=smtp, Name=MTA
Better: Find a similar line in sendmail.mc and excise the
"Addr=127.0.0.1," part of it, and rebuild sendmail.cf from that.
Best: In /usr/share/sendmail-cf (It may have been /usr/lib/sendmail-cf
in RH6.2 days - part of the sendmail-cf RPM), read the README, and
search for "relay" and "spam" to make sure you don't open up an open
relay for spammers. Primarily, it involves use of the
/etc/mail/access file.
> Netscape -> On the local machine, when I sartx (as any user),
> netscape cannot check the mail on the system for some reason. Gives
> an error about not being able to access a directory (exact error
> escapes me, now), but I think it's /var/mail/spool, or some such.
I'm guessing there is no existing mail spool file there, which is the
case until some mail comes in. You can (as root) send some mail to
the user:
echo Welcome | mail -s welcome <userid>
to initialize the file or you can (as root)
touch /var/spool/mail/<userid>
chown <userid>:mail /var/spool/mail/<userid>
chmod 660 /var/spool/mail/<userid>
> Apache -> got the newest apache reinstalled (1.37.? for RH6.2). It
> is running, but does not seem to be working correctly. I've gone
> through httpd.conf several times, but can see no obvious problems.
> When I try to surf from the local machine, I get "you do not have
> permission to access /" (Or something similar, sorry - I don't have
> it handy). I have gone through the /home/httpd/html directory, chgrp
> - -R nobody *, chown -R nobody *, chmod 755 *, still no workie... I'm
> fairly convinced that it's not a directory permissions thing, but
> something with the setup.
What URL gets that result?
Did you restart apache after you made the changes? If so, send the
contents of /etc/httpd/conf/httpd.conf including the lines containing
DocumentRoot, and the <Directory ... </Directory> stanzas.
> Thanks in advance,
> Tom
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP Personal Privacy 6.5.3
>
> iQA/AwUBPhRFedPjBkUEZx5AEQK/aQCggx2FxWiASjVXhZ9eCCmEP3CQUDAAoJv2
> JK0fj5VqzcL5haIlOZQvFkz3
> =K/zh
> -----END PGP SIGNATURE-----
Cheers,
--
Bob McClure, Jr. Bobcat Open Systems, Inc.
robertmcclure earthlink net http://www.cumbytel.com/~bobcatos/
Linux: because I want to get there today. Without rebooting.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]