|
well, the problem
description -
I have configured my
RedHat7.1linux m/c as file server(samba),internal DNS server with domain name
say linuxdomain and as gateway server connected thru modem
(ppp)with the internet.All
is working fine.Client m/cs are windows 98 with Outlook Express as
mailuseragent
Now, I want to make my linux
m/c as mail server with 98 clients be able to access mail thru
outlookexpress.
I am using sendmail as
MTA.
I have added the
following in /etc/mail/sendmail.mc
......
MAILER(smtp)dnl
MAILER(procmail)dnl define(`confCON_EXPENSIVE',
`True')
define(`confDOMAIN_NAME', `linuxdomain')######linuxdomain is the domain of linux server define(`SMTP_MAILER_FLAGS', `e') define(`SMART_HOST', `relay.abc.com')#########relay.abc.com is the outgoing SMTP mailserver define(`confBIND_OPTS', `-DNSRCH -DEFNAMES') define(MAIL_HUB', `linuxtest')##linuxtest is the name of linuxserver DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA') DAEMON_OPTIONS(`Port=smtp,Addr=ipaddressoflinuxserver, Name=MTA') MASQUERADE_AS(`linuxdomain') in
/etc/mail/access
localhost.localdomain
RELAY in
/etc/mail/local-host-names
linuxdomain
##note linuxdomain is an
internal domain.
then,
m4 /etc/mail/sendmail.mc
> /etc/sendmail.cf
then restart.
i have also made a file
.fetchmailrc in /root ##this is what i have read and is for fetching mails but
is this correct??i doubt.
poll xyz..com with protocol pop3
user 'username' with
password 'pswd' is * here smtphost
ipaddressoflinuxserver
##xyz.com is the outgoing
pop3mailserver
please do give the more
changes i need to make and to correct the existing files so that i can
run mailserver and access mails on windows clients.
Any good references
regarding configuring mail server for newbies like me.
And also how can i access
mails in linux .utility like outlook Express??
Thanks,
Rahul.
|
- Re: linux as mail server Rahul Garg
- Re: linux as mail server Ben Logan
