SendMail and squirrelmail

Discussion in 'Server Operation' started by mmistroni, Mar 12, 2010.

  1. mmistroni

    mmistroni New Member

    Hello all
    i own a VPS where i have installed squirell mail and courier.
    I have upgraded the VPS to a new operating system so in the transition phase they gave me another VPS to setup with my stuff.
    I installed again squirrelmail and courier.

    Mail is working fine apart from one thing:
    when i sent email from my new address (*to myself), all mail gets redirected to var/mail/<myuser> as opposed to the INBOX directory for squirrelmal

    could anyone tell me why? apparently SENT folder and Thrash folder are ok....
  2. falko

    falko Super Moderator ISPConfig Developer

    Did you configure your mailserver to use Maildir instead of mbox?
  3. mmistroni

    mmistroni New Member

    i thought i did.
    I am using Ubuntu server 9.10... i installed squirrelmail from ubuntu packages...
    I cannot find out what am i missing as i followed your tutorial.
    When i did it with ubuntu 7.04 it worked just fine.
    This time, following same steps, it didnt work..
    any help?


    here's my postfix
    # 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/postfix/ssl/smtpd.crt
    smtpd_tls_key_file = /etc/postfix/ssl/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
    # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
    # information on enabling SSL in the smtp client.
    myhostname =
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination =,,localhost.localdomain , localhost
    relayhost = 
    mynetworks = [::ffff:]/104 [::1]/128
    mailbox_command = 
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    inet_protocols = all
    smtpd_sasl_local_domain = 
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination
    smtpd_tls_auth_only = no
    smtp_use_tls = yes
    #smtpd_tls_note_starttls_offer = yes
    smtp_tls_note_starttls_offer = yes
    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
    home_mailbox = Maildir/
    #virtual_alias_domains = /etc/postfix/local-host-names
    virtual_alias_maps = hash:/etc/postfix/virtusertable
    mydestination = /etc/postfix/local-host-names
  4. mmistroni

    mmistroni New Member

    Hello falko,
    i think i sorted out the problem

    by random telnetting into port 25 i discovered that sendmail was running and postfix was shut..
    probably i messed up postfix installation, so i removed sendmail and reinstalled postfix and everything seems to work fine


Share This Page