Cannot send or receive mail after setup

Discussion in 'HOWTO-Related Questions' started by 50CentOS, Jun 9, 2010.

  1. 50CentOS

    50CentOS New Member

    I have installed iREDmail using this guide
    Set Up A Full-Featured Mail Server With iRedOS: MySQL, Postfix, Dovecot, ClamAV, SpamAssassin, Amavisd, RoundCube/SquirrelMail

    I dont seem to have any issues except with the sending or receipt of mails?

    I am testing this on VMware and have installed the system with a no-ip subdomain.
    the hostname of the mail server is

    I have added the A host record to no-ip and under it the MX record for

    I have the VM in DMZ so i can access the apache start page as well as the control panel for postfix etc.
    When i try to send/receive mail the connection seems to be getting timed out.


    Here is my dig records:
    [[email protected] log]# dig mx
    ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> mx
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2107
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 3
    ;              IN      MX
    ;; ANSWER SECTION:       60      IN      MX      5
    ;; AUTHORITY SECTION:              60      IN      NS              60      IN      NS              60      IN      NS              60      IN      NS
    ;; ADDITIONAL SECTION:          74442   IN      A          557     IN      A          74442   IN      A
    ;; Query time: 116 msec
    ;; SERVER:
    ;; WHEN: Wed Jun  9 09:23:26 2010
    ;; MSG SIZE  rcvd: 184
    What could the problem be?
    here is my postconf -n output:
    [[email protected] log]# postconf -n
    alias_database = hash:/etc/postfix/aliases
    alias_maps = hash:/etc/postfix/aliases
    allow_min_user = no
    biff = no
    bounce_queue_lifetime = 1d
    broken_sasl_auth_clients = yes
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[]:10024
    daemon_directory = /usr/libexec/postfix
    data_directory = /var/lib/postfix
    debug_peer_level = 2
    delay_warning_time = 0h
    disable_vrfy_command = yes
    enable_original_recipient = no
    header_checks = pcre:/etc/postfix/header_checks.pcre
    home_mailbox = Maildir/
    html_directory = no
    inet_interfaces = all
    inet_protocols = all
    mail_name = iRedMail
    mail_owner = postfix
    mail_version = 0.5.0
    mailbox_command = /usr/libexec/dovecot/deliver
    mailbox_size_limit = 15728640
    mailq_path = /usr/bin/mailq.postfix
    manpage_directory = /usr/share/man
    maximal_backoff_time = 4000s
    maximal_queue_lifetime = 1d
    message_size_limit = 15728640
    minimal_backoff_time = 300s
    mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname
    mydomain = mysite.zapto
    myhostname =
    mynetworks =
    mynetworks_style = subnet
    myorigin =
    newaliases_path = /usr/bin/newaliases.postfix
    queue_directory = /var/spool/postfix
    queue_run_delay = 300s
    readme_directory = /usr/share/doc/postfix-2.5.6/README_FILES
    receive_override_options = no_address_mappings
    recipient_bcc_maps = mysql:/etc/postfix/, mysql:/etc/postfix/
    relay_domains = , mysql:/etc/postfix/
    relay_recipient_maps = mysql:/etc/postfix/
    sample_directory = /usr/share/doc/postfix-2.5.6/samples
    sender_bcc_maps = mysql:/etc/postfix/, mysql:/etc/postfix/
    sendmail_path = /usr/sbin/sendmail.postfix
    setgid_group = postdrop
    smtpd_data_restrictions = reject_unauth_pipelining
    smtpd_enforce_tls = no
    smtpd_helo_required = yes
    smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, check_helo_access pcre:/etc/postfix/helo_access.pcre
    smtpd_recipient_restrictions = reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unlisted_recipient, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, reject_non_fqdn_helo_hostname, reject_invalid_helo_hostname, check_policy_service inet:
    smtpd_reject_unlisted_recipient = yes
    smtpd_reject_unlisted_sender = yes
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_authenticated_header = no
    smtpd_sasl_local_domain = 
    smtpd_sasl_path = dovecot-auth
    smtpd_sasl_security_options = noanonymous
    smtpd_sasl_type = dovecot
    smtpd_sender_login_maps = mysql:/etc/postfix/
    smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated
    smtpd_tls_cert_file = /etc/pki/tls/certs/iRedMail_CA.pem
    smtpd_tls_key_file = /etc/pki/tls/private/iRedMail.key
    smtpd_tls_loglevel = 0
    smtpd_tls_security_level = may
    tls_random_source = dev:/dev/urandom
    transport_maps = mysql:/etc/postfix/, mysql:/etc/postfix/
    unknown_local_recipient_reject_code = 550
    virtual_alias_maps = mysql:/etc/postfix/
    virtual_gid_maps = static:500
    virtual_mailbox_base = /var/vmail/vmail01
    virtual_mailbox_domains = mysql:/etc/postfix/
    virtual_mailbox_maps = mysql:/etc/postfix/
    virtual_minimum_uid = 500
    virtual_transport = dovecot
    virtual_uid_maps = static:500
    if anyone can shed some light on what might be causing this i would be very greatful.

    *I just noticed that the domain portion is being truncated possibly because it is expecting a and not a subdomain.
    it seems to have removed the .org.

    Is it possible to setup this type of config with a subdomain?
    Last edited: Jun 10, 2010
  2. falko

    falko Super Moderator ISPConfig Developer

  3. 50CentOS

    50CentOS New Member

    You were right it seems the no-ip domain is blacklisted 4 times

    Listed 4 times with 4 timeouts.
    Blacklist	Status	Reason	TTL	ResponseTime
    FIVETEN	 LISTED	miscellaneous address blocks that have sent spam here
    Return codes were:	864000	530
    SORBS-DUHL	 LISTED	Dynamic IP Addresses See: Detail
    Return codes were:	3600	530
    Spamhaus-ZEN	 LISTED	Detail
    Return codes were:	900	702
    Tiopan	 LISTED	Return codes were:	2100	702
    Well if its just the domain causing the problem i was only trying to test so maybe i will have better results with a

    thanks for the insight falko
  4. falko

    falko Super Moderator ISPConfig Developer

    If you have a dynamic IP, then there's no way to get de-listed from the blacklists. Almost all dynamic IPs are blacklisted nowadays.

Share This Page