Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Change Received header... - its not that simple
PostPosted: 2009-11-23 22:50 
New user
New user

Joined: 2008-06-02 20:02
Posts: 24
Hi...
I got a problem with changing outgoing headers... it seems that server introduces itself by its default domain name... and in reseived email headers it looks like this:

Received: from default-domain-name.com ([210.153.157.556])

Ok... but It's not the header it sends, but something else - I mean this header is being generated by server that receives email.

Is there any way to change it based on email domain you send from? Changing Received header is not what changes it. It's something like HELO... probably... "SENT: HELO default-domain-name.com"... where can I change it in scripts? Please help me...

Best regards,
FlashT


Top
 Profile  
 
 Post subject: Re: Change Received header... - its not that simple
PostPosted: 2009-11-23 22:59 
Site Admin

Joined: 2005-07-29 16:18
Posts: 13628
Location: UK
Most servers use the reverse DNS of your IP. Lookup your IP address and see if it matches.

_________________
If at first you don't succeed, bomb disposal probably isn't for you! ヅ


Top
 Profile  
 
 Post subject: Re: Change Received header... - its not that simple
PostPosted: 2009-11-24 01:16 
New user
New user

Joined: 2008-06-02 20:02
Posts: 24
Nope... at least servers I tested do not use revdns... if server default name is specyfied. If i set it up to IP, not domain, it uses revdns.


Top
 Profile  
 
 Post subject: Re: Change Received header... - its not that simple
PostPosted: 2009-11-24 01:54 
Site Admin

Joined: 2005-07-29 16:18
Posts: 13628
Location: UK
If it's not the rDNS then it must be the HELO you set. If it's not that then the recipient server is making it up from who knows what, MX, SPF, PTR, A or maybe a mixture. Only you can figure that out currently as we do not know the domain

_________________
If at first you don't succeed, bomb disposal probably isn't for you! ヅ


Top
 Profile  
 
 Post subject: Re: Change Received header... - its not that simple
PostPosted: 2009-11-24 02:40 
New user
New user

Joined: 2008-06-02 20:02
Posts: 24
It is connected to default domain so it probably is HELLO... any way to change default domain or HELLO by scripts?


Top
 Profile  
 
 Post subject: Re: Change Received header... - its not that simple
PostPosted: 2009-11-24 10:26 
Site Admin

Joined: 2005-07-29 16:18
Posts: 13628
Location: UK
http://www.hmailserver.com/documentatio ... fic_server

_________________
If at first you don't succeed, bomb disposal probably isn't for you! ヅ


Top
 Profile  
 
 Post subject: Re: Change Received header... - its not that simple
PostPosted: 2009-11-24 13:54 
New user
New user

Joined: 2008-06-02 20:02
Posts: 24
That is ok, all domains have MX records, not a problem. Would be really greatful if you could help me writting some script like:

if(<email_domain> = 'something.com') do HELLO something.com
else if(<email_domain> = 'somethingelese.net') do HELLO somethingelse.com

Best regards,
FlashT


Top
 Profile  
 
 Post subject: Re: Change Received header... - its not that simple
PostPosted: 2009-11-24 14:44 
Site Admin

Joined: 2005-07-29 16:18
Posts: 13628
Location: UK
That is not possible to my knowledge you can only change it depending on outgoing data such as what domain you are sending it out on not what you receive in an SMTP session.

_________________
If at first you don't succeed, bomb disposal probably isn't for you! ヅ


Top
 Profile  
 
 Post subject: Re: Change Received header... - its not that simple
PostPosted: 2009-11-24 17:04 
New user
New user

Joined: 2008-06-02 20:02
Posts: 24
And thats what i want to do...

sending from mail1@domain1.com -> my server while connecting to remote server says HELO domain1.com
sending from mail2@domain2.com -> my server while connecting to remote server says HELO domain2.com

It is from logs:
SENT: HELO default-domain-name.com

SENT, NOT RECEIVED - thats what my server sends i guess...


Top
 Profile  
 
 Post subject: Re: Change Received header... - its not that simple
PostPosted: 2009-11-24 17:12 
Site Admin

Joined: 2005-07-29 16:18
Posts: 13628
Location: UK
Right so you want multiple HELO messages one for each domain. No you can't do that and you don't need to do that either. I run about 50 domains from my hmail all using the same HELO and they all work fine.

_________________
If at first you don't succeed, bomb disposal probably isn't for you! ヅ


Top
 Profile  
 
 Post subject: Re: Change Received header... - its not that simple
PostPosted: 2009-11-25 01:06 
New user
New user

Joined: 2008-06-02 20:02
Posts: 24
Ok, I can't do that, but I do need it :(


Top
 Profile  
 
 Post subject: Re: Change Received header... - its not that simple
PostPosted: 2009-11-25 01:10 
Site Admin

Joined: 2005-07-29 16:18
Posts: 13628
Location: UK
You should add a feature request for it then and let people vote on it or contact martin@hmailserver.com and pay for it to be implemented sooner assuming he likes the idea and you like the price.

_________________
If at first you don't succeed, bomb disposal probably isn't for you! ヅ


Top
 Profile  
 
 Post subject: Re: Change Received header... - its not that simple
PostPosted: 2009-11-25 02:25 
Senior user
Senior user

Joined: 2005-11-05 00:07
Posts: 433
Location: Michigan
FlashT wrote:
Ok, I can't do that, but I do need it :(


Why?


Top
 Profile  
 
 Post subject: Re: Change Received header... - its not that simple
PostPosted: 2009-11-28 03:53 
New user
New user

Joined: 2008-06-02 20:02
Posts: 24
Because :)


Top
 Profile  
 
 Post subject: Re: Change Received header... - its not that simple
PostPosted: 2009-11-28 04:04 
Senior user
Senior user

Joined: 2005-11-05 00:07
Posts: 433
Location: Michigan
Because why? :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests



Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group