Hi all, I am new to virtualmin and just done the setup with my home server - ubuntu machine + virtualmin + webmin + usermin.
Website is ok. But when I start to test email. I fail to send email out to gmail / yahoo / others website domain email but i can receive others. I already tried lots of google work aroung the net but still no luck on complete this.
I get the email log file:
Sep 30 03:50:11 ns1 postfix/pickup[5811]: 6F3AF650FE: uid=33 from=
Sep 30 03:50:11 ns1 postfix/cleanup[5975]: 6F3AF650FE: message-id=20120929195011.6F3AF650FE@ns1.mydomain.com
Sep 30 03:50:11 ns1 postfix/qmgr[5812]: 6F3AF650FE: from=www-data@ns1.mydomain.com, size=2269, nrcpt=1 (queue active)
Sep 30 03:50:17 ns1 postfix/local[5981]: 6F3AF650FE: to=root@ns1.mydomain.com, orig_to=, relay=local, delay=5.7, delays=0.11/0.19/0/5.4, dsn=2.0.0, status=sent (delivered to command: /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME)
Sep 30 03:50:17 ns1 postfix/qmgr[5812]: 6F3AF650FE: removed
Sep 30 03:50:39 ns1 postfix/smtp[5814]: connect to alt1.gmail-smtp-in.l.google.com[74.125.142.26]:25: Connection timed out
Sep 30 03:51:09 ns1 postfix/smtp[5814]: connect to alt2.gmail-smtp-in.l.google.com[74.125.137.27]:25: Connection timed out
Sep 30 03:51:09 ns1 postfix/smtp[5814]: A2FB4650FB: to=mytestemail@gmail.com, relay=none, delay=512, delays=422/0.05/91/0, dsn=4.4.1, status=deferred (connect to alt2.gmail-smtp-in.l.google.com[74.125.137.27]:25: Connection timed out)
I am using a dynamic IP at home and have no-ip service for the domain use with my dynamic ip.
It is my postfix got problem, where can i get a complete step by step guide on setup this part?
This is my post fix config files:
See /usr/share/postfix/main.cf.dist for a commented, more complete version
Debian specific: Specifying a file name will cause the first
line of that file to be used as the name. The Debian default
is /etc/mailname.
#myorigin = /etc/mailname
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
appending .domain is the MUA’s job.
append_dot_mydomain = no
Uncomment the next line to generate “delayed mail” warnings
#delay_warning_time = 4h
readme_directory = no
TLS parameters
smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
smtpd_use_tls=yes
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
information on enabling SSL in the smtp client.
myhostname = ns1.mydomain.com
alias_maps = hash:/etc/aliases
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
mydestination = ns1.mydomain.com, localhost.mydomain.com, , localhost
mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
mailbox_command = /usr/bin/procmail-wrapper -o -a $DOMAIN -d $LOGNAME
mailbox_size_limit = 0
recipient_delimiter = +
virtual_alias_maps = hash:/etc/postfix/virtual
sender_bcc_maps = hash:/etc/postfix/bcc
home_mailbox = Maildir/
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_mynetworks permit_sasl_authenticated reject_unauth_destination
allow_percent_hack = no
sender_dependent_default_transport_maps = hash:/etc/postfix/dependent
Looking for forum helper here to give guideline for me to resolve this problem.
Appreciate and thanks so much on help.
Kind Regards,
Kelvin