Open main menu

CDOT Wiki β

Changes

OPS345 Lab 6

1,056 bytes added, 02:40, 26 November 2021
no edit summary
[root@email /]# ls -a /home/andrew/
. .. .bash_history .bash_logout .bash_profile .bashrc .ssh
[root@email /]# reboot # and confirm can still log in. if not - have to rebuild email vm
</source>
* Confirm confirm can still log in. if not: have to rebuild email vm
* The LV on a separate storage device is as valuable as the www LV. If the Vm is lost or damaged: EBS device is still there, and it's also easier to back up.
* connect to myseneca email using thunderbird on linux mint
* postfix is installed by default, but only used for localhost
* instal dovecot to get dovecot-lda
* /etc/postfix/main.cf:
** mydomain = asmith15.ops345.ca
** inet_interfaces = all
** mydestination include mydomain
** myorigin later
* restart postfix
* ss -atnp
* add access to port 25 from anywhere in ops345sgemail
* add A record for email
* add MX email.asmith15.ops345.ca.[1]
* test on router first, records are cached for 60 minutes. test on www second, email third, finally make sure it works on the workstation
* send email from myseneca to asmith15@asmith15.ops345.ca
* check /var/log/maillog
* check ~/
* check /var/mail
* /etc/postfix/main.cf: mailbox_command = /usr/libexec/dovecot/dovecot-lda -f "$SENDER" -a "$RECIPIENT"
* /etc/dovecot/conf.d/10-mail.conf: mail_location = maildir:~/Maildir
* check /var/mail
* check ~/
*