Link to home
Start Free TrialLog in
Avatar of Llacy80
Llacy80Flag for United States of America

asked on

Help with Postfix on Ubuntu Server

Hi. I am trying to get notification set up for nagios and in order to do that I have installed Postfix on the ubuntu server. I would like to either relay the email through our local exchange server or gmail (whichever is easier to configure on the linux side). I have gone through numerous tutuorials, etc but everytime I try to enter half of the commands (i.e.sudo postmatp hash:/etc/postfix/sas_password or even mailq) i get the error below.

postmap:fatal: bad string length 0 < 1:setgid_group =

I am lost and just want to get the these nagios email notifications working..Someone please help : )

Kind Regards

Lacy
ASKER CERTIFIED SOLUTION
Avatar of andrevanzuydam
andrevanzuydam

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Llacy80

ASKER

I will try that out and post back when I am done. Thank you for the information.
Avatar of Llacy80

ASKER

Hi. I installed webmin and when I go to servers and then Postfix, it says the following:

postfix: fatal: bad string length 0 < 1: setgid_group =


Can you guide me in just removing postfix and reinstalling it? I guess I mainly need help with removing it.

Avatar of andrevanzuydam
andrevanzuydam

sudo apt-get --purge remove postfix

should do the trick, then install postfix from within webmin, it automates the installation