Windows
Bootdisk for NT
Setup Win 2000
Setup Windows NT
Setup Windows 98
Setup IP 98/NT/00
Setup Exchange
Linux
Boot Disk for Linux
Install Linux
Install modem
Install apache
Using X Window
Remote command
Configuring IP
Configuring samba
Configuring mail
Configuring DNS
Networking
Dhcp overview
Dhcp install
Dhcp manager
Dial up diagnostic
RFI/PFP
SBS explained
Citrix explained
Remote login
Setup multiple O/S
Setup a network
Misc
Address book
Internet shopping
Team technologies
File systems
Backup
Time savers
Reponse time
Volumes
Cable
ODBC
TCP/IP
Histor
Class
For win 98
For win NT
Layers
Utilities
Subnet mask
subnet mask calculator

 

 

 
PeteDotCom -> Networking -> Linux -> Configuring Mail ->

 

Configuring sendmail

to configure sendmail to upload mail, you must modify sendmail's configuration file /etc/sendmail.cf

1. to configure sendmail, you must modify sendmail.cf to name the following: the smart host
the host that you are - that you are masquerading as

if you decide to use a smart host, then you must set code DS in sendmail.cf to name the smart relay host as follows:
# "smart" relay host (may be null)
DShostname

where hostname gives the full name of the host that will be handling you mail.
for example, to name hsot smtp-server at domain myisp.com as you smart host, set DS as follows:

DSsmtp-server.myisp.com

2.
to configure inetd so that it invokes sendmail to process mail arriving via SMTP, insert the following line into file /etc/inetd.conf
smtp stream tcp nowait root /usr/sbin/tcpd sendmail -v

3.
type command
ps -ax | grep inetd
this will show you information about the inetd process.
the first number in the line returned by the previous command shows you inetd's process identifier. typecommand
kill processid
where processid is inetd's process identifier.

type command
/usr/sbin/inetd
that's all there is to it. inetd will now invoke sendmail to handle messages arriving via SMTP.



FETCH MAIL

1.
the following .fetchmailrc tells fetchmail how to retrieve mail from myisp.com and distribute it to fred and chris:

poll myisp.com
protocol POP3
localdomains myexample.com
no dns
no enevelope
user pseudouser with password pseudouserpassword to
fred
chris
here



2.
move the .fetchmailrc file into a place that is publicly owned ans easily accessed by the superuser root. We suggest moving it into file /usr/local/etc/fetchmail.rc, but you may prefer to keep it elsewhere.
prepare a script to invoke fetchmail. we suggest that it read as follows:
/usr/bin/fetchmail -f /usr/local/etc/fetchmail.rc -syslog

 

 

Hosted by www.Geocities.ws

1