SendMail

Hi guys, my script needs SendMail to be installed, how do i setup my DNS to send emails? I tried the library but i´m a bit confused.

Thanks for any help.

2 Replies

The Postfix email gateway is the guide you're looking for, but you really just need to install Postfix and follow the prompts. Test that you can send emails successfully in the console with mail blah@gmail.com, etc.

Thanks, but after editing main.cf and trying to reload postfix i get:

postfix/postfix-script: fatal: the Postfix mail system is not running

What can be wrong?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct