postfix +courier +etch +without tls-ssl

Discussion in 'Installation/Configuration' started by mopsos, Jul 17, 2007.

  1. mopsos

    mopsos New Member

    Hi,
    I have a server etch and I want install postfix + courier ,I read your excellent how to. But I don't want TLS and SSL.
    Can you say me how can I configure my server for it? My user are on a mysql database.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Just delete the following lines from /etc/postfix/main.cf:
    Code:
    smtpd_use_tls = yes
    smtpd_tls_cert_file = /etc/postfix/smtpd.cert
    smtpd_tls_key_file = /etc/postfix/smtpd.key
    Then restart Postfix.
     
  3. mopsos

    mopsos New Member

    Hi,
    I did this, but I can't send mail. "Smtp server no respond".

    The reception is ok.

    Can you say me where is the problem.

    My main.cf :
    Code:
    
    # smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem
    # smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
    # smtpd_use_tls = yes
    smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
    smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
    
    
    myhostname = mail.mydomain.fr
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination = mail.artwai.fr, localhost, localhost.localdomain
    relayhost =
    mynetworks = 127.0.0.0/8,xxx.xxx.xxx.xxx,localhost,localhost.localdomain
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    virtual_alias_domains =
    virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, mysql:/etc/postfix/mysql-virtual_email2email.cf
    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 = /home/vmail
    virtual_uid_maps = static:5000
    virtual_gid_maps = static:5000
    transport_maps = proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
    virtual_create_maildirsize = yes
    virtual_mailbox_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
    smtpd_sasl_auth_enable = yes
    broken_sasl_auth_clients = yes
    smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
    
    
    THanks for your help
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Any errors in your mail log? What's the output of
    Code:
    netstat -tap
    ?
     
  5. mopsos

    mopsos New Member

    All is ok now. It was my ISP who blocked the traffic on the port 25.

    Thanks very well for your help.
     

Share This Page