Forum Moderators: bakedjake

Message Too Old, No Replies

Procmail and fetchmail configuration

Procmail and fetchmail configuration

         

anibis

9:11 am on Oct 22, 2003 (gmt 0)

10+ Year Member



Hello There,

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

bakedjake

7:04 pm on Oct 23, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



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!

anibis

8:23 am on Oct 24, 2003 (gmt 0)

10+ Year Member



Hello,

Not only hotmail any email address appended with ".Mydomain.com" should traverse from my server.

Actually I want to track the emails that goes from myserver by inserting some tracking code in the header part.

With regards
Anirban

Josk

11:22 am on Oct 24, 2003 (gmt 0)

10+ Year Member



Why? If someone wants to send something to xyz@hotmail.com, why can't they just send it to xyz@hotmail.com. Saves load on your server for a start...

bakedjake

1:02 pm on Oct 24, 2003 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



inserting some tracking code in the header part

It's already there. You should have an envelope path in your mail headers.

What problem are you trying to solve?

anibis

6:26 am on Oct 27, 2003 (gmt 0)

10+ Year Member



Thanks for your response.

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.

anibis

12:22 pm on Nov 1, 2003 (gmt 0)

10+ Year Member



I have a domain like mydomain.com and a virtual host domain as something.mydomain.com with an IP.

My objective is that I want to send all mails directed to *.something.mydomain.com (eg xxx@yahoo.com.aa.bb.something.mydomain.com)
to a user say root in something.mydomain.com. I mean all mails coming in *.something.mydomain.com should be redirected to root@something.mydomain.com.

something.mydomain.com is also my mail server.

I am using Red Hat Linux with Bind .

I have created zone file like mydomain.com.zone in /var/named with
an wildcard Mx Entry and A record. and also pointed this file in named.conf.

But it is not working .

My zone file looks like this :


@ IN SOA ns1.mydomain.com. root.mydomain.com. (
2003080801 ; serial
28800 ; refresh
14400 ; retry
3600000 ; expire
86400 ; default_ttl
)
;name server
IN NS ns1.mydomain.com.
IN NS ns2.mydomain.com.

;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