install.doctor icon indicating copy to clipboard operation
install.doctor copied to clipboard

Sendmail Improvements

Open ProfessorManhattan opened this issue 2 years ago • 1 comments
trafficstars

💡 Feature/Idea

Hey, I took your workwith /etc/aliases and took it a step further. It's successfully sending w/ SendGrid right now. There is one feature I would like to add though. We need to configure the aliases so that when an email is sent to root or username, the message stays in the local mailbox but also gets forwarded to the e-mail address specified in the /etc/aliases file. Right now, it's just forwarding to the e-mail address.

:thumbsup: Can you contribute?

No response

ProfessorManhattan avatar Aug 01 '23 06:08 ProfessorManhattan

@ProfessorManhattan, I see that the .forward method is also configured by the script. It appears that when the .forward method is used, mails first land in the local mailbox and then a copy get forwarded, whereas, in the aliases method, mails are just forwarded without local delivery. Could please remove the changes to the /etc/aliases file, rerun the newaliases command, restart postfix and test?

enggnr avatar Aug 14 '23 10:08 enggnr