email help

Discussion in 'Installation/Configuration' started by lromano, Mar 9, 2006.

  1. lromano

    lromano New Member

    i cannot send/receive emails from a domain not hosted on my server...everything should be out of the box config still
     
  2. lromano

    lromano New Member

    more stuff

    alias_maps = hash:/etc/aliases
    biff = no
    broken_sasl_auth_clients = yes
    canonical_maps = hash:/etc/postfix/canonical
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    daemon_directory = /usr/lib/postfix
    debug_peer_level = 2
    defer_transports =
    disable_dns_lookups = no
    home_mailbox = Maildir/
    html_directory = /usr/share/doc/packages/postfix/html
    inet_protocols = all
    mail_spool_directory = /var/mail
    mailbox_command =
    mailbox_size_limit = 0
    mailbox_transport =
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    masquerade_classes = envelope_sender, header_sender, header_recipient
    masquerade_domains =
    masquerade_exceptions = root
    message_size_limit = 10240000
    mydestination = /etc/postfix/local-host-names
    newaliases_path = /usr/bin/newaliases
    readme_directory = /usr/share/doc/packages/postfix/README_FILES
    relay_domains_reject_code = 544
    relocated_maps = hash:/etc/postfix/relocated
    sample_directory = /usr/share/doc/packages/postfix/samples
    sender_canonical_maps = hash:/etc/postfix/sender_canonical
    sendmail_path = /usr/sbin/sendmail
    setgid_group = maildrop
    smtp_sasl_auth_enable = no
    smtp_tls_note_starttls_offer = yes
    smtp_use_tls = yes
    smtpd_recipient_restrictions = permit_sasl_authenticated,permit_mynetworks,check_relay_domains
    smtpd_sasl_auth_enable = yes
    smtpd_sasl_local_domain =
    smtpd_sasl_security_options = noanonymous
    smtpd_sender_restrictions = hash:/etc/postfix/access
    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
    strict_rfc821_envelopes = no
    tls_random_source = dev:/dev/urandom
    transport_maps = hash:/etc/postfix/transport



    Mar 9 00:26:54 ns3 pop3d: LOGIN, user=lromano, ip=[::ffff:70.60.218.187]
    Mar 9 00:26:54 ns3 postfix/smtpd[32430]: NOQUEUE: reject: RCPT from rrcs-70-60-218-187.midsouth.biz.rr.com[70.60.218.187]: 544 <[email protected]>: Recipien$
    Mar 9 00:26:55 ns3 pop3d: LOGOUT, user=lromano, ip=[::ffff:70.60.218.187], top=0, retr=0, time=1
     
  3. falko

    falko Super Moderator ISPConfig Developer

  4. lromano

    lromano New Member

    what i am trying to do

    i am trying to setup up a email mail server cause i am hosting about 15 domains and some of them are not in the same ip range, when i connect from my house over outlook from 70.x.x.x to my server 24.x.x.x i can send an email to any user@domain that is hosted on the server. but i cant seem to be able to email any domains not hosted in my server i will get a relay error and i tried that ssl connection link you sent and it didnt work either. i dont really want ssl i just want it so when you connect it will allow you to relay and email. i used the perfect suse 9.3 setup to the T
     
  5. falko

    falko Super Moderator ISPConfig Developer

    Don't use SSL. Forget about the last part of the link I sent you. But you must check "Server requires authentication."
     
  6. lromano

    lromano New Member

    Mar 15 11:47:00 tmicrosolutions pop3d: LOGOUT, user=lromano, ip=[::ffff:70.60.218.187], top=0, retr=0, time=1
    Mar 15 11:47:19 tmicrosolutions postfix/smtpd[27891]: connect from rrcs-70-60-218-187.midsouth.biz.rr.com[70.60.218.187]
    Mar 15 11:47:21 tmicrosolutions postfix/smtpd[27891]: warning: rrcs-70-60-218-187.midsouth.biz.rr.com[70.60.218.187]: SASL LOGIN authentication failed
    Mar 15 11:47:22 tmicrosolutions postfix/smtpd[27891]: disconnect from rrcs-70-60-218-187.midsouth.biz.rr.com[70.60.218.187]


    i now realize that my problem is with the sasl
     
  7. lromano

    lromano New Member

    when i
    Code:
    chkconfig --add courier-authdaemon
    
    i get this
    Code:
    insserv: script apache2.orig: service apache2 already provided! 
    insserv: script apache2.orig: service httpd2 already provided! 
    courier-authdaemon        0:off  1:off  2:off  3:on   4:off  5:on   6:off
    so now i am really lost and i think i fubar'd my main.cf can you output the defaut one cause everyone ive looked at is different then the rest
     
  8. falko

    falko Super Moderator ISPConfig Developer

  9. lromano

    lromano New Member

    lol

    i am using suse 9.3 and i was looking through some files on my server and noticed that when i installed ispconfig it wrote a 2nd config file for postfix.
    i never went in to my /etc/postfix/ directory but i wish i did earlier cause i found that there was two main.cf files so a mv main.cf.2 i think to main.cf and it worked
     

Share This Page