Find the answer to your Linux question:
Results 1 to 2 of 2
I am currently having a problem n need a work around. MY website is php based and in the site have a page where users fill in a form. The ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2007
    Posts
    2

    Angry web query..


    I am currently having a problem n need a work around. MY website is php based and in the site have a page where users fill in a form. The form data is sent by mail to our corporate sector.. now just to do ths i have installed postfix on ths server.. and due to this i am havin alot of badmails relaying thru it spam, I want to block these mails.. Now the form page works in the manner that one mail goes to the corporate section and another to the specific users email address that he specifies ( user address can be of any domain..hotmail yahoo etc. ) can someone temme how to either fix ths sercurity issue or a work around it... tat can just allow the form to send a mail to my official mail server...

  2. #2
    Linux Engineer adrenaline's Avatar
    Join Date
    Aug 2004
    Location
    Seattle, Washington
    Posts
    1,058
    I am a sendmail user so I don't know much about postfix, but there should be a config somewhere that you can only allow mail from one IP address.


    In sendmail it is /etc/mail/access.
    Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
    -- Linus Torvalds

Posting Permissions

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