Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-20-2016, 09:59 AM   #1
LQ Newbie
Registered: May 2016
Posts: 1

Rep: Reputation: Disabled
Postfix: status=deferred (lost connection while receiving the initial server greeting)

Good day colleagues,

I have installed postfix 2.6 on my centos and trying to sent emails through a smarthost, to which I can telnet on smtp port, and failing with subject error.

My is as follows:

queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
myhostname =
mydomain =
inet_interfaces = localhost
inet_protocols = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
mynetworks =,
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
debug_peer_level = 3
debug_peer_list =
debugger_command =
ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.6.6/samples
readme_directory = /usr/share/doc/postfix-2.6.6/README_FILES
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options =
transport_maps = hash:/etc/postfix/transport

/etc/postfix/transport contains: :
* smtp:[]:465

I then try:
echo "test email body" | mail -s "Test Email Subject"

To which I get:

5E388A15AF: to=<>,[ipaddress]:465, delay=710, delays=545/0.03/165/0, dsn=4.4.2, status=deferred (lost connection with[ipaddress] while receiving the initial server greeting)

Any help would be much appreciated,

Many thanks,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix failure: status=deferred (lost connection...while receiving the initial server greeting) labby Linux - Newbie 1 03-27-2016 12:54 PM
Postfix status=deferred albie17 Linux - Server 1 08-27-2011 04:16 AM
Lost connection to MySQL server at 'reading initial communication packet', system err manishsingh4k Linux - Server 8 07-20-2009 07:31 AM
timed out while receiving the initial server greeting rytec Linux - Server 2 05-14-2009 04:09 AM
Postfix: mail status=deferred, read timeout svesch Linux - Server 1 01-11-2008 03:43 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:05 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration