Configure postfix

Hi all,
I had today to turn off postfix. I needed to do that as I was using mail command (from bash scripts) to mail me when my scripts failed.

I would like thus to ask you how I should configure it in a way that it will destroy system security. What I need is just to be sending me mails and nothing else. In my firewall section only the ssh port seems to be open.
Should that be all?

Regards
Alex

why you would like to destroy system security?

generally if you meant that you don’t want to compromise the security and just send mail to local system users then default postfix configuration is ok. It is listening to localhost only and by default not open in firewall.
you can check what port is currently listening in main.cf (inet_interfaces) or by


netstat -na|grep 25

On 2013-03-07 14:46, alaios wrote:
>
> Hi all,
> I had today to turn off postfix. I needed to do that as I was using
> mail command (from bash scripts) to mail me when my scripts failed.

Do not stop postfix or things break, it is currently a needed part of
any Linux system. Instead, use it properly, ‘mail’ can send mail fine
(via postfix or not).

> I would like thus to ask you how I should configure it in a way that it
> will destroy system security.

You want to destroy system security?
I do not think I will help you with that, sorry.


Cheers / Saludos,

Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))

Hahahaha. What a mistake

it in a way that it will NOT destroy system security. ( I forgot a word there!..)