hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Sendmail: wrong sender
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Sendmail: wrong sender

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 01-30-2002, 03:12 AM
cyansmoker cyansmoker is offline
Web Hosting Master
 
Join Date: Oct 2001
Location: California, USA
Posts: 1,315

Sendmail: wrong sender


Hi,
I just found out that one of our servers, where a client runs a mailing-list script (opt-in list), is misconfigured.

Here's the thing:
His Perl scripts rely on sendmail,
They send messages containing a "From" field set to "blah@clientdomain.com"

When the recipients read their messages, they see "From: blah@clientdomain.com"; well that's my understanding.

When an message is bounced (host unknown or mailbox full or ...) the bounce message is addressed to "clientdomain@OURdomain.com".

We rely on suexec, thus the Perl scripts as executed with the client's account, that could be resolved to "clientdomain@OURdomain.com"; I suppose sendmail uses this for the envelope "From" instead of the message "From" field..?

Any idea???

Thanks,
-Chris.

__________________
http://www.voilaweb.com - the Social Internet Toolbox.

Reply With Quote


Sponsored Links
  #2  
Old 01-31-2002, 08:30 PM
cyansmoker cyansmoker is offline
Web Hosting Master
 
Join Date: Oct 2001
Location: California, USA
Posts: 1,315
Hey,
maybe if I pretend I figured it all out, someone will help?


__________________
http://www.voilaweb.com - the Social Internet Toolbox.

Reply With Quote
  #3  
Old 02-01-2002, 07:53 AM
priyadi priyadi is offline
Registered User
 
Join Date: Apr 2001
Location: Depok, Indonesia
Posts: 986
Use sendmail -f blah@clientdomain.com in the perl script. Bounces then will be sent to that address.

Reply With Quote
Sponsored Links
  #4  
Old 02-01-2002, 08:14 AM
cyansmoker cyansmoker is offline
Web Hosting Master
 
Join Date: Oct 2001
Location: California, USA
Posts: 1,315
Quote:
Originally posted by priyadi
Use sendmail -f blah@clientdomain.com in the perl script. Bounces then will be sent to that address.
Thanks, it was, like, my last chance solution; but then I looked into sendmail.cf and realized than somebody had uncommented the "Return-Path" line

Thanks anyway,

__________________
http://www.voilaweb.com - the Social Internet Toolbox.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?