Mandriva 2007.1 imap-Server

Discussion in 'Server Operation' started by obgr_seneca, Jun 4, 2007.

  1. obgr_seneca

    obgr_seneca New Member

    I followed Falko's howto for a perfect Mandriva-Server
    Now I have a problem:
    I can configure my mailserver in thunderbird, but I can't send any mails to it. First I got responses from my server, that "localhost.oli-home.de" couldn't be found, no wonder, since the domain doesn't really exist.
    Now I changed the line
    Code:
    postconf -e 'mydestination = /etc/postfix/local-host-names, localhost.oli-home.de'
    to
    Code:
    postconf -e 'mydestination = /etc/postfix/local-host-names, deneb.oli-home.de'
    in the howto and restarted postfix.
    Now I don't get any return-mails from my server any more, but the mail doesn't appear in my mailbox either!
    What can I do?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Do you use ISPConfig?
    What's the output of
    Code:
    postconf -n
    ?
     
  3. obgr_seneca

    obgr_seneca New Member

    I just got ISPConfig running and it's telling me, that all services are online!
    But it isn't listing imap as service, only WEB-, FTP-, SMTP-, POP-, BIND- and mySQL, what's wrong there?
    The Output of "postconf -n" is
    Code:
    [root@deneb ~]# postconf -n
    alias_database = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases
    alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases
    broken_sasl_auth_clients = yes
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/lib/postfix
    global_config_directory = /etc/postfix
    home_mailbox = Maildir/
    html_directory = /usr/share/doc/postfix-2.3.8/html
    inet_interfaces = all
    mail_owner = postfix
    mailbox_command =
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    mydestination = /etc/postfix/local-host-names, deneb.oli-home.de
    mydomain = oli-home.de
    myhostname = deneb.$mydomain
    mynetworks = 127.0.0.0/8
    mynetworks_style = host
    newaliases_path = /usr/bin/newaliases
    owner_request_special = no
    queue_directory = /var/spool/postfix
    readme_directory = /usr/share/doc/postfix-2.3.8/README_FILES
    recipient_delimiter = +
    sendmail_path = /usr/sbin/sendmail.postfix
    setgid_group = postdrop
    smtp_tls_note_starttls_offer = yes
    smtp_use_tls = yes
    smtpd_banner = $myhostname ESMTP $mail_name ($mail_version) (Mandriva Linux)
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,reject_unauth_destination
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain =
    smtpd_sasl_security_options = noanonymous
    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_timeout = 3600s
    smtpd_use_tls = yes
    tls_random_source = dev:/dev/urandom
    unknown_local_recipient_reject_code = 450
    
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Please remove
    Code:
    home_mailbox = Maildir/
    from /etc/postfix/main.cf and restart Postfix.
    Also make sure that you didn't enable Maildir in ISPConfig (Management > Server > Settings > Email).
    The IMAP server on Mandriva uses mbox format, not Maildir.
     

Share This Page