Jump to content

logicsound

Members
  • Posts

    37
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

logicsound's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Ok, so after weeks of trying to figure this out I finally did, Was really hoping someone would point me in the right direction but in the end had to struggle and find it out the old fashion way.. So if anybody else has this issue this is what I had to do. What you need to do is edit the sendmail_path in /usr/local/lib/php.ini to = specify a from address. An example would be sendmail_path =3D "/usr/sbin/sendmail -t -froot@domain.com" Thanks everyone for the help with my other issues...not sure why no one could tell me how to fix this one, seemed pretty easy once I found it.
  2. I have no idea? I am just a network guy that got thrown into maitaining this webserver that has 4 websites on it. But I would guess that it stops the user "nobody" from sending mail which I guess is what sendmail uses. I am in no way a programmer. So i guess I need to find a way to send mail from forms without using "nobody" this could be very painfull if I have to change all the code. over 15 forms. or I need to know how I can track and stop the nobody spammer. Thanks
  3. I dont understand your question? this setting is on the whm in tweak settings and it prevents the user "nobody" from sending mail. If I enable it my web forms dont work because I guess my sendmail code uses nobody. If I leave it disabled my one user that uses email on this server gets hammered with spoof bounce back emails
  4. I have a vps server at hosting.com with multiple domain and websites. I have one domain that is using 1 email address and another domain that has a webform with the following code below. <?php $email = $_POST['EMAIL']; $mailto = "user@domain.com, user@domain.org"; $mailhead = "FROM: LOI<user@domain.org>"."\r\n"; $mailhead .= "Reply-To: user@domain.org"."\r\n"; $mailhead .= "CC: ".$email; $mailbody = "Values submitted from LOI:\n"; while (list($key, $val) = each ($HTTP_POST_VARS)) { $mailbody .= "$key : $val\n"; } mail($mailto, $mailsubj, $mailbody, $mailhead); header("LOCATION: letter.html"); ?> There is a setting on the VPS in “tweak settings” Prevent the user "nobody" from sending out mail to remote addresses (PHP and CGI scripts generally run as nobody if you are not using PHPSuexec and Suexec respectively.) If this setting is turned off (default) my sendmail form works great but the user on the other domain gets massive amounts of spoofed ndr emails, I have tried every spam setting in the vps to stop but nothing works, the only thing that works is turning the above setting to Enabled but then my sendmail does not work!!! So I need a solution that allows me to use sendmail with this setting enabled...Can someone please explain to me how I can do this. Thanks
  5. anybody? really need to know how I can make my sendmail not depend on the allow nobody setting on tweak settings
  6. back again!! So this is related so I figured I would keep the same post so you could see history. So once I changed the tweak setting "prevent nobody from sending email" back to off I was able to get my send email working again but now one of my users is getting about 20 spoofed emails a day! if I turn the setting back on the spam emails stop but my sendmail forms stop working. So I guess I need some help, is there a better way to do the send mail code that requires auth? please help Thanks!!
  7. Fixed it!!! So I took my files and uploaded them to my personal linux godaddy account and the emails worked, So then I called hosting.com and they stayed on the phone with me and went through every setting in the vps. What happened was my junior tech opened a ticket because 1 domain was getting tons of spoofed spam emails so the hosting tech turned on this setting in the "Tweak Settings" Prevent the user "nobody" from sending out mail to remote addresses (PHP and CGI scripts generally run as nobody if you are not using PHPSuexec and Suexec respectively.) Problem was the tech never documented this so the tech I got on the phone last only saw "made change" in the notes but he was awesome and found it, unchecked and bam email is working again. Thanks again everyone for all the help!!! you guys saved me again!!! T
  8. I suppose webmail does exist all though I have no users setup or tested it. ( i will setup and test) UPDATE: webmail works, just setup and tested A couple things.. I have found out that my vps is on 1 ip address and the website I am having issues with is on a different ip address, I was told that the server can have more than 1 ip address and have verified this in vps accounts. I also found out that one of the other users on a different domain with email opened a ticket about spam email and they made a spf record so I removed the spf record and restarted services to see if it fixed it but no luck.... So I think it is def a hosting.com issue and thanks to you guys I think I have the info to keep them from telliing me its a code problem... Will keep this post updated. Thanks
  9. yep, there are 3 domains on it and 2 of them use webmail and imap and everything works fine for them, I can see their emails in the logs
  10. cant find any relay settings, should I just restore exim to default settings?
  11. yes it is a vps, I have root access to the server. I see manage mail queue and no messages show up. I will see if I can find a relay setting and the php.ini. thanks for your help....this is so crazy! looked at php.ini and for sendmail path I have /usr/sbin/sendmail -t -i dont know if that means anything. just verified with winscp that the sendmail file is there. thanks
  12. just got off the phone with hosting.com and found out its exim not sendmail. does that change anything? restarted the service and restarted apache, not on any blacklists either?? Thanks for all the help so far.
  13. ok, I will call hosting company again and see what they say. Funny you said that about spam because they where getting like 5 spam emails a day and I was looking at adding a captcha and then this....never thought about that before.
  14. Any other ideas? not getting any warnings now but emails are still not showing up, I have tried lots of different email address's so I know it is not on the receiving end. really need to figure this out for customer. Thanks for all the help and quick replys... I really appreciate it!! T
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.