Another Cant recieve mail

Discussion in 'Installation/Configuration' started by byteme, Aug 28, 2006.

  1. byteme

    byteme New Member

    Have reinstalled twice now from susie 10.1 perfect-setup. Searched for the last several days before posting here.
    Can send mail fine and mail is not returned to sender when sending to my email address. I also see no maillog files generated when I send or recieve.
    Have Server set to Save log and maildir checked.

    Output of netstat -tap below:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
    tcp 0 0 *:mysql *:* LISTEN 25880/mysqld
    tcp 0 0 *:sunrpc *:* LISTEN 2750/portmap
    tcp 0 0 *:ndmp *:* LISTEN 11796/perl
    tcp 0 0 localhost:novell-zen *:* LISTEN 3000/zmd
    tcp 0 0 *:hosts2-ns *:* LISTEN 16224/ispconfig_htt
    tcp 0 0 *:ftp *:* LISTEN 17907/proftpd: (acc
    tcp 0 0 linux-suse.djmil:domain *:* LISTEN 17886/named
    tcp 0 0 localhost:domain *:* LISTEN 17886/named
    tcp 0 0 *:ipp *:* LISTEN 3091/cupsd
    tcp 0 0 *:smtp *:* LISTEN 21794/master
    tcp 0 0 localhost:953 *:* LISTEN 17886/named
    tcp 0 0 *:imaps *:* LISTEN 7307/couriertcpd
    tcp 0 0 *:pop3s *:* LISTEN 7282/couriertcpd
    tcp 0 0 *:pop3 *:* LISTEN 7208/couriertcpd
    tcp 0 0 *:imap *:* LISTEN 7223/couriertcpd
    tcp 0 0 *:www-http *:* LISTEN 16291/httpd2-prefor
    tcp 0 0 *:ssh *:* LISTEN 2985/sshd
    tcp 0 0 *:smtp *:* LISTEN 21794/master
    tcp 0 0 localhost:953 *:* LISTEN 17886/named
    tcp 0 0 *:https *:* LISTEN 16291/httpd2-prefor
    tcp 0 0 linux-suse.djmiller:ssh 192.168.15.3%30864:esip ESTABLISHED 3298/0
    tcp 0 148 linux-suse.djmiller:ssh 192.168.15:d-cinema-rrp ESTABLISHED 21204/2
    ---------------------------

    Mail log below: only errors shown

    Aug 26 23:39:41 linux postfix/postmap[4918]: warning: My hostname linux-suse is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf - I probobly missed this one in the set-up so edited the mail.cf file. which now is:


    #
    readme_directory = /usr/share/doc/packages/postfix/README_FILES
    inet_protocols = all
    biff = no
    mail_spool_directory = /var/mail
    canonical_maps = hash:/etc/postfix/canonical
    #virtual_alias_maps = hash:/etc/postfix/virtual
    virtual_alias_domains = hash:/etc/postfix/virtual
    relocated_maps = hash:/etc/postfix/relocated
    transport_maps = hash:/etc/postfix/transport
    sender_canonical_maps = hash:/etc/postfix/sender_canonical
    masquerade_exceptions = root
    masquerade_classes = envelope_sender, header_sender, header_recipient
    myhostname = linux-suse.djmiller.us
    program_directory = /usr/lib/postfix
    inet_interfaces = all
    masquerade_domains =
    #mydestination = $myhostname, localhost.$mydomain
    defer_transports =
    mynetworks_style = subnet
    disable_dns_lookups = no
    relayhost =
    mailbox_command =
    mailbox_transport =
    strict_8bitmime = no
    disable_mime_output_conversion = no
    smtpd_sender_restrictions = hash:/etc/postfix/access
    smtpd_client_restrictions =
    smtpd_helo_required = no
    smtpd_helo_restrictions =
    strict_rfc821_envelopes = no
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_rel$
    smtp_sasl_auth_enable = no
    smtpd_sasl_auth_enable = yes
    smtpd_use_tls = yes
    smtp_use_tls = yes
    alias_maps = hash:/etc/aliases
    mailbox_size_limit = 0
    message_size_limit = 10240000
    mydomain = djmiller.us
    smtpd_sasl_local_domain =
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_tls_auth_only = no
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom

    Hope I have supplied enough info.

    Thanks,
    Dan
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Did you install ISPConfig on this server or did you reinstall postfix with yast after you installed ISPConfig? The includes of the ISPConfig postfix configuration files are missing.

    Please add:
    at the end of your main.cf file and restart postfix.
     
  3. byteme

    byteme New Member

    Till, I am sorry I did not include the last two entries when I posted my mail.cf file. Those 2 lines are the last two lines in the file already.
    My last two installs were from the perfect set-up on a completely clean box.

    Just noticed something that may be of interest.
    While inside the network I can telnet to the box on both ports 25 and 110
    From the outside world cannot telnet on port 25, 110 only.
    My routers ports are open however I am using comcast cable. I called them today and got usless information as who I spoke with does not even understand the concept of ports. I was given another number to call but that number was no good.

    I am assuming comcast is blocking incoming connections on port 25. Is there any work around on this? Anyone have similar issues?

    After an hour or so on the phone with comcast I convinced them to force a new ip address for me. They said they were not blocking post 25 but after I got a new public IP all is fine.
     
    Last edited: Aug 29, 2006

Share This Page