email setup

Discussion in 'Installation/Configuration' started by shiidii, Aug 2, 2006.

  1. shiidii

    shiidii New Member

    Ok I think I may have muddled things up
    I have ispconfig installed, but something gave me the notion that the Mail service wouldn't work, so I also went through with this flurdy tutorial and set up my mail server as such:
    http://flurdy.com/docs/postfix/index.html

    So, courier is pointed to these mysql databases in order to search for these usernames. Everything is synchronized with that tutorial.
    But I am able to log in with my ISPconfig email addresses in outlook express,
    and emails aren't coming IN. When sending emails TO the ispconfig emails, I get the response "user unknown"

    Here's my Main.cf in postfix

    Code:
    myhostname = mail.mydomain.com
    alias_maps = hash:/etc/postfix/aliases
    alias_database = hash:/etc/postfix/aliases
    myorigin = /etc/mailname
    mydestination =
    relayhost =
    mynetworks = 127.0.0.0/8
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    mailbox_command = procmail -a "$EXTENSION"
    inet_protocols = all
    smtpd_sasl_local_domain = no
    smtpd_sasl_auth_enable = no
    smtpd_sasl_security_options = noanonymous
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_tls_auth_only = no
    smtp_use_tls = 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
    
    # modify the existing smtpd_recipient_restrictions
    smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unauth_destination, check_policy_service inet:127.0.0.1:60000, permit
    
    I'm sure my changes have messed up the incoming mail resolving. Is there a guide that I can follow to setup postfix/courier to read ispconfig's user emails and not look the ones I setup?
     
    Last edited: Aug 2, 2006
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The flurdy howto will not work with ISPConfig, as courier must be configured to use files and not a mysql database.

    Have a look at the documentation page, there are many howtos listed that work with ISPConfig:

    http://www.ispconfig.org/documentation.htm
     
  3. shiidii

    shiidii New Member

    Cheers! Thanks
     

Share This Page