Forum Moderators: bakedjake
Suppose user A has an email account in yahoo.com and send email to user B ar hotmail.com
So in "To" he types username@hotmail.com and appends ".mydomain.com" so that the email gows from my server to hotmail server.
So, "To" becomes "username@hotmail.com.mydomain.com"
According to this i need to configure my pop server sothat it can receive these types of email. and then append some text in the body and send it through SMTP to username@hotmail.com.
This is what I need.
Can you or any one help me please?
Anirban
Can you or any one help me please?
anibis - I'm afraid I'm having a tough time understanding your question, so let me ask you a few questions to see if we can clear things up:
1. If you're sending to a user at hotmail, why do you want to append it to your address?
2. What text are you trying to append in the body?
I guess I'm just unclear as to what you're trying to do, and why you're trying to do it. Hopefully we can sort it out!
But I cannot create any alias as emils can come from any email address and from any domain.
Actually I want to provide with a facility to the registered users that when they send an email, if they append ".Mydomain.com" at the end then their emails will be trapped.
To do this I need to configure procmail and fetchmail so that my pop3 server can accept these emails and pass it to procmail where these emails will be farther broken and an tracking code can be inserted in the header or body part. Finally SMTP will send the email to the recipient.
Can any one tell me how will I configure my procmail or fetchmail.
I an not that much confident with LINUX.
Please help.
;mail server
*.mydomain.com. IN MX 10 someone.mydomain.com
;public server
ns1.mydomain.com IN A ip- of- primary name- server
ns2.mydomain.com IN A ip- of- slave name- server
www IN A ip- of- mail- server
ftp IN A ip- of- mail- server
mail IN A ip- of- mail- server
;end
# Now I have written in named.conf file
zone "vpscenter.com"{
type master;
file "vpscenter.com.zone";
allow-transfer { ip- of- slave name- server
};
I have started named dameon.
but I am not getting the desired result.
when I sending any mail at say root@xx.yy.something.mydomain.com
It is showing Host unknown.
am I missing something?
Please advice me with detailed steps, all necessary configurations and sample code ( zone files etc) ASAP.
Thanks