Page 39 of 51 FirstFirst ... 29373839404149 ... LastLast
Results 381 to 390 of 505

Thread: Howto: set up a mail server in Ubuntu

  1. #381
    Join Date
    Jan 2011
    Beans
    10

    Re: Howto: set up a mail server in Ubuntu

    Quote Originally Posted by jlsm View Post
    Thanks so much for looking into this Federico.

    I also tried using clear passwd, but it's still not authenticating. I was able to make it work using POP3, but not using SASL, i'm afraid it might be prone to attacks or interception.

    I'm still working on a testbed, not the production server yet, until I'm sure it is secure and stable.

    Following are the main and master config files, as well the the shorewall rules.

    I removed some of the commented lines in the config files (not all to retain section breaks)

    main.cf
    Code:
    myorigin = /etc/mailname
     
    smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
    biff = no
     
    append_dot_mydomain = no
     
    readme_directory = no
     
    smtp_tls_security_level = may
    smtpd_tls_security_level = may
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_loglevel = 1
    smtpd_tls_received_header = yes
    smtpd_tls_session_cache_timeout = 3600s
    tls_random_source = dev:/dev/urandom
    smtp_tls_CAfile = /etc/ssl/certs/ca-certificates.crt
     
    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
     
    btree:${data_directory}/smtpd_scache
    btree:${data_directory}/smtp_scache
     
     
    myhostname = subdomain.domain.com  #I used a subdomain with an A and MX record, registered at freedns.afraid.org
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    mydestination =
    relayhost = 
    mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    home_mailbox = Maildir/
    mailbox_command =
     
    mynetworks_style = host
     
    masquerade_domains = mail.subdomain.domain.com
    masquerade_exceptions = root
     
    local_recipient_maps =
     
    delay_warning_time = 4h
     
    unknown_local_recipient_reject_code = 450
     
    maximal_queue_lifetime = 3d
    bounce_queue_lifetime = 3d
     
    minimal_backoff_time = 900s
    maximal_backoff_time = 1800s
     
    smtp_helo_timeout = 60s
     
    smtpd_recipient_limit = 16
     
    smtpd_soft_error_limit = 3
     
    smtpd_hard_error_limit = 12
     
    smtpd_helo_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_hostname, reject_invalid_hostname, permit
     
    smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, warn_if_reject reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_pipelining, permit
     
    smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, reject_rbl_client blackholes.easynet.nl, reject_rbl_client dnsbl.njabl.org
     
    smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_destination, check_policy_service inet:127.0.0.1:10023, permit
    smtpd_data_restrictions = reject_unauth_pipelining
     
    smtpd_helo_required = yes
     
    smtpd_delay_reject = yes
    disable_vrfy_command = yes
    alias_maps = hash:/etc/postfix/aliases
    alias_database = hash:/etc/postfix/aliases
    virtual_mailbox_base = /var/spool/mail/virtual
    virtual_mailbox_maps = mysql:/etc/postfix/mysql_mailbox.cf
    virtual_alias_maps = mysql:/etc/postfix/mysql_alias.cf
    virtual_mailbox_domains = mysql:/etc/postfix/mysql_domains.cf
    option is there) 
     
    virtual_uid_maps = static:5000
    virtual_gid_maps = static:5000
    inet_protocols = all
     
    content_filter = amavis:[127.0.0.1]:10024
    Secure mail server, authentication section
     
    smtpd_sasl_auth_enable = no  # I changed this to no to accept clear passwd
     
    broken_sasl_auth_clients = no
    smtpd_sasl_security_options = noanonymous
    smtpd_sasl_local_domain =

    master.cf
    Code:
    ==========================================================================
    # service type  private unpriv  chroot  wakeup  maxproc command + args
    #               (yes)   (yes)   (yes)   (never) (100)
    # ==========================================================================
    smtp      inet  n       -       -       -       -       smtpd
    submission inet n       -       n       -       -       smtpd
    #  -o smtpd_tls_security_level=encrypt
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_tls_auth_only=yes
      -o smtpd_client_restrictions=permit_sasl_authenticated,reject_unauth_destination, reject
      -o smtpd_sasl_security_options=noanonymous,noplaintext
      -o smtpd_sasl_tls_security_options=noanonymous
    #  -o milter_macro_daemon_name=ORIGINATING
    smtps     inet  n       -       -       -       -       smtpd
      -o smtpd_tls_wrappermode=yes
      -o smtpd_sasl_auth_enable=yes
      -o smtpd_tls_auth_only=yes
      -o smtpd_client_restrictions=permit_sasl_authenticated,reject
      -o smtpd_sasl_security_options=noanonymous,noplaintext
      -o smtpd_sasl_tls_security_options=noanonymous
    #  -o milter_macro_daemon_name=ORIGINATING
    #628       inet  n       -       -       -       -       qmqpd
     
     
    pickup    fifo  n       -       -       60      1       pickup
     
    #### added below 'pickup' transport service as prescribed by the tutorial
        -o content_filter=
        -o receive_override_options=no_header_body_checks
    #### end of addition
     
    cleanup   unix  n       -       -       -       0       cleanup
    qmgr      fifo  n       -       n       300     1       qmgr
    #qmgr     fifo  n       -       -       300     1       oqmgr
    tlsmgr    unix  -       -       -       1000?   1       tlsmgr
    rewrite   unix  -       -       -       -       -       trivial-rewrite
    bounce    unix  -       -       -       -       0       bounce
    defer     unix  -       -       -       -       0       bounce
    trace     unix  -       -       -       -       0       bounce
    verify    unix  -       -       -       -       1       verify
    flush     unix  n       -       -       1000?   0       flush
    proxymap  unix  -       -       n       -       -       proxymap
    proxywrite unix -       -       n       -       1       proxymap
    smtp      unix  -       -       -       -       -       smtp
    # When relaying mail as backup MX, disable fallback_relay to avoid MX loops
    relay     unix  -       -       -       -       -       smtp
        -o smtp_fallback_relay=
    #       -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
    showq     unix  n       -       -       -       -       showq
    error     unix  -       -       -       -       -       error
    retry     unix  -       -       -       -       -       error
    discard   unix  -       -       -       -       -       discard
    local     unix  -       n       n       -       -       local
    virtual   unix  -       n       n       -       -       virtual
    lmtp      unix  -       -       -       -       -       lmtp
    anvil     unix  -       -       -       -       1       anvil
    scache    unix  -       -       -       -       1       scache
    #
    # ====================================================================
    maildrop  unix  -       n       n       -       -       pipe
      flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}
    ====================================================================
    uucp      unix  -       n       n       -       -       pipe
      flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
    #
    # Other external delivery methods.
    #
    ifmail    unix  -       n       n       -       -       pipe
      flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
    bsmtp     unix  -       n       n       -       -       pipe
      flags=Fq. user=bsmtp argv=/usr/lib/bsmtp/bsmtp -t$nexthop -f$sender $recipient
    scalemail-backend unix    -    n    n    -    2    pipe
      flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store ${nexthop} ${user} ${extension}
    mailman   unix  -       n       n       -       -       pipe
      flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py
      ${nexthop} ${user}
     
    #### This section is added as prescribed in the tutorial
    amavis    unix    -    -    -    -    2    smtp
        -o smtp_data_done_timeout=1200
        -o smtp_send_xforward_command=yes
        -o disable_dns_lookups=yes
        -o max_use=20
     
    #### Continuation of added section
    127.0.0.1:10025    inet    n    -    -    -    -    smtpd
        -o content_filter=
        -o local_recipient_maps=
        -o relay_recipient_maps=
        -o smtpd_restriction_classes=
        -o smtpd_delay_reject=no
        -o smtpd_client_restrictions=permit_mynetworks,reject
        -o smtpd_helo_restrictions=
        -o smtpd_sender_restrictions=
        -o smtpd_recipient_restrictions=permit_mynetworks,reject
        -o smtpd_data_restrictions=reject_unauth_pipelining
        -o smtpd_end_of_data_restrictions=
        -o mynetworks=127.0.0.0/8
        -o smtpd_error_sleep_time=0
        -o smtpd_soft_error_limit=1001
        -o smtpd_hard_error_limit=1000
        -o smtpd_client_connection_count_limit=0
        -o smtpd_client_connection_rate_limit=0
        -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks
    #### End of added section
    shorewall rules
    Code:
    #
    # Shorewall version 4 - Rules File
    #
    # For information on the settings in this file, type "man shorewall-rules"
    #
    # The manpage is also online at
    # http://www.shorewall.net/manpages/shorewall-rules.html
    #
    ####################################################################################################################################################
    #ACTION        SOURCE        DEST        PROTO    DEST    SOURCE        ORIGINAL    RATE        USER/    MARK    CONNLIMIT    TIME
    #                            PORT    PORT(S)        DEST        LIMIT        GROUP
    #SECTION ESTABLISHED
    #SECTION RELATED
    SECTION NEW
    SSH/ACCEPT    net        $FW
     
    Ping/ACCEPT     net         $FW 
     
    # Permit all ICMP traffic FROM the firewall TO the net zone 
    ACCEPT         $FW         net     icmp 
     
    # mail lines 
    SMTP/ACCEPT     net         $FW 
    SMTPS/ACCEPT     net         $FW 
    Submission/ACCEPT net         $FW 
    IMAP/ACCEPT     net         $FW 
    IMAPS/ACCEPT     net         $FW 
    POP3/ACCEPT    net        $FW
     
    #web 
    Web/ACCEPT     net         $FW
    Again, thank you for taking time to look into this. Kindly let me know if you need anything else.


    jlsm

    Hi,

    I had a look to your configuration and the only strange things i seen so far are: (on /etc/postfix/main.cf)

    >home_mailbox = Maildir/

    >mailbox_command =

    >inet_protocols = all

    >smtpd_sasl_auth_enable = no # I changed this to no to accept clear passwd




    my working SASL is configured as the guide.

    etc/postfix/main.cf
    # SASL
    smtpd_sasl_auth_enable = yes
    # If your potential clients use Outlook Express or other older clients
    # this needs to be set to yes
    broken_sasl_auth_clients = no
    smtpd_sasl_security_options = noanonymous
    smtpd_sasl_local_domain =

    /etc/postfix/sasl/smtpd.conf
    pwcheck_method: saslauthd
    mech_list: plain login cram-md5 digest-md5
    log_level: 7
    allow_plaintext: true
    auxprop_plugin: mysql
    sql_engine: mysql
    sql_hostnames: 127.0.0.1
    sql_user: mail
    sql_passw: mailPASSWORD
    sql_database: maildb
    sql_select: select crypt from users where id='%u@%r' and enabled = 1

    /etc/pam.d/smtp
    auth required pam_mysql.so user=mail passwd=mailPASSWORD host=127.0.0.1 db=maildb table=users usercolumn=id passwdcolumn=crypt crypt=1
    account sufficient pam_mysql.so user=mail passwd=mailPASSWORD host=127.0.0.1 db=maildb table=users usercolumn=id passwdcolumn=crypt crypt=1


    what do you see in the logs when trying to connect ?

    tail -f /var/log/mail.log

    must be something helpful there ...

    I would aso suggest to ad your local network to the end of this setting in main.cf

    mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128

    If SASL is not working i doubt you can connect from other computer without your local network there.


    Regards
    Last edited by fedef63; March 15th, 2011 at 05:57 PM.

  2. #382
    Join Date
    Oct 2010
    Beans
    12

    Re: Howto: set up a mail server in Ubuntu

    Hi again fed,

    I'm out of the office right now where I have my mail server testbed. I'll post the mail.log when I get back next week. Hope you can still help me by then.

    Thanks.

    jlsm

  3. #383
    Join Date
    Apr 2006
    Location
    Sydney, Australia
    Beans
    149
    Distro
    Ubuntu 13.10 Saucy Salamander

    NOQUEUE: reject: RCPT

    Followed the Guide and setup virtuals, so the postconf -n output does not show everything, I guess

    I have tested the server internal via telnet and it works.

    As my ISP blocks inbound smtp I'm using Mail Reflector to forward the mails to my server

    Following are some of the errors I get

    Mar 20 10:25:18 MusicPc postfix/smtpd[6861]: NOQUEUE: reject: RCPT from mail1.no-ip.com[204.16.252.100]: 451 4.3.5 Server configuration problem; from=<thelists@optusnet.com.au> to=<poldi@zudiewiener.com> proto=ESMTP helo=<mail1.no-ip.com>
    Mar 20 10:25:18 MusicPc postfix/smtpd[6861]: disconnect from mail1.no-ip.com[204.16.252.100]
    Mar 20 10:26:58 MusicPc postfix/smtpd[6861]: connect from mail1.no-ip.com[204.16.252.100]
    Mar 20 10:27:00 MusicPc postfix/smtpd[6864]: lost connection after UNKNOWN from localhost[127.0.0.1]
    Mar 20 10:27:00 MusicPc postfix/smtpd[6864]: disconnect from localhost[127.0.0.1]


    Postfix config is
    -------------------------------
    alias_database = hash:/etc/postfix/aliases
    alias_maps = hash:/etc/postfix/aliases
    append_dot_mydomain = no
    biff = no
    broken_sasl_auth_clients = yes
    config_directory = /etc/postfix
    content_filter = amavis:[127.0.0.1]:10024
    disable_vrfy_command = yes
    html_directory = /usr/share/doc/postfix/html
    inet_interfaces = all
    local_recipient_maps =
    mailbox_size_limit = 0
    maximal_backoff_time = 8000s
    maximal_queue_lifetime = 7d
    message_size_limit = 102400
    minimal_backoff_time = 1000s
    mydestination =
    myhostname = ml.zudiewiener.com
    mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
    mynetworks_style = host
    myorigin = /etc/mailname
    readme_directory = /usr/share/doc/postfix
    recipient_delimiter = +
    relayhost =
    smtp_helo_timeout = 60s
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    smtpd_banner = $myhostname ESMTP $mail_name
    smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, reject_rbl_client blackholes.easynet.nl, reject_rbl_client dnsbl.njabl.org
    smtpd_data_restrictions = reject_unauth_pipelining
    smtpd_delay_reject = yes
    smtpd_hard_error_limit = 12
    smtpd_helo_required = yes
    smtpd_helo_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_hostname, reject_invalid_hostname, permit
    smtpd_recipient_limit = 40
    smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_destination, check_policy_service inet:127.0.0.1:10025, permit
    smtpd_sasl_local_domain =
    smtpd_sasl_security_options = noanonymous
    smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, warn_if_reject reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_pipelining, permit
    smtpd_soft_error_limit = 3
    smtpd_tls_cert_file = /etc/postfix/postfix.cert
    smtpd_tls_key_file = /etc/postfix/postfix.key
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtpd_use_tls = yes
    unknown_local_recipient_reject_code = 450
    virtual_alias_maps = mysql:/etc/postfix/mysql_alias.cf
    virtual_gid_maps = static:5000
    virtual_mailbox_base = /var/spool/mail/virtual
    virtual_mailbox_domains = mysql:/etc/postfix/mysql_domains.cf
    virtual_mailbox_maps = mysql:/etc/postfix/mysql_mailbox.cf
    virtual_uid_maps = static:5000
    -------------------------------------

    the domains in mysql are localhost, localhost.localdomain, zudiewiener.com, ml.zudiewiener.com

    Appreciate any help in solving this.

    Thanks

  4. #384
    Join Date
    Sep 2010
    Beans
    9

    Re: Howto: set up a mail server in Ubuntu

    I have been using this guide and I am at the point where I was doing the mysql setup where the instructions read:

    # If not already done (in package installation)...
    mysqladmin -u root password new_password
    # log in as root
    mysql -u root -p
    # then enter password for the root account when prompted Enter password:
    # then we create the mail database
    create database maildb;
    # then we create a new user: "mail"
    GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
    ON maildb.* TO 'mail'@'localhost' IDENTIFIED by 'mailPASSWORD';
    GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP
    ON maildb.* TO 'mail'@'%' IDENTIFIED by 'mailPASSWORD';
    exit;

    Well, I have never edited a mysql input so I didn't know much about it. I had messed up on one of the lines didn't put in a semi-colon. I tried to retype the line to fix it. But I couldn't tell if that worked. Then even "exit;" didn't do anything. I finally couldn't figure out how to change anything so I thought I'd just quit the terminal window and start again.

    But when I get back into mysql I can't create database maildb; because it already exists.

    How do I approach getting back on track here?

  5. #385
    Join Date
    Jan 2011
    Beans
    10

    Re: Howto: set up a mail server in Ubuntu

    Hello,
    do the following:
    mysql -u root -p
    when asked type the password you have used during setup
    drop database maildb;
    create database maildb;

    GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON maildb.* TO 'mail'@'localhost' IDENTIFIED by 'mailPASSWORD'; GRANT SELECT,INSERT,UPDATE,DELETE,CREATE,DROP ON maildb.* TO 'mail'@'%' IDENTIFIED by 'mailPASSWORD'; exit;

    whith it you will create the maildb DB
    next
    mysql -u mail -p maildb
    as password type mailPASSWORD

    next you can proceed adding the rest of the db setting

    Regards
    Fedef

  6. #386
    Join Date
    Sep 2010
    Beans
    9

    Re: Howto: set up a mail server in Ubuntu

    Thanks.

    Just got the book PHP & MySQL for Dummies to get that line "drop database maildb;"

    I think I better do some reading to be my own email admin. =)

  7. #387
    Join Date
    Dec 2004
    Location
    Erica (Netherlands)
    Beans
    46
    Distro
    Ubuntu Development Release

    Re: Howto: set up a mail server in Ubuntu

    Why should you drop a database which is already there?

    Correct me if I'm wrong but just don't recreate the database and just grant the user the appropriate rights.
    - Qui non est hodie, cras minus aptus erit -

  8. #388
    Join Date
    Dec 2004
    Location
    Erica (Netherlands)
    Beans
    46
    Distro
    Ubuntu Development Release

    Re: NOQUEUE: reject: RCPT

    Quote Originally Posted by lister171254 View Post
    Followed the Guide and setup virtuals, so the postconf -n output does not show everything, I guess

    I have tested the server internal via telnet and it works.

    As my ISP blocks inbound smtp I'm using Mail Reflector to forward the mails to my server

    Following are some of the errors I get

    Mar 20 10:25:18 MusicPc postfix/smtpd[6861]: NOQUEUE: reject: RCPT from mail1.no-ip.com[204.16.252.100]: 451 4.3.5 Server configuration problem; from=<thelists@optusnet.com.au> to=<poldi@zudiewiener.com> proto=ESMTP helo=<mail1.no-ip.com>
    Mar 20 10:25:18 MusicPc postfix/smtpd[6861]: disconnect from mail1.no-ip.com[204.16.252.100]
    Mar 20 10:26:58 MusicPc postfix/smtpd[6861]: connect from mail1.no-ip.com[204.16.252.100]
    Mar 20 10:27:00 MusicPc postfix/smtpd[6864]: lost connection after UNKNOWN from localhost[127.0.0.1]
    Mar 20 10:27:00 MusicPc postfix/smtpd[6864]: disconnect from localhost[127.0.0.1]


    Postfix config is
    -------------------------------
    alias_database = hash:/etc/postfix/aliases
    alias_maps = hash:/etc/postfix/aliases
    append_dot_mydomain = no
    biff = no
    broken_sasl_auth_clients = yes
    config_directory = /etc/postfix
    content_filter = amavis:[127.0.0.1]:10024
    disable_vrfy_command = yes
    html_directory = /usr/share/doc/postfix/html
    inet_interfaces = all
    local_recipient_maps =
    mailbox_size_limit = 0
    maximal_backoff_time = 8000s
    maximal_queue_lifetime = 7d
    message_size_limit = 102400
    minimal_backoff_time = 1000s
    mydestination =
    myhostname = ml.zudiewiener.com
    mynetworks = 127.0.0.0/8 [::ffff:127.0.0.0]/104 [::1]/128
    mynetworks_style = host
    myorigin = /etc/mailname
    readme_directory = /usr/share/doc/postfix
    recipient_delimiter = +
    relayhost =
    smtp_helo_timeout = 60s
    smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
    smtpd_banner = $myhostname ESMTP $mail_name
    smtpd_client_restrictions = reject_rbl_client sbl.spamhaus.org, reject_rbl_client blackholes.easynet.nl, reject_rbl_client dnsbl.njabl.org
    smtpd_data_restrictions = reject_unauth_pipelining
    smtpd_delay_reject = yes
    smtpd_hard_error_limit = 12
    smtpd_helo_required = yes
    smtpd_helo_restrictions = permit_mynetworks, warn_if_reject reject_non_fqdn_hostname, reject_invalid_hostname, permit
    smtpd_recipient_limit = 40
    smtpd_recipient_restrictions = reject_unauth_pipelining, permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_recipient, reject_unknown_recipient_domain, reject_unauth_destination, check_policy_service inet:127.0.0.1:10025, permit
    smtpd_sasl_local_domain =
    smtpd_sasl_security_options = noanonymous
    smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks, warn_if_reject reject_non_fqdn_sender, reject_unknown_sender_domain, reject_unauth_pipelining, permit
    smtpd_soft_error_limit = 3
    smtpd_tls_cert_file = /etc/postfix/postfix.cert
    smtpd_tls_key_file = /etc/postfix/postfix.key
    smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
    smtpd_use_tls = yes
    unknown_local_recipient_reject_code = 450
    virtual_alias_maps = mysql:/etc/postfix/mysql_alias.cf
    virtual_gid_maps = static:5000
    virtual_mailbox_base = /var/spool/mail/virtual
    virtual_mailbox_domains = mysql:/etc/postfix/mysql_domains.cf
    virtual_mailbox_maps = mysql:/etc/postfix/mysql_mailbox.cf
    virtual_uid_maps = static:5000
    -------------------------------------

    the domains in mysql are localhost, localhost.localdomain, zudiewiener.com, ml.zudiewiener.com

    Appreciate any help in solving this.

    Thanks
    Are you using SSL?
    - Qui non est hodie, cras minus aptus erit -

  9. #389
    Join Date
    Sep 2010
    Beans
    9

    Re: Howto: set up a mail server in Ubuntu

    I'm at this point in the guide:

    Code:
    cd /etc/courier 
    
    openssl req -x509 -newkey rsa:1024 -keyout imapd.pem \ -out imapd.pem -nodes -days 999
    I get the following error:

    Code:
    unknown option  -out
    req [options] <infile >outfile
    I have no idea what to do. I'm stuck.
    Last edited by 2briancox; April 10th, 2011 at 08:19 PM.

  10. #390
    Join Date
    Sep 2010
    Beans
    9

    Re: Howto: set up a mail server in Ubuntu

    I should explain that the section being referred to in that question is in the section regarding encryption (TLS).

    Also, on a side note, I am trying to add a CUPS print server to this same machine. Does anyone know the firewall settings that would need to be added to the shorewall settings listed in this guide to get it to work? I can't discover the shared printer here yet. Thanks.
    Last edited by 2briancox; April 10th, 2011 at 08:18 PM.

Page 39 of 51 FirstFirst ... 29373839404149 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •