Weird Forwarding

georgesk

New member
Joined
Apr 22, 2005
Messages
4
Hi,

I have reseller that has 3 domains, one of which is ksoft.ca, and that reseller has a user called karim, the user has a domain bakhache.com
When the user was created, the default email [email protected] was created as well... The problem is that when i email this user, i get back an undelivered mail error stating:
[email protected]
(ultimately generated from [email protected])

I don't know where this translation is happening or why, other emails that i've created for this domain are working fine, it is only the email that matches the username karim that is giving this error.

Any ideas are greatly appreciated, thank you.
Georges
 
Hi Georges,

The username is used to create default email accounts in all domains, if you look you'll find that ksoft.ca is the default domain for that user.

The return mail gets generated by the mail account karim and not [email protected], it simple adds the default domain name to make it a valid email address.

Regards,
Onno Vrijburg
 
If you go to the file manager and click on the symlink public_html. Then check to see which directory you're in (should contain a domain name).

Sending mail should never be a problem, it will always go to the correct domain name, when replying from the account holder it will use the default domain name to send mail.

Regards,
Onno Vrijburg
 
The file structure in the file manager is correct and the user karim is hosting pages on www.bakhache.com and they are working correctly.
Also sending emails works fine, the problem is receiving emails on his email account....
So when an email to [email protected] is received, the system is not sending it to the user karim who owns the bakhache.com domain, instead from the returned mail error that i posted in the first email, it seems the mail manager (exim or vm-pop3d, not sure which one does this translation) is translating the email address [email protected] to [email protected] and so is failing to deliver the emails to karim's mailbox...

Regards,
Georges
 
Can you post the output of /var/log/maillog, /var/log/messages, /var/log/exim/mainlog, /var/log/exim/paniclog, /var/log/exim/processlog and /var/log/exim/rejectlog around the tim ethe message was rejected.

Regards,
Onno
 
The only log file that has relevant information to this issue is /var/log/exim/mainlog and here are the relevant lines where i tried to send [email protected] an email from an external email account...

2005-04-26 01:48:46 1DQLkM-00031g-4N <= [email protected] H=rohan.fd-mobile.com [194.126.29.137] P=esmtp S=1668 id=30D1CB09D99F43429EC52C2BC57A173321CEAD@callisto.corp.fdmobile.com T="test" from <[email protected]> for [email protected]
2005-04-26 01:48:46 1DQLkM-00031g-4N ** [email protected] <[email protected]> F=<[email protected]> R=virtual_aliases:
2005-04-26 01:48:46 1DQLkM-00031l-NH <= <> R=1DQLkM-00031g-4N U=mail P=local S=2503 T="Mail delivery failed: returning message to sender" from <> for [email protected]
2005-04-26 01:48:46 1DQLkM-00031g-4N Completed
2005-04-26 01:48:50 1DQLkM-00031l-NH => [email protected] <[email protected]> F=<> R=lookuphost T=remote_smtp S=2584 H=ROHAN.fd-mobile.com [194.126.29.137] C="250 OK"
2005-04-26 01:48:50 1DQLkM-00031l-NH Completed


Regards,
Georges
 
From this log I see that the mail is returned but not the reason for returning the email.

There must be a log entry where it gives the reason for rejecting the email. (Note: it does not have to have the same MessageID)

Regards,
Onno
 
Back
Top