Squirrel Mail problem

Discussion in 'Installation/Configuration' started by RossImlach, May 8, 2009.

  1. RossImlach

    RossImlach New Member

    I installed Ubuntu 9.04 (with help from the tutorial) without problem. However, when I tried to look at my mail via squirrelmail on my webserver, it would not show mail that had come in, however, it would happily send mail from it. To check that I was actually recieving mail, I installed Webmin, and used it to look at the mail that was incomming. I could see the messages there, but not with squirrel mail.

    Any ideas how to sort this?

    Thanks in advance...
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    please do not use webmin on a ispconfig 3 server as it might destroy the configuration.

    to your mail problem, please post an excerpt of the mail log.
     
  3. RossImlach

    RossImlach New Member

    Will uninstalling webmin sort anything?

    Mail log excerpt:

    Code:
    localhost[127.0.0.1]
    May 8 17:45:01 lcaserver postfix/smtpd[12408]: disconnect from localhost[127.0.0.1]
    May 8 17:46:02 lcaserver postfix/pickup[10931]: 6B3033DE549: uid=33 from=
    May 8 17:46:02 lcaserver postfix/cleanup[12464]: 6B3033DE549: message-id=<20090508164602.6B3033DE549@lcaserver.ath.cx>
    May 8 17:46:02 lcaserver postfix/qmgr[3321]: 6B3033DE549: from=, size=521, nrcpt=1 (queue active)
    May 8 17:46:02 lcaserver postfix/smtpd[12470]: connect from localhost[127.0.0.1]
    May 8 17:46:02 lcaserver postfix/trivial-rewrite[12466]: warning: do not list domain lcaserver.ath.cx in BOTH mydestination and virtual_mailbox_domains
    May 8 17:46:02 lcaserver postfix/trivial-rewrite[12466]: warning: do not list domain lcaserver.ath.cx in BOTH mydestination and virtual_mailbox_domains
    May 8 17:46:02 lcaserver postfix/smtpd[12470]: EC0883DE548: client=localhost[127.0.0.1]
    May 8 17:46:02 lcaserver postfix/cleanup[12464]: EC0883DE548: message-id=<20090508164602.6B3033DE549@lcaserver.ath.cx>
    May 8 17:46:02 lcaserver postfix/qmgr[3321]: EC0883DE548: from=, size=976, nrcpt=1 (queue active)
    
     
    Last edited: May 8, 2009
  4. falko

    falko Super Moderator ISPConfig Developer

    That's the problem. What's in /etc/postfix/main.cf? Did you create an email account for the domain lcaserver.ath.cx in ISPConfig?
     
  5. RossImlach

    RossImlach New Member

    Yeah, I did make the e-mail account in ISPconfig.

    I just re-installed the OS there, it was too clogged up.. I'll let you know how that goes.
     
  6. RossImlach

    RossImlach New Member

    Okay, re-installed the operating system to no avail... Any ideas?
     
  7. falko

    falko Super Moderator ISPConfig Developer

    What's in your main.cf?
     
  8. reason8

    reason8 Member

    I am having the same problem and getting the same error:

    May 31 21:44:49 isp postfix/trivial-rewrite[18781]: warning: do not list domain isp.kernbits.net in BOTH mydestination and virtual_mailbox_domains

    Here is my (edited) Main.cf file

    # readme_directory: The location of the Postfix README files.
    #
    readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
    inet_protocols = all
    biff = no
    mail_spool_directory = /var/mail
    canonical_maps = hash:/etc/postfix/canonical
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
    virtual_alias_domains =
    relocated_maps = hash:/etc/postfix/relocated
    transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    sender_canonical_maps = hash:/etc/postfix/sender_canonical
    masquerade_exceptions = root
    masquerade_classes = envelope_sender, header_sender, header_recipient
    myhostname = isp.kernbits.net
    delay_warning_time = 1h
    message_strip_characters = \0
    program_directory = /usr/lib/postfix
    inet_interfaces = all
    masquerade_domains =
    mydestination = isp.kernbits.net, localhost, localhost.localdomain
    defer_transports =
    mynetworks_style = subnet
    disable_dns_lookups = no
    relayhost = [relay.dnsexit.com]
    mailbox_command =
    mailbox_transport =
    strict_8bitmime = no
    disable_mime_output_conversion = no
    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_helo_required = no
    smtpd_helo_restrictions =
    strict_rfc821_envelopes = no
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access mysql:/etc/postfix/mysql-virtual_recipient.cf, reject_unauth_destination
    smtp_sasl_auth_enable = yes
    smtpd_sasl_auth_enable = yes
    smtpd_use_tls = yes
    smtp_use_tls = no
    alias_maps = hash:/etc/aliases
    mailbox_size_limit = 0
    message_size_limit = 0
    mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
    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
    broken_sasl_auth_clients = yes
    smtpd_sasl_authenticated_header = yes
    smtpd_tls_security_level = may
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    relay_domains = mysql:/etc/postfix/mysql-virtual_relaydomains.cf
    virtual_create_maildirsize = yes
    virtual_maildir_extended = yes
    virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailbox_limit_maps.cf
    virtual_mailbox_limit_override = yes
    virtual_maildir_limit_message = "The user you are trying to reach is over quota."
    virtual_overquota_bounce = yes
    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
    maildrop_destination_concurrency_limit = 1
    maildrop_destination_recipient_limit = 1
    virtual_transport = maildrop
    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
    content_filter = amavis:[127.0.0.1]:10024
    receive_override_options = no_address_mappings
    smtp_sasl_password_maps = hash:/etc/postfix/relay_passwd
    smtp_sasl_security_options =
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    As the error message explains, you can not have isp.kernbits.net as mydestinationa nd virtual domain. So you have to remove it either from mydestination or delete the virtual domain in ispconfig.
     
  10. reason8

    reason8 Member

    Which should I remove or delete? I am not using virtual domains. How do I delete virtual domains in ISP COnfig AND is this the problem I am experiencing which is causing my squirrelmail problem.
     
  11. till

    till Super Moderator Staff Member ISPConfig Developer

    If you use ispconfig then you use virtual domains! every domain that you add as email domain in ispconfig is a virtual domain. You delete a item in ispconfig by clicking on the delete button in the item list.
     
  12. reason8

    reason8 Member

    Got it but this does not solve the problem of squirrelmail not receiving email.

    Correction:
    I had email forwarding setup so squirrelmail was not keeping the email as it was being forward to another account. Thank you very much.

    I do have another question: Is there a way to CC emails (instead of forwarding) to other email accounts with ISPC3?
     
    Last edited: Jun 1, 2009
  13. till

    till Super Moderator Staff Member ISPConfig Developer

    You did not post that you have a problem with squirrelmail and please make a new thread for it!
     
  14. reason8

    reason8 Member

    I believe that is what this initial thread was about but I am not pushing my luck :) Thanks again.
     

Share This Page