LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 04-04-2012, 06:13 AM   #1
MarcusWebb1966
Member
 
Registered: Mar 2011
Posts: 58

Rep: Reputation: 0
Question Strange issue


Hi

Let me describe the scenario, and then see what you may say is likely to be the cause:

We've got a page written in PHP on our gentoo server. The page is basically a POST form and emails the details to a client. When we access this from our office and complete the form, the customer receives the email. When the customer does this from their office, with the same form and the same details, they do not receive this. The mail processor on the server is postfix and the call is the basic mail call in PHP, nothing fancy.

At first we thought there might be some random firewall issue but given that the same form is used by both parties, and that the mail processor is the same, I don't realistically see that this would be the case, particularly as the IP address for the server is going to be the same as the originator (clearly the same goes for spam filtering or whitelisted filtering). The issuer email address is the same too, in case you were wondering.

As ever, your thoughts and ideas gratefully received.
 
Old 04-05-2012, 12:38 PM   #2
Kustom42
Senior Member
 
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,563

Rep: Reputation: 410Reputation: 410Reputation: 410Reputation: 410Reputation: 410
Have you looked through your mail and apache logs to see if any errors are reporting? For diagnoses you may also want to append the script to do an fopen and fwrite to write the post to a file and verify that it is actually posting.
 
1 members found this post helpful.
Old 04-10-2012, 03:45 AM   #3
MarcusWebb1966
Member
 
Registered: Mar 2011
Posts: 58

Original Poster
Rep: Reputation: 0
Found out the answer: Transpired that we were getting bouncebacks as the server set the "FROM" address as the email address given in the form. The client had managed to put their spam filter (relatively sensibly, one supposes) to say if the mail comes from their domain but not from an internal IP address, it must be spoofing the system and therefore rejected it. I Thank you Kustom42 for your ideas!
 
  


Reply

Tags
mail, php5 apache, postfix


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Networking Issue EclipseAgent Suse/Novell 2 04-28-2006 08:51 PM
strange c issue exvor Programming 8 01-29-2005 02:23 PM
Strange issue with kickstart. dehalgren Linux - Enterprise 1 08-23-2004 08:59 AM
help me on a strange issue. newpenguin Linux - General 11 10-06-2002 03:42 PM


All times are GMT -5. The time now is 04:58 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration