Mailserver software details
Most common mail software in Linux and in Fedora is sendmail.
It is easy to use and easy to configure
while installing you can choose that package or you can install it after OS installation is complete.
Insert cd and cd to that directory and run command
rpm -ivh sendmail*
It will install package and necessary components.
After that goto /etc/mail
edit sendmail.mv file and add
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')dnl
line with changing 127.0.0.1 with your IP address.
and change
MASQUERADE_AS(`vvdesign.com')dnl
to your domain.
save and exit.
use command
m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
and restart mailserver
/etc/init.d/sendmail restart
after that at command prompt
type
#mail -v username
write your message
.
save and exit.
add dot to tell sendmail that message writing is complete
and mail is sent
switch to that user and issue command
mail
you will see the mail sent before.
If you want more ddetails contact me.
|