Go Back   cPanel Forums > cPanel® and WHM® (for Linux® and FreeBSD® Servers) > Mail

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-25-2009, 09:42 PM
Registered User
 
Join Date: Apr 2007
Posts: 51
JIKOmetrix is on a distinguished road
Exclamation Can exim forward email through the account IP address?

Hi,

I have a VPS that is/was on CBL RBL. I have asked for it to be clear. It was a form that got hi-jcaked.

I'm running into a strange exim issue. All of the account on this VPS have dedicated IP Addresses. Exim is configured to send from each account IP address. However it does not send email from forwarders via the account IP address. I only discovered this when forwarded email is bounced or blocked for being on the CBL RBL but email from email accounts is delivered.

Any way to get the server to forward email from the account IP address too?

Thanks,
Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-26-2009, 01:28 PM
Kasper's Avatar
Registered User
 
Join Date: Aug 2004
Location: Chicago
Posts: 28
Kasper is on a distinguished road
Re

Apparently it happens due to the checks applied for sender_address_domain for remote_smtp transport in exim.conf.

In case of the forwarder, the variable sender_address_domain used for the IP lookup in "remote_smtp" is useless due to the fact the forwarded messages preserve the original sender as $sender_address_domain.

Consider it as

1@test.tld - locally served
2@anothertest.tld - gets emails forwarded from 1@test.tld

If you send an email from external@gmail.com or w/e to
1@test.tld

the email is forwarder to
2@anothertest.tld
as from
external@gmail.com

On the remote_smtp tranport time, the sender address external@gmail.com is checked for the records in /etc/mailips and sure thing, not found...

You can always debug the delivery using the command like

exim -d -bt 1@test.tld


@ cPanel guys - are you planning to add a check "if it's forwarded/exists in valiases - use local domain record from mailips for the interface " ?
I bet the most users would be interested to see it...

Just 2 cents...
__________________
--
Eugene,
=
Lost time is never found again
=
http://howto4life.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
dedicated ip , exim , forwarder

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain level rule to forward a copy of each email to another email account nitaish Mail 2 02-06-2008 03:33 PM
email filter: forward to another address AFTER normal delivery iRob cPanel and WHM Discussions 1 09-11-2006 12:54 PM
forward email to different address ramil cPanel and WHM Discussions 1 02-23-2006 02:05 AM
How to forward (all) domain email (no account created) sleuth1 cPanel and WHM Discussions 0 12-02-2004 08:10 AM
Forward email silently to another address: crew cPanel and WHM Discussions 6 12-05-2003 12:26 AM


All times are GMT -5. The time now is 09:50 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc