Postfix and Dovecot continuous problems

Discussion in 'Server Operation' started by keen, Jun 8, 2012.

  1. keen

    keen New Member

    Hello and thank you in advance for any help offered. I installed ISPConfig using the The Perfect Server – Ubuntu 12.04 LTS tutorial and most components work and have been very happy. I also purchased the ISPConfig 3 Manual so I must be missing something.

    I cannot send or receive E-mail using Postfix/Dovecot. I try sending mail via the terminal, but that also doesn't work.

    The following are some errors on the Logfiles > Show Mail Log:

    Code:
    Jun 8 14:26:37 server1 postfix/smtp[9111]: 6321C22099C: to=, relay=none, delay=188213, delays=188213/0/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=mydomain.com type=MX: Host not found, try again)
    Jun 8 14:26:37 server1 amavis[9697]: (!)DENIED ACCESS from IP 192.168.1.20, policy bank ''
    Other errors include:

    Code:
    Jun 8 14:26:37 server1 postfix/smtp[8891]: 462CF220EC0: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=130851, delays=130851/0.13/0/0, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
    Jun 8 14:26:37 server1 postfix/smtp[9098]: 7047E220EC8: to=, relay=127.0.0.1[127.0.0.1]:10024, delay=18156, delays=18156/0.18/0/0, dsn=4.4.2, status=deferred (lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
    Jun 8 14:26:37 server1 postfix/error[9139]: 359152208F9: to=, relay=none, delay=237862, delays=237862/0.21/0/0.06, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
    Jun 8 14:26:37 server1 postfix/error[9148]: 79B5E2204FC: to=, relay=none, delay=1355, delays=1355/0.21/0/0.07, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with 127.0.0.1[127.0.0.1] while receiving the initial server greeting)
    Once again, thank you for any and all help
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Did you create an MX record for mydomain.com?
     
  3. keen

    keen New Member

    The following is in my DNS Zone settings

    Code:
    A	localhost.mydomain.com.	127.0.0.1	0	
    A	mail.	192.168.1.20	0	
    A	mydomain.com.	1.2.3.4	0	// Public IP address
    A	www.	192.168.1.20	0	
    CNAME	ftp.mydomain.com.	mydomain.com.	0	
    NS	mydomain.com.	NS1.NAMESERVER.COM.	0	
    NS	mydomain.com.	NS2.NAMESERVER.COM.	0
    I appreciate the reply. I'm new to this and appreciate the forum support!
     
  4. falko

    falko Super Moderator Howtoforge Staff

    First, you have no MX record. Please create one.

    Second:

    Code:
    A	mail[COLOR="Red"].[/COLOR]	192.168.1.20	0	
    A	www[COLOR="Red"].[/COLOR]	192.168.1.20	0
    The dots are wrong - please remove them.

    You can either use

    Code:
    A	mail	192.168.1.20	0	
    A	www	192.168.1.20	0
    or

    Code:
    A	mail.mydomain.com[COLOR="Red"].[/COLOR]	192.168.1.20	0	
    A	www.mydomain.com[COLOR="Red"].[/COLOR]	192.168.1.20	0
     
  5. keen

    keen New Member

    Thank you for your attention, after setting up the MX record, now I get the following errors:

    Code:
    Jun 13 12:25:02 server1 postfix/smtpd[3077]: connect from localhost[127.0.0.1]
    Jun 13 12:25:02 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jun 13 12:25:02 server1 postfix/smtpd[3077]: lost connection after CONNECT from localhost[127.0.0.1]
    Jun 13 12:25:02 server1 postfix/smtpd[3077]: disconnect from localhost[127.0.0.1]
    Jun 13 12:25:02 server1 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jun 13 12:30:02 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Does sending/receiving emails work now?
     
  7. keen

    keen New Member

    Falko, thank-you for the follow up. No, it does not work yet. I'm receiving a lot of time-out errors. Here's an example in my Show Mail Log:

    Code:
    Jun 14 09:16:04 server1 postfix/smtp[30692]: connect to mta7.am0.yahoodns.net[66.94.236.34]:25: Connection timed out
    Jun 14 09:16:04 server1 postfix/smtp[30692]: D362B220079: to=, relay=none, delay=221696, delays=221546/0.04/150/0, dsn=4.4.1, status=deferred (connect to mta7.am0.yahoodns.net[66.94.236.34]:25: Connection timed out)
    Jun 14 09:20:01 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    I didn't mention this before but my setup is as the following:

    Internet <-> Modem(1.2.3.4) <-> Router with NAT enabled(192.168.1.1) <-> Server1(192.168.1.20)

    I also receive these errors:

    Code:
    Jun 14 10:23:35 server1 postfix/smtp[757]: warning: smtp_connect_addr: bind 1.2.3.4: Cannot assign requested address
    Jun 14 10:23:35 server1 postfix/smtp[754]: warning: smtp_connect_addr: bind 1.2.3.4: Cannot assign requested address
    Jun 14 10:23:35 server1 postfix/smtp[753]: warning: smtp_connect_addr: bind 1.2.3.4: Cannot assign requested address
    I have the ports 25 and 110 open and forwarded to Server1.

    Again, thank you for the follow up :)
     
  8. falko

    falko Super Moderator Howtoforge Staff

    Is that a remote server or your own server?

    Can you post your main.cf?
     
  9. keen

    keen New Member

    It's my own server

    Code:
    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    biff = no
    append_dot_mydomain = no
    readme_directory = /usr/share/doc/postfix
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.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
    myhostname = server1.resacahost.com
    alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
    alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases
    myorigin = /etc/mailname
    mydestination = $myhostname, mail.$mydomain, localhost.$mydomain, $mydomain
    relayhost =
    mynetworks = 76.205.152.158, 127.0.0.0/8 [::1]/128
    mailbox_command =
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    inet_protocols = all
    home_mailbox = mail/
    virtual_alias_domains =
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, proxy:mysql:/etc/postfix/mysql-virtual_email2email.cf, hash:/var/lib/mailman/data/virtual-mailman
    virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
    virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
    virtual_mailbox_base = /var/vmail
    virtual_uid_maps = static:5000
    virtual_gid_maps = static:5000
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
    smtpd_tls_security_level = may
    transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
    relay_recipient_maps = mysql:/etc/postfix/mysql-virtual_relayrecipientmaps.cf
    proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains $relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps $recipient_canonical_maps $relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
    smtpd_sender_restrictions = check_sender_access mysql:/etc/postfix/mysql-virtual_sender.cf
    smtpd_client_restrictions = check_client_access mysql:/etc/postfix/mysql-virtual_client.cf
    smtpd_client_message_rate_limit = 100
    maildrop_destination_concurrency_limit = 1
    maildrop_destination_recipient_limit = 1
    virtual_transport = dovecot
    header_checks = regexp:/etc/postfix/header_checks
    mime_header_checks = regexp:/etc/postfix/mime_header_checks
    nested_header_checks = regexp:/etc/postfix/nested_header_checks
    body_checks = regexp:/etc/postfix/body_checks
    owner_request_special = no
    dovecot_destination_recipient_limit = 1
    smtpd_sasl_type = dovecot
    smtpd_sasl_path = private/auth
    content_filter = amavis:[127.0.0.1]:10024
    receive_override_options = no_address_mappings
    message_size_limit = 0
    html_directory = /usr/share/doc/postfix/html
    
    Thank-you
     
  10. falko

    falko Super Moderator Howtoforge Staff

    What's the output of
    Code:
    netstat -tap
    ?
     
  11. keen

    keen New Member

    Here you go, thanks for looking at it

    Code:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 localhost:9000          *:*                     LISTEN      19466/php-fpm.conf)
    tcp        0      0 localhost:10024         *:*                     LISTEN      1223/amavisd (maste
    tcp        0      0 localhost:10025         *:*                     LISTEN      2887/master
    tcp        0      0 *:mysql                 *:*                     LISTEN      1004/mysqld
    tcp        0      0 *:netbios-ssn           *:*                     LISTEN      849/smbd
    tcp        0      0 *:pop3                  *:*                     LISTEN      996/dovecot
    tcp        0      0 *:imap2                 *:*                     LISTEN      996/dovecot
    tcp        0      0 *:http-alt              *:*                     LISTEN      15722/apache2
    tcp        0      0 *:http                  *:*                     LISTEN      15722/apache2
    tcp        0      0 *:tproxy                *:*                     LISTEN      15722/apache2
    tcp        0      0 *:ftp                   *:*                     LISTEN      2913/pure-ftpd (SER
    tcp        0      0 server1.resacaho:domain *:*                     LISTEN      1099/named
    tcp        0      0 localhost:domain        *:*                     LISTEN      1099/named
    tcp        0      0 *:ssh                   *:*                     LISTEN      857/sshd
    tcp        0      0 localhost:postgresql    *:*                     LISTEN      1244/postgres
    tcp        0      0 *:smtp                  *:*                     LISTEN      2887/master
    tcp        0      0 localhost:953           *:*                     LISTEN      1099/named
    tcp        0      0 *:https                 *:*                     LISTEN      15722/apache2
    tcp        0      0 *:microsoft-ds          *:*                     LISTEN      849/smbd
    tcp        0      0 *:imaps                 *:*                     LISTEN      996/dovecot
    tcp        0      0 *:pop3s                 *:*                     LISTEN      996/dovecot
    tcp        0      0 localhost:39197         localhost:mysql         TIME_WAIT   -
    tcp       59      0 localhost:54589         localhost:10025         CLOSE_WAIT  28784/amavisd (ch1-
    tcp        0      0 localhost:39202         localhost:mysql         TIME_WAIT   -
    tcp        0      0 localhost:39199         localhost:mysql         TIME_WAIT   -
    tcp        0      0 localhost:mysql         localhost:38606         ESTABLISHED 1004/mysqld
    tcp        0      0 localhost:39206         localhost:mysql         TIME_WAIT   -
    tcp        0      0 localhost:39204         localhost:mysql         TIME_WAIT   -
    tcp        0      0 localhost:38604         localhost:mysql         ESTABLISHED 28784/amavisd (ch1-
    tcp        0      0 localhost:39200         localhost:mysql         TIME_WAIT   -
    tcp        0   3996 server1.resacahost.:ssh 76-205-152-158.li:54029 ESTABLISHED 31200/sshd: jorge [
    tcp        0      0 server1.resaca:http-alt 76-205-152-158.li:54034 TIME_WAIT   -
    tcp        0      0 localhost:39203         localhost:mysql         TIME_WAIT   -
    tcp       59      0 localhost:54594         localhost:10025         CLOSE_WAIT  28788/amavisd (ch1-
    tcp        0      0 localhost:mysql         localhost:38604         ESTABLISHED 1004/mysqld
    tcp        0      0 localhost:39201         localhost:mysql         TIME_WAIT   -
    tcp        0      0 localhost:39198         localhost:mysql         TIME_WAIT   -
    tcp        0      0 localhost:38606         localhost:mysql         ESTABLISHED 28788/amavisd (ch1-
    tcp        0      0 server1.resaca:http-alt 76-205-152-158.li:54035 TIME_WAIT   -
    tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      996/dovecot
    tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      996/dovecot
    tcp6       0      0 [::]:ftp                [::]:*                  LISTEN      2913/pure-ftpd (SER
    tcp6       0      0 [::]:domain             [::]:*                  LISTEN      1099/named
    tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      857/sshd
    tcp6       0      0 [::]:smtp               [::]:*                  LISTEN      2887/master
    tcp6       0      0 ip6-localhost:953       [::]:*                  LISTEN      1099/named
    tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      996/dovecot
    tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      996/dovecot
    
     
  12. falko

    falko Super Moderator Howtoforge Staff

    Postfix is running. Can you post the output of
    Code:
    iptables -L
    as well?
     
  13. keen

    keen New Member

    This is the output

    Code:
    Chain INPUT (policy ACCEPT)
    target     prot opt source               destination
    
    Chain FORWARD (policy ACCEPT)
    target     prot opt source               destination
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    
     
  14. falko

    falko Super Moderator Howtoforge Staff

    Looks ok.

    This seems as if your serer doesn't know that IP. Is 1.2.3.4 listed in the output of
    ?
     
  15. keen

    keen New Member

    Output is as followed:

    My setup is with my public IP (76.x.x.x) to my modem, then to the 192.x.x.1 router, then to my 192.x.x.20 server (aka server1).


    Code:
    ifconfig
    eth0      Link encap:Ethernet  HWaddr 00:11:11:a8:f3:63
              inet addr:192.168.1.20  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::211:11ff:fea8:f363/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:27541 errors:0 dropped:0 overruns:0 frame:0
              TX packets:19730 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:32542249 (32.5 MB)  TX bytes:3470364 (3.4 MB)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:9387 errors:0 dropped:0 overruns:0 frame:0
              TX packets:9387 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:1221679 (1.2 MB)  TX bytes:1221679 (1.2 MB)
    
     
  16. falko

    falko Super Moderator Howtoforge Staff

    Is the IP from the Postfix error listed in ifconfig?
     
  17. keen

    keen New Member

    Sorry it took a while to respond. It doesn't show an error, however, here's my latest log files.

    Code:
    Jun 27 09:02:06 server1 postfix/error[25510]: EA5142203FC: to=, relay=none, delay=233711, delays=233560/151/0/0.1, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25492]: D7CE6220BB0: to=, relay=none, delay=233711, delays=233560/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25544]: E6E11220BE1: to=, relay=none, delay=237911, delays=237760/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25547]: EA80F220BCC: to=, relay=none, delay=233711, delays=233560/151/0/0.1, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25488]: D7AD4220C43: to=, relay=none, delay=233711, delays=233560/151/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25516]: DCE28220C49: to=, relay=none, delay=233711, delays=233560/151/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25514]: D6D9322055E: to=, relay=none, delay=246312, delays=246161/151/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25530]: DBE80220BD9: to=, relay=none, delay=237911, delays=237760/151/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25536]: D633F220120: to=, relay=none, delay=237911, delays=237760/151/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25504]: D9203220C2E: to=, relay=none, delay=233711, delays=233560/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25495]: D640F22041F: to=, relay=none, delay=237911, delays=237760/151/0/0.08, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25528]: D8C3D220BC0: to=, relay=none, delay=233711, delays=233560/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25506]: D7C49220BC4: to=, relay=none, delay=233711, delays=233560/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25491]: 1B9E5220BD3: to=, relay=none, delay=237911, delays=237760/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25489]: F31EF220B93: to=, relay=none, delay=237911, delays=237760/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25523]: F3214220B9B: to=, relay=none, delay=237911, delays=237760/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25540]: DA345220BCF: to=, relay=none, delay=237911, delays=237760/151/0/0.1, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25492]: D35242203F5: to=, relay=none, delay=246312, delays=246161/151/0/0.1, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25544]: F3BFE220BA4: to=, relay=none, delay=237911, delays=237760/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25508]: 67DAE22062C: to=, relay=none, delay=233712, delays=233560/151/0/0.1, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25547]: 1C9F5220BD8: to=, relay=none, delay=237911, delays=237760/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25538]: 682B7220C17: to=, relay=none, delay=246312, delays=246160/151/0/0.1, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25490]: F3FF42209BD: to=, relay=none, delay=246312, delays=246161/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:06 server1 postfix/error[25510]: 1E7F7220BF2: to=, relay=none, delay=237911, delays=237760/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:07 server1 postfix/error[25542]: 1B51D220BCA: to=, relay=none, delay=237911, delays=237760/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:07 server1 postfix/error[25530]: 2E5B4220C25: to=, relay=none, delay=237911, delays=237760/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:07 server1 postfix/error[25514]: 1D441220BE6: to=, relay=none, delay=237911, delays=237760/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:07 server1 postfix/error[25516]: 26BB1220C1F: to=, relay=none, delay=237911, delays=237760/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:07 server1 postfix/error[25488]: 1E59F220BEC: to=, relay=none, delay=237911, delays=237760/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:07 server1 postfix/error[25536]: 20F86220BA3: to=, relay=none, delay=246312, delays=246161/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:07 server1 postfix/error[25528]: 26385220BC7: to=, relay=none, delay=246312, delays=246161/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:07 server1 postfix/error[25504]: 20AFC220BA2: to=, relay=none, delay=246312, delays=246161/151/0/0.09, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:02:07 server1 postfix/error[25495]: 29B2B220C24: to=, relay=none, delay=237911, delays=237760/151/0/0.05, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:04:35 server1 postfix/qmgr[2601]: 00193220C7D: from=, size=1167, nrcpt=1 (queue active)
    Jun 27 09:04:35 server1 postfix/qmgr[2601]: 23A45220C7C: from=, size=1160, nrcpt=1 (queue active)
    Jun 27 09:04:35 server1 postfix/error[25589]: 00193220C7D: to=, relay=none, delay=212696, delays=212696/0.03/0/0.06, dsn=4.4.1, status=deferred (delivery temporarily suspended: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:05:02 server1 postfix/smtpd[25621]: connect from localhost[127.0.0.1]
    Jun 27 09:05:02 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jun 27 09:05:02 server1 postfix/smtpd[25621]: lost connection after CONNECT from localhost[127.0.0.1]
    Jun 27 09:05:02 server1 postfix/smtpd[25621]: disconnect from localhost[127.0.0.1]
    Jun 27 09:05:02 server1 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jun 27 09:05:05 server1 postfix/smtp[25590]: connect to mx3.hotmail.com[65.55.37.104]:25: Connection timed out
    Jun 27 09:05:35 server1 postfix/smtp[25590]: connect to mx2.hotmail.com[65.54.188.126]:25: Connection timed out
    Jun 27 09:06:05 server1 postfix/smtp[25590]: connect to mx2.hotmail.com[65.55.37.104]:25: Connection timed out
    Jun 27 09:06:35 server1 postfix/smtp[25590]: connect to mx3.hotmail.com[65.55.92.184]:25: Connection timed out
    Jun 27 09:07:05 server1 postfix/smtp[25590]: connect to mx1.hotmail.com[65.55.37.72]:25: Connection timed out
    Jun 27 09:07:05 server1 postfix/smtp[25590]: 23A45220C7C: to=, relay=none, delay=212843, delays=212692/0.01/151/0, dsn=4.4.1, status=deferred (connect to mx1.hotmail.com[65.55.37.72]:25: Connection timed out)
    Jun 27 09:08:44 server1 dovecot: auth-worker: mysql(localhost): Connected to database dbispconfig
    Jun 27 09:08:44 server1 dovecot: pop3-login: Login: user=, method=PLAIN, rip=76.205.152.158, lip=192.168.1.20, mpid=25676
    Jun 27 09:08:44 server1 dovecot: pop3([email protected]): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
    Jun 27 09:09:35 server1 postfix/qmgr[2601]: 98F66220C61: from=, size=2242, nrcpt=1 (queue active)
    Jun 27 09:10:02 server1 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jun 27 09:10:02 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jun 27 09:10:02 server1 postfix/smtpd[25731]: connect from localhost[127.0.0.1]
    Jun 27 09:10:02 server1 postfix/smtpd[25731]: lost connection after CONNECT from localhost[127.0.0.1]
    Jun 27 09:10:02 server1 postfix/smtpd[25731]: disconnect from localhost[127.0.0.1]
    Jun 27 09:10:05 server1 postfix/smtp[25701]: connect to ASPMX.L.GOOGLE.com[173.194.77.26]:25: Connection timed out
    Jun 27 09:10:35 server1 postfix/smtp[25701]: connect to ALT1.ASPMX.L.GOOGLE.com[74.125.130.26]:25: Connection timed out
    Jun 27 09:11:05 server1 postfix/smtp[25701]: connect to ALT2.ASPMX.L.GOOGLE.com[173.194.76.26]:25: Connection timed out
    Jun 27 09:11:35 server1 postfix/smtp[25701]: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out
    Jun 27 09:12:05 server1 postfix/smtp[25701]: connect to ASPMX2.GOOGLEMAIL.com[173.194.69.27]:25: Connection timed out
    Jun 27 09:12:05 server1 postfix/smtp[25701]: 98F66220C61: to=, relay=none, delay=435399, delays=435249/0.03/150/0, dsn=4.4.1, status=deferred (connect to ASPMX2.GOOGLEMAIL.com[173.194.69.27]:25: Connection timed out)
    Jun 27 09:12:05 server1 postfix/qmgr[2601]: 98F66220C61: from=, status=expired, returned to sender
    Jun 27 09:12:05 server1 postfix/cleanup[25765]: 9644D220C75: message-id=<[email protected]>
    Jun 27 09:12:05 server1 postfix/bounce[25763]: 98F66220C61: sender non-delivery notification: 9644D220C75
    Jun 27 09:12:05 server1 postfix/qmgr[2601]: 9644D220C75: from=<>, size=4253, nrcpt=1 (queue active)
    Jun 27 09:12:05 server1 postfix/trivial-rewrite[25767]: warning: do not list domain resacahost.com in BOTH mydestination and virtual_mailbox_domains
    Jun 27 09:12:05 server1 postfix/qmgr[2601]: 98F66220C61: removed
    Jun 27 09:12:05 server1 postfix/local[25769]: 9644D220C75: to=, orig_to=, relay=local, delay=0.13, delays=0.07/0.01/0/0.05, dsn=5.1.1, status=bounced (unknown user: "webmaster")
    Jun 27 09:12:05 server1 postfix/qmgr[2601]: 9644D220C75: removed
    Jun 27 09:14:35 server1 postfix/qmgr[2601]: CEAAC220C57: from=, size=1656, nrcpt=1 (queue active)
    Jun 27 09:14:35 server1 postfix/qmgr[2601]: 67658220C8C: from=, size=2416, nrcpt=1 (queue active)
    Jun 27 09:15:02 server1 postfix/smtpd[25822]: connect from localhost[127.0.0.1]
    Jun 27 09:15:02 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jun 27 09:15:02 server1 postfix/smtpd[25822]: lost connection after CONNECT from localhost[127.0.0.1]
    Jun 27 09:15:02 server1 postfix/smtpd[25822]: disconnect from localhost[127.0.0.1]
    Jun 27 09:15:02 server1 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jun 27 09:15:06 server1 postfix/smtp[25792]: connect to ASPMX.L.GOOGLE.com[173.194.77.26]:25: Connection timed out
    Jun 27 09:15:06 server1 postfix/smtp[25793]: connect to ASPMX.L.GOOGLE.com[173.194.77.26]:25: Connection timed out
    Jun 27 09:15:36 server1 postfix/smtp[25792]: connect to ALT2.ASPMX.L.GOOGLE.com[173.194.76.26]:25: Connection timed out
    Jun 27 09:15:36 server1 postfix/smtp[25793]: connect to ALT2.ASPMX.L.GOOGLE.com[173.194.76.26]:25: Connection timed out
    Jun 27 09:16:06 server1 postfix/smtp[25793]: connect to ALT1.ASPMX.L.GOOGLE.com[74.125.45.27]:25: Connection timed out
    Jun 27 09:16:06 server1 postfix/smtp[25792]: connect to ALT1.ASPMX.L.GOOGLE.com[74.125.45.27]:25: Connection timed out
    Jun 27 09:16:36 server1 postfix/smtp[25793]: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out
    Jun 27 09:16:36 server1 postfix/smtp[25792]: connect to ASPMX2.GOOGLEMAIL.com[173.194.69.27]:25: Connection timed out
    Jun 27 09:17:06 server1 postfix/smtp[25793]: connect to ASPMX2.GOOGLEMAIL.com[173.194.69.27]:25: Connection timed out
    Jun 27 09:17:06 server1 postfix/smtp[25792]: connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out
    Jun 27 09:17:06 server1 postfix/smtp[25793]: 67658220C8C: to=, relay=none, delay=403409, delays=403258/0.02/150/0, dsn=4.4.1, status=deferred (connect to ASPMX2.GOOGLEMAIL.com[173.194.69.27]:25: Connection timed out)
    Jun 27 09:17:06 server1 postfix/smtp[25792]: CEAAC220C57: to=, relay=none, delay=351347, delays=351197/0.03/150/0, dsn=4.4.1, status=deferred (connect to ASPMX3.GOOGLEMAIL.com[74.125.127.27]:25: Connection timed out)
    Jun 27 09:19:18 server1 dovecot: auth-worker: mysql(localhost): Connected to database dbispconfig
    Jun 27 09:19:18 server1 dovecot: pop3-login: Login: user=, method=PLAIN, rip=76.205.152.158, lip=192.168.1.20, mpid=25895
    Jun 27 09:19:18 server1 dovecot: pop3([email protected]): Disconnected: Logged out top=0/0, retr=0/0, del=0/0, size=0
    Jun 27 09:20:02 server1 dovecot: pop3-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jun 27 09:20:02 server1 dovecot: imap-login: Disconnected (no auth attempts): rip=127.0.0.1, lip=127.0.0.1, secured
    Jun 27 09:20:02 server1 postfix/smtpd[25923]: connect from localhost[127.0.0.1]
    Jun 27 09:20:02 server1 postfix/smtpd[25923]: lost connection after CONNECT from localhost[127.0.0.1]
    Jun 27 09:20:02 server1 postfix/smtpd[25923]: disconnect from localhost[127.0.0.1]
    Jun 27 09:24:35 server1 postfix/qmgr[2601]: BB14D220CB0: from=, size=1833, nrcpt=1 (queue active)
    Jun 27 09:24:35 server1 postfix/qmgr[2601]: 3D1AB220CAB: from=, size=2179, nrcpt=1 (queue active)
    Jun 27 09:24:35 server1 postfix/smtp[25976]: connect to gmail-smtp-in-v4v6.l.google.com[2001:4860:b007::1b]:25: Network is unreachable
     
  18. keen

    keen New Member

    falko,

    Thank-you for your time and effort - We addressed all the problems that I was having and I understood everything should work.

    I tested the site using the mxtoolbox website and it said that Port 25 was open, however, just before I threw the server against the wall, I called my ISP and sure enough, they had Port 25 blocked.

    They opened the port and my Inbox was flooded with E-mail from my server.

    Once again, thank you for everything and I apologize for having wasted any of your time. The configuration works and I can send and receive E-mails now.

    Thank-you,
    keen
     
  19. keen

    keen New Member

    Alright, I can send and receive E-mails as root, however, when I setup an E-mail user via ISPConfig, and send an E-mail to the recipient/user I get the following error:

    Code:
    This is the mail system at host server1.resacahost.com.
    
    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.
    
    For further assistance, please send mail to postmaster.
    
    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.
    
                       The mail system
    
    <[email protected]>: user unknown
    
     
  20. falko

    falko Super Moderator Howtoforge Staff

    Can you post your /etc/postfix/main.cf?
     

Share This Page