1832487 Members
4510 Online
110043 Solutions
New Discussion

Re: HI

 
taksheel
Occasional Contributor

HI

hi i installed postfix mail server and config on cent os 5.5 server. echo "hello" | mail -s "mailsubject"
when i enter this command on my centos it vl not send the mail
pls help me
1 REPLY 1
Matti_Kurkela
Honored Contributor

Re: HI

Is the postfix service running? If not, the "mail" command probably just submitted the message into postfix's outgoing mail queue, and it will remain there until postfix is started.

If postfix was running, read the mail log in /var/log to see what happened to the message.

Did you try to send to a local username? Then the mail should have ended up in the local system mailbox at /var/mail/ unless you have configured something different.

If the mail was rejected, you might also have the bounce message in your local system mailbox. It usually lists the rejection reason in plain language.

MK
MK