Hi Bob,
I think Ive done what you said below. Let me tell you my situation here. We dont have a domain as of now. All of my workstation is pointing to the router as a gateway so they can surf the internet. I installed a redhat 7.3 with sendmail and imap to my mail server. My config files looks like this:
1. /etc/hosts
10.1.2.156 mymail.allan.com mymail
127.0.0.1 localhost.localdomain localhost
2. /etc/resolv.conf
domain allan.com
nameserver <ISP nameserver>
3. /etc/mail/access
mymail RELAY
mymail.allan.com RELAY
10.1. RELAY
# /usr/sbin/makemap hash /etc/mail/access.db < /etc/mail/access
4. /etc/mail/local-host-names
allan.com
5. /etc/mail/sendmail.mc
..
DAEMON_OPTIONS('Port=smtp, Name=MTA')
Cwmymail.allan.com
..
# m4 sendmail.mc > test.cf
# cp test.cf /etc/sendmail.cf
I turned on the services imap, ipop3 and sendmail using ntsysv. My mailserver can send email to local and to the internet. My workstation can send and receive email locally. My workstation cannot send to the internet thru the mailserver. Im not sure why it cant be relayed. Please help many thanks.
| | A L L A N J A R I N A
:|: :|: NETWORK ENGINEER
:|||: :|||: NG KHAI DEVELOPMENT CORPORATION
.:|||||||:..:|||||||:. Tel: +6332-3462926 / +63917-4441753
-----Original Message-----
From: Bob McClure Jr [mailto:robertmcclure earthlink net]
Sent: Wednesday, June 19, 2002 7:24 AM
To: redhat-install-list redhat com
Subject: Re: Sendmail Gui
On Tue, Jun 18, 2002 at 02:49:35PM -0700, Ed Hills wrote:
> Does anyone out there know of a GUI for sendmail?
Closest I know is webmin
> All I want to do is configure a pop/smtp server.
POP and SMTP are two different things. The POP server is part of the
imap RPM, and setting it up (after installing it) is as simple as
going to /etc/xinetd.d, and editing ipop3 and pop3s to change the
lines that say
disable = yes
to
disable = no
Then tell xinetd to reload so that it re-reads the config files:
/etc/init.d/xinetd reload
SMTP is provided by sendmail, and, yes, nobody but a wizard or someone
into heavy S&M wants to hand edit /etc/sendmail.cf for anything but
the simplest of changes. Aside from Webmin, above, I recommend
installing the sendmail-cf and sendmail-doc packages. That done,
/usr/share/sendmail/cf/redhat.mc is the macro file that generated your
stock /etc/sendmail.cf.
Copy redhat.mc to my.mc (or whatever you want to call it), and then
edit it while referring to /usr/share/doc/sendmail/README.cf. There
are not many things to put in there for most situations.
Then run
./Build my.cf
If there are no complaints, copy my.cf it to /etc. Then cd to /etc,
copy sendmail.cf to sendmail.cf.stock, and copy my.cf to sendmail.cf,
and restart sendmail:
/etc/init.d/sendmail restart
If it's a happy camper, try sending some mail.
> The config files are a bit much for this
> newbie.
>
> Any ideas?
>
> Ed Hills
> ejhills mbay net
Feel free to contact me offline if you want to pursue working with the
.mc file.
Cheers,
--
Bob McClure, Jr. | "It's always work that piles up.
Bobcat Open Systems, Inc. | How come fun never piles up?"
robertmcclure earthlink net | -- "Real Life Adventures", 6-11-02
_______________________________________________
Redhat-install-list mailing list
Redhat-install-list redhat com
https://listman.redhat.com/mailman/listinfo/redhat-install-list