small postfix problem

Discussion in 'Server Operation' started by webmastir, Dec 4, 2008.

  1. webmastir

    webmastir New Member

    [SOLVED]small courier-imap problem

    followed

    http://www.howtoforge.com/perfect-server-ubuntu8.04-lts-p5

    -

    all works i can send & receive e-mails, but i can't see my Inbox via Squirrelmail nor using evolution/outlook on other computers to pull new mail from my inbox. i can read it find on the server itself via cmd line ...just not from another computer or from squirrelmail.

    Any ideas?

    everything goes in Mailbox ... like it should. i can't figure out why sm or outlook aren't grabbing mail that has been received.

    need more info let me know. THANKS
    (I'm assuming this should be a fairly easy fix since i can receive mail just fine.)
    (& im using courier-imap)
     
    Last edited: Dec 5, 2008
  2. webmastir

    webmastir New Member

    & since you're prob going to ask for it. here's my main.cf

    Code:
    alias_database = hash:/etc/aliases
    alias_maps = hash:/etc/aliases
    append_dot_mydomain = no
    biff = no
    broken_sasl_auth_clients = yes
    config_directory = /etc/postfix
    disable_vrfy_command = yes
    home_mailbox = Maildir/
    inet_interfaces = all
    inet_protocols = all
    mailbox_command = procmail -a "$extension"
    mailbox_size_limit = 0
    maximal_backoff_time = 8000s
    minimal_backoff_time = 1000s
    mydestination = <mydomain>, saturn, localhost.localdomain, localhost, 192.168.1.0/24
    myhostname = saturn
    mynetworks = 127.0.0.0/8 192.0.0.0/8 <myip>/32
    myorigin = /etc/mailname
    readme_directory = no
    recipient_delimiter = +
    relayhost = [mail.charter.net]
    smtp_helo_timeout = 60s
    smtp_sasl_auth_enable = yes
    smtp_sasl_password_maps = hash:/etc/postfix/charter/sasl_passwd
    smtp_sasl_security_options = 
    smtp_tls_note_starttls_offer = yes
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    smtp_use_tls = yes
    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, reject_rbl_client blackholes.easynew.nl, reject_rbl_client dnsbl.njabl.org
    smtpd_delay_reject = yes
    smtpd_hard_error_limit = 12
    smtpd_helo_required = yes
    smtpd_recipient_limit = 16
    smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unauth_pipelining, permit_mynetworks, reject_unauth_destination, reject_rbl_client zen.spamhaus.org
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_sasl_local_domain = $myhostname
    smtpd_sasl_security_options = noanonymous
    smtpd_sender_restrictions = check_sender_access hash:/etc/postfix/access, reject_unknown_sender_domain, permit_mynetworks, reject_unauth_pipelining, permit
    smtpd_soft_error_limit = 3
    smtpd_tls_CAfile = /etc/postfix/ssl/cacert.pem
    smtpd_tls_auth_only = no
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtpd_tls_session_cache_timeout = 3600s
    smtpd_use_tls = yes
    tls_random_source = dev:/dev/urandom
    
     
  3. webmastir

    webmastir New Member

    any one?? :confused::confused:
     
  4. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    netstat -tap
    ? What's in your mail log when an email arrives on the system?
     
  5. webmastir

    webmastir New Member

    Code:
    Active Internet connections (servers and established)
    Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
    tcp        0      0 *:mysql                 *:*                     LISTEN      6217/mysqld     
    tcp        0      0 *:www                   *:*                     LISTEN      3275/apache2    
    tcp        0      0 *:13334                 *:*                     LISTEN      15419/proftpd: (acc
    tcp        0      0 localhost:ipp           *:*                     LISTEN      5224/cupsd      
    tcp        0      0 *:smtp                  *:*                     LISTEN      4889/master     
    tcp        0      0 *:https                 *:*                     LISTEN      3275/apache2    
    tcp6       0      0 [::]:imaps              [::]:*                  LISTEN      5159/couriertcpd
    tcp6       0      0 [::]:pop3s              [::]:*                  LISTEN      5199/couriertcpd
    tcp6       0      0 [::]:9034               [::]:*                  LISTEN      6266/vino-server
    tcp6       0      0 [::]:pop3               [::]:*                  LISTEN      5176/couriertcpd
    tcp6       0      0 [::]:imap2              [::]:*                  LISTEN      5136/couriertcpd
    tcp6       0      0 [::]:smtp               [::]:*                  LISTEN      4889/master     
    tcp6       0      0 [::]:44222              [::]:*                  LISTEN      5892/sshd       
    tcp6       0      0 saturn:44222            pluto:52885             ESTABLISHED 31655/sshd: foo [pr
    
    Incoming mails:
    Code:
    Dec  4 15:24:27 saturn postfix/smtpd[5216]: connect from rv-out-0708.google.com[209.85.198.246]
    Dec  4 15:24:27 saturn postfix/smtpd[5216]: CEA341C1DD: client=rv-out-0708.google.com[209.85.198.246]
    Dec  4 15:24:28 saturn postfix/cleanup[5221]: CEA341C1DD: message-id=<000e01c95656$aeb34450$0c19ccf0$@com>
    Dec  4 15:24:28 saturn postfix/qmgr[4892]: CEA341C1DD: from=<[email protected]>, size=2534, nrcpt=1 (queue active)
    Dec  4 15:24:28 saturn postfix/local[5229]: CEA341C1DD: to=<[email protected]>, relay=local, delay=0.83, delays=0.81/0.01/0/0.01, dsn=2.0.0, status=sent (delivered to command: procmail -a "$extension")
    Dec  4 15:24:28 saturn postfix/qmgr[4892]: CEA341C1DD: removed
    
    
    (i'm pulling the mail from a machine on my LAN. not from outside 192.*.*.*)

    Thanks for the reply!
     
  6. falko

    falko Super Moderator ISPConfig Developer

    Try this:
    Code:
    postconf -e 'home_mailbox = Maildir/'
    postconf -e 'mailbox_command ='
    /etc/init.d/postfix restart
     
  7. webmastir

    webmastir New Member

    ok. i installed dovecot & it has fixed my problem.

    dovecot > *
    :D


    THANKYOU for the replies Falko. I really appreciate it.
    You can mark this thread as Solved.
     

Share This Page