ubuntu - how to solve Connection time out in postfix? -


when test- email test on redmine using postfix email sent after time means take time. mail.log file looks this-

sep 13 21:45:40 ip-172-31-4-245 postfix/cleanup[14595]: af5c427246a: message-id=<59b9a704ab28b_374a74115c11494@ip-172-31-4-245.mail> sep 13 21:45:40 ip-172-31-4-245 postfix/qmgr[13997]: af5c427246a: from=<redmine@example.net>, size=2103, nrcpt=1 (queue active) sep 13 21:46:10 ip-172-31-4-245 postfix/smtp[14549]: connect gmail-smtp-in.l.google.com[74.125.200.26]:25: connection timed out  

and try many different way solve problem error still not solve.

and redmine configuration file likes this-

default:   email_delivery:     delivery_method: :sendmail 

and etc/postfix/main.cf file this-

myhostname = ip-172-31-4-245.ap-south-1.compute.internal alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = $myhostname, localhost.ap-south-1.compute.internal, localhost relayhost = mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128 mailbox_command = procmail -a "$extension" mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = inet_protocols = ipv4 


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -