READ Free Dumps For RedHat- RH302
Question ID 17514 | Your Local Domain is example.com. Configure the send mail server for you local |
Option A | Answer : 1.vi /etc/mail/local-host-names example.com 2.vi /etc/mail/sendmail.mc dnl # DEAMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA`)dnl 3.m4 /etc/mail/sendmail.mc >/etc/mail/sendmail.cf 4.vi /etc/mail/access RELAY example.comRELAY 5.service sendmail start | restart 6.chkconfig dovecot on 7.vi /etc/dovecot.conf protocols = pop3 pop3s 8.service dovecot start | restart 9.chkconfig dovecot on /etc/mail/local-host-names file contains the aliases to hostname. Mail server program reads the /etc/mail/sendmail.cf. To change the configuration on mail server, we should edit the /etc/mail/sendmail.mc file and should generate the sendmail.cf using m4 command. By default sendmail server allows to connect to local host only. So we should edit the /etc/mail/sendmail.mc file to allow connect to other hosts. By default sendmail server will not forward mail. we should specify on /etc/mail/access to relay or to block mail coming from domain or network or individual email address. By default dovecot service start only the imap protocol. To start pop protocol with dovecot, we should write in /etc/dovecot.conf file. |
Correct Answer | A |
Question ID 17515 | You have ftp site named ftp.example.com. You want to allow anonymous users to |
Option A | Answer : 1.vi /etc/vsftpd/vsftpd.conf anon_upload_enable=yes chown_uploads=yes chown_username=username 2. service vsftpd start| restart chown ftp directory path allowed to upload files. 4.Write permission should be set to owner user. By default anonymous user can only download files from the ftp. Should write anon_upload_enable=yes to enable anonymous upload files. Default Directory for anonymous is /var/ftp. |
Correct Answer | A |