Anish Mathew wrote: > Hi, > I want to run sendmail as a client mail server.Is it possible to do > so.. > > The reason why i want to do this is we dont have a > public ip .. and for security reasons only one mail > server is allowed in each state, ours is a district centre. > > Well i tried these things > I edited the sendmail.mc file to add > > define('SMART_HOST','mail.myserver') > > after that i can send mail from my local system. > > is it the right way to do it.. anybody pls explain the > what's actually happening when a mail server is > started.. how it actually works . Yes, this is the proper way to do it (as you state). The smart_host option configures sendmail to send (relay) all outbound e-mail (actually all non-local e-mail) to the defined mail server instead of sendmail trying to deliver the e-mail itself using DNS/MX records. > > well on more question... > > i want to pull the mails received at my main mail > server to the client mail server also i want to do > this automatically.. is it possible? dose sendmail can handle this..? > Yes, have a look at fetchmail. (man fetchmail) To automate this process, configure a cronjob. (man 5 crontab) Steve Cowles -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list