Mail Problem

Discussion in 'Installation/Configuration' started by BlueStream, Dec 13, 2006.

  1. BlueStream

    BlueStream New Member

    When using the Uebimail via Tools to send an email, I get this error
    SMTP Error: Recipient not accepted. Verify your relay rules

    I believe it has not been set up properly. I did however follow the Perfect Setup for Fedora Core 5 to the tee.

    I'm on dyndns but I do have a FQDN and I have no idea how to configure my mx.domain.tld.

    In the case that you would say dynamic IPs are not allowed in this case, please assume that I have a static IP because that option is also open to me.

    Cheers,
    Shawn.
     
  2. planet_fox

    planet_fox New Member

    Wich mailserver you use ? and pop3server
     
  3. BlueStream

    BlueStream New Member

    I followed the Perfect Setup for Fedora Core 5.

    I believe it's dovecot. Not too sure about which is which.
     
  4. planet_fox

    planet_fox New Member

    dovecot is only imap and pop3 server, have you install postfix and it run ? Postfix is your mailserver . When you have postfix post your main.cf please
     
  5. BlueStream

    BlueStream New Member

    postfix has already been installed. (Perfect Setup Fedora Core 5)
     

    Attached Files:

  6. planet_fox

    planet_fox New Member

    your main.conf is not complete configure see in manual on page 4

     
  7. BlueStream

    BlueStream New Member

    It's page 5 and I ran those commands and the results are at the bottom of main.cf.

    Is it one particular part that has been wrongly configured?
     
  8. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Can you post your main.cf here directly (please strip out the comments)?
     
  9. BlueStream

    BlueStream New Member

    Code:
    queue_directory = /var/spool/postfix
    command_directory = /usr/sbin
    daemon_directory = /usr/libexec/postfix
    mail_owner = postfix
    inet_interfaces = all
    unknown_local_recipient_reject_code = 550
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    debug_peer_level = 2
    debugger_command =
    	 PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
    	 xxgdb $daemon_directory/$process_name $process_id & sleep 5
    sendmail_path = /usr/sbin/sendmail.postfix
    newaliases_path = /usr/bin/newaliases.postfix
    mailq_path = /usr/bin/mailq.postfix
    setgid_group = postdrop
    html_directory = no
    manpage_directory = /usr/share/man
    sample_directory = /usr/share/doc/postfix-2.2.8/samples
    readme_directory = /usr/share/doc/postfix-2.2.8/README_FILES
    smtpd_sasl_local_domain = 
    smtpd_sasl_auth_enable = yes
    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
    smtpd_use_tls = yes
    smtp_tls_note_starttls_offer = yes
    smtpd_tls_key_file = /etc/postfix/ssl/smtpd.key
    smtpd_tls_cert_file = /etc/postfix/ssl/smtpd.crt
    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
    virtual_maps = hash:/etc/postfix/virtusertable
    mydestination = /etc/postfix/local-host-names
    
     
  10. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Please run
    Code:
    postconf -e 'mynetworks = 127.0.0.0/8'
    /etc/init.d/postfix restart
     
  11. BlueStream

    BlueStream New Member

    Ran that.

    Still got the same error.
     
  12. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Can you post an excerpt of your mail log where that error occurs?
     
  13. BlueStream

    BlueStream New Member

    Code:
    Dec 16 18:04:15 s6 postfix/smtp[3074]: connect to parkwebwin-v02.prod.mesa1.secureserver.net[68.178.232.99]: read timeout (port 25)
    Dec 16 18:04:15 s6 postfix/smtp[3074]: 708F5A8D2E: to=<[B]username[/B]@parkwebwin-v02.prod.mesa1.secureserver.net>, orig_to=<[B]username[/B]@[B]subdomain[/B].dyndns.org>, relay=none, delay=253593, status=deferred (connect to parkwebwin-v02.prod.mesa1.secureserver.net[68.178.232.99]: read timeout)
    
     
  14. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Is this the IP of your local server: 68.178.232.99 ?
     
  15. BlueStream

    BlueStream New Member

    No. As mentioned in first post, I'm on dyndns. But how I set up the server was to use the FQDN as the domain needed for setup.

    I'm guessing I may have to edit the data in godaddy? What do I edit?
     
  16. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Can you connect to your dyndns subdomain with this command:

    telnet subdomain.dyndns.org 25

    if you get a response from the mailserver, type:

    ehlo localhost

    To quit the connection, type:

    quit

    If this wont work, please double check that:

    a) Your provider does not block port 25
    b) You forwarded port 25 on your router to the correct internal server IP.
    c) That postfix is running on your server and accepting connections.
     
  17. BlueStream

    BlueStream New Member

    Code:
    250-SpeedTouch.lan
    250-PIPELINING
    250-SIZE 10240000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH LOGIN PLAIN
    250-AUTH=LOGIN PLAIN
    250 8BITMIME
     
  18. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Looks ok.

    For some reason mails to subdomain.dyndns.org get redirected to parkwebwin-v02.prod.mesa1.secureserver.net.

    Can you post the real name of your dyndns.org domain?
     
  19. BlueStream

    BlueStream New Member

    fusionstream.dyndns.org

    however when setting the hostname and etc for the server, I used fusionstream.org

    I have since acquired a nameserver for fusionstream.org that allows me to update the data dynamically.
     
  20. BlueStream

    BlueStream New Member

    OK... I'm have a proper name server...

    I can't send from webmail and i don't receive anything...
     

Share This Page