i have recently shifted to a different place. I had a functioning
postfix setup on my laptop but it is not working in this new place.

I use gmail's smtp server to send e-mail.

Please note the following.

1. Internet works fine.
2. Evolution can send e-mail using the same smtp server account
3. I cannot ping any address on the internet.

When I send the mail, it just stays in the queue. The results of
mailq, tail /var/log/mail.log, and postconf -n are pasting below for
reference.

I shall be grateful if someone could help sort this out.

Vikas

****************

> mailq

-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
0B24711B785      506 Fri Jan  9 04:43:29  vi...@panahar
          (connect to smtp.gmail.com[66.249.93.111]:587: Connection timed out)
                                         villagestud...@yahoo.com

-- 0 Kbytes in 1 Request.

****************

> tail /var/log/mail.log

Jan  9 04:44:25 panahar postfix/tlsmgr[5397]: warning: redirecting the
request to postfix-owned data_directory /var/lib/postfix
Jan  9 04:44:25 panahar postfix/tlsmgr[5397]: warning: request to
update table btree:/var/run/smtp_tls_session_cache in non-postfix
directory /var/run
Jan  9 04:44:25 panahar postfix/tlsmgr[5397]: warning: redirecting the
request to postfix-owned data_directory /var/lib/postfix
Jan  9 04:44:55 panahar postfix/smtp[5396]: connect to
smtp.gmail.com[66.249.93.109]:587: Connection timed out
Jan  9 04:45:25 panahar postfix/smtp[5396]: connect to
smtp.gmail.com[66.249.93.111]:587: Connection timed out
Jan  9 04:45:25 panahar postfix/smtp[5396]: 0B24711B785:
to=<villagestud...@yahoo.com>, relay=none, delay=116,
delays=56/0.06/60/0, dsn=4.4.1, status=deferred (connect to
smtp.gmail.com[66.249.93.111]:587: Connection timed out)
Jan  9 04:54:25 panahar postfix/qmgr[5394]: 0B24711B785:
from=<vi...@panahar>, size=506, nrcpt=1 (queue active)
Jan  9 04:54:55 panahar postfix/smtp[5630]: connect to
smtp.gmail.com[66.249.93.109]:587: Connection timed out
Jan  9 04:55:25 panahar postfix/smtp[5630]: connect to
smtp.gmail.com[66.249.93.111]:587: Connection timed out
Jan  9 04:55:25 panahar postfix/smtp[5630]: 0B24711B785:
to=<villagestud...@yahoo.com>, relay=none, delay=716,
delays=655/0.03/60/0, dsn=4.4.1, status=deferred (connect to
smtp.gmail.com[66.249.93.111]:587: Connection timed out)


****************************

> postconf -n
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
disable_dns_lookups = yes
inet_protocols = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = shireen, localhost.localdomain, localhost, shireen.jnu.ac.in
myhostname = shireen.jnu.ac.in
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost = [smtp.gmail.com]
smtp_generic_maps = hash:/etc/postfix/generic
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_sasl_security_options = noanonymous
smtp_sasl_tls_security_options = noanonymous
smtp_tls_CAfile = /etc/postfix/cacert.pem
smtp_tls_cert_file = /etc/postfix/FOO-cert.pem
smtp_tls_key_file = /etc/postfix/FOO-key.pem
smtp_tls_loglevel = 1
smtp_tls_per_site = hash:/etc/postfix/tls_per_site
smtp_tls_session_cache_database = btree:/var/run/smtp_tls_session_cache
smtp_use_tls = yes
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_sasl_auth_enable = no
smtpd_sasl_local_domain = $myhostname
smtpd_tls_CAfile = /etc/postfix/cacert.pem
smtpd_tls_cert_file = /etc/postfix/FOO-cert.pem
smtpd_tls_key_file = /etc/postfix/FOO-key.pem
smtpd_tls_received_header = yes
smtpd_tls_session_cache_database = btree:/var/run/smtpd_tls_session_cache
smtpd_use_tls = yes
tls_random_source = dev:/dev/urandom
transport_maps = hash:/etc/postfix/transport

Reply via email to