OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: New Postfix install

From: Noel Jones (njonesmegan.vbhcs.org)
Date: Wed Oct 01 2008 - 16:21:47 CDT


Ujjval K wrote:
> After struggling for months trying to get sendmail to work, I installed postfix after readin its esase to use et all...
>

Welcome to postfix. Many of us have had similar experience
with sendmail.

> However, I have spent 5 days now trying to configure it....still not working.
>
> It seems to come up fine..Here is /var/log/mailllog
> Oct 1 14:59:47 fedoracore2uk postfix/postfix-script[8416]: starting the Postfix mail system
> Oct 1 14:59:47 fedoracore2uk postfix/master[8417]: daemon started -- version 2.5.5, configuration /etc/postfix
> Oct 1 14:59:47 fedoracore2uk postfix/nqmgr[8418]: warning: please update the /etc/postfix/master.cf file; the new queue manager
> Oct 1 14:59:47 fedoracore2uk postfix/nqmgr[8418]: warning: (old name: nqmgr) has become the standard queue manager (new name: qmgr)
> Oct 1 14:59:47 fedoracore2uk postfix/nqmgr[8418]: warning: support for the name old name (nqmgr) will be removed from Postfix

This doesn't look like postfix is coming up fine...
It looks like your installation is borked.

It looks as if you've installed postfix 2.5 while keeping an
old master.cf file. (and possibly other old files?)

How was this installed?

Maybe running:
# postfix upgrade-configuration
will fix this and other problems, or it might be better to
just remove what you have and start over.

You might also read:
http://www.postfix.org/DEBUG_README.html#logging
and
http://www.postfix.org/DEBUG_README.html#mail

>
> However, I do not see SMTP port 25 inlistening mode....
>
> ALso I cannot find any easy place to tell me how to send email from command line usin gpostfix...I would think issue #1 is the main problem,,,,any ideas would be apprecaited...Thx
>

Postfix by itself doesn't send mail from the command line.
(You can use the postfix sendmail(1) command to submit a fully
formatted file as email, but that doesn't sound like what you
are looking for).

Most systems come with the "mail" command (not part of
postfix), or you can install the "mutt" program.

--
Noel Jones