#postfix start
#postfix stop
if it says postfix is not running
check the application at port no 25 and stop that application (might be sendmail) and try once again.
#postfix start
#postfix stop
If postfix stops .Then its working.
For errors check this log file check /var/log/maillog
Send mail using postfix testing :
From your desktop try this
[root@mail ~]# telnet [proxyservername or IP] smtp
220 xdprox.amthi ESMTP Postfix
Escape character is '^]'.
220 mail.acme.local ESMTP Postfix
ehlo host
250-mail.acme.local
250-PIPELINING
250-SIZE 10240000
250-VRFY
250-ETRN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
mail from: xxxx@amar.com
250 2.1.0 Ok
rcpt to: yyyy@amar.com
250 2.1.5 Ok
data
354 End data with
.
250 2.0.0 Ok: queued as 9729067C17
quit
221 2.0.0 Bye
Connection closed by foreign host.
[root@mail ~]#
**** CHECK DOT AFTER TEST MESSAGE
Now check your mail id yyyy@amar.com
If you received your test message , you have successfully installed and configured your postfix .
No comments:
Post a Comment
type your comments here