1823144 Members
3522 Online
109647 Solutions
New Discussion юеВ

Re: Sendmail service

 
Avinash Agarkar
Valued Contributor

Sendmail service

hi,

I have edited the /etc/mail/aliases file and added the new mail id in this but i am not getting any mails do i need to restart any service after adding the aliases.

Thanks,
Avinash


Great Power Comes With Great Responsibility
3 REPLIES 3
Ivan Krastev
Honored Contributor

Re: Sendmail service

After editing aliases file just type: newaliases.

This will build a new copy of alias database.

regards,
ivan
OFC_EDM
Respected Contributor

Re: Sendmail service

You shouldn't have to restart the service.
But it doesn't hurt. I've seldom had to restart before after adding an alias. But most of the time I don't.

/sbin/init.d/sendmail restart

or

/sbin/init.d/sendmail stop ; /sbin/init.d/sendmail start
The Devil is in the detail.
Avinash Agarkar
Valued Contributor

Re: Sendmail service

thanks for inputs
Great Power Comes With Great Responsibility