Forwarders -> local copy option

qlsys

Verified User
Joined
Apr 18, 2005
Messages
25
Location
Poland
Hi,

I wanted to ask if You think about creating some extensions to Forwarders section in DA user Panel.

Many clients ask me to set a forwader in the way that mail is forwared as a copy, so the original reciever doesnt see anythingt (this feature is requested usaually by Managers, Directors to control incoming mails for their employees).

It could be easly added:

in /etc/virtual/domain/ there could be additional filter file, different from ./filter which is used by SpamAssassin.

For example:

./filter_forwarders

Then in Forwarders section user could have an option to tick (Local Copy: on/off). If off - nothing additional should be done. If "on" selected there could filter rules written to filter_forwarders such as:

if
$header_to: contains "[email protected]" or
$header_to: contains "[email protected]"
....
then
unseen deliver [email protected]
endif

And thats all. Ofcourse there could be also an option:
Forward a copy of all incoming mail to the following address:

and when there should be only such entry:

unseen deliver [email protected]

What do You think about that?

I dont know if there is some more simplified way to this - but thats the one I'm using.

Kind Regards,
 
Hi,

Try to set up something like this:

You have a main user/mailbox:

login: user1
e-mail: [email protected]

Try to set now a forwarder in this way:

[email protected] -> [email protected], [email protected], user4#domain.com, .... ,[email protected]

At my DA server message was delivered to all users except [email protected]

I tried this trivial example which you described and it works in that way... but if You have many rcpts in forwarder id does not deliver a message to main account.

Maybe something wrong with my settings... but i dont think so because everything else it working properly.

Kind Regards,
 
Please try to duplicate the problem with system accounts (login username) and domain accounts (login [email protected]) so we can determine if the problem is with both or only with one.

Thanks.

Jeff
 
ok

Hi,

Ok. I've checked eveything.

It works this way:

if you setup forwader for an existing virtual email account it works perfectly.

For example:

login: [email protected]
email: [email protected]

forwarder:

[email protected] -> [email protected]

But now - if you setup a forwarder for a main account it doesnt not deliver a message to original rcpt.

For example:

login: client
email: [email protected]

forwarder: [email protected] -> [email protected]

the message ISNT delivered to [email protected] account but is delivered only to: [email protected].

It should be delivered also to [email protected].

Kind Regards,
 
Thanks for the clarification.

That's just an "order" problem within exim.conf.

I can change it, but I'd like to John to write back with his feeling on it, and/or the reasons for his decision on why it works the way it does.

I'm asking him to look at this message, and when he replies I'll make the changes to my newest exim.conf, and then make the file available to DA.

Jeff
 
Back
Top