Ispconfig + FC4 + mail function

Discussion in 'General' started by vocoder, Feb 18, 2006.

  1. vocoder

    vocoder New Member

    Hi to all.
    I just installed the ispconfig in a fedore core 4 server following The Perfect Setup - Fedora Core 4 tutorial.

    All the operations looks working perfect except the mail() function. In one of my clients i have a formail script. When i try to submit the form i dont take an error message but i never receipt the mail.

    Can anyone help me please;

    P.S. In the Comment viewing options of The Perfect Setup - Fedora Core 4 tutorial i read the following :
    But i did not understood maybe because i am a linux dummy.

    thank you very much
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. vocoder

    vocoder New Member

    Thank you Falco , i will try it.

    Best rewards,
    Kostas
     
  4. vocoder

    vocoder New Member

    Goodmorning.

    Dear Falco i disable the SELINUX but i have the same problem.
    Any idea?

    Thank you very much,
    Kostas
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Is this a PHP or perl formmail script? Do you get any errors in your mail log?
     
  6. vocoder

    vocoder New Member

    it is a php formmail script which in other servers play perfect! No i dont get any errors in my mail log
     
  7. falko

    falko Super Moderator Howtoforge Staff

    What's in /etc/sysconfig/selinux? Did you reboot your system after the changes?
     
  8. vocoder

    vocoder New Member

    Yes i restarted my system twice.

    The file is the following :
    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    # enforcing - SELinux security policy is enforced.
    # permissive - SELinux prints warnings instead of enforcing.
    # disabled - SELinux is fully disabled.
    SELINUX=disabled
    # SELINUXTYPE= type of policy in use. Possible values are:
    # targeted - Only targeted network daemons are protected.
    # strict - Full SELinux protection.
    SELINUXTYPE=targeted

    Thank you,
    Kostas
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Does the MX record of the recipient domain point to the right server?
     
  10. vocoder

    vocoder New Member

    Yes i am tried many reciptients :(
     
  11. falko

    falko Super Moderator Howtoforge Staff

    Can you give me an example recipient domain?
     
  12. vocoder

    vocoder New Member

  13. till

    till Super Moderator Staff Member ISPConfig Developer

    Are the email mailboxes for [email protected] located on the same server then the website inarcadia.gr or do you use an external mailserver?
     
  14. vocoder

    vocoder New Member

    no they are in the same server
    I have folloeing exactly the FC4 perfect setup tutorial (with ispconfig)
     
  15. till

    till Super Moderator Staff Member ISPConfig Developer

    Please watch your mail log with the command "tail -f /path/to/logfile" and post the lines that where added in the moment you send an email with your formmails script to [email protected].
     
  16. falko

    falko Super Moderator Howtoforge Staff

    Code:
    dig inarcadia.gr
    
    ; <<>> DiG 9.2.1 <<>> inarcadia.gr
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 58366
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;inarcadia.gr.                  IN      A
    
    ;; AUTHORITY SECTION:
    inarcadia.gr.           10800   IN      SOA     ns1.acn.gr. hostmaster.acn.gr. 2005061401 28800 7200 604800 86400
    
    ;; Query time: 295 msec
    ;; SERVER: 81.169.163.104#53(81.169.163.104)
    ;; WHEN: Fri Mar 10 12:35:43 2006
    ;; MSG SIZE  rcvd: 85
    
    Your domain doesn't exist in DNS! Please create an A record.
     

Share This Page