I have found this:
here: http://www.faqs.org/faqs/mail/addressing/
Has anyone done this with DA? Or know if this will work? Or even a different way to implement?
Thanks.
Edit: I guess I should say why I want this. I am hoping to do some automated services by email. When a user clicks reply and types a command, I need to know which email they're replying to. By making the reply-to something like this => [email protected], I can tell which email is being referenced. Is this the right way to go about it? Or is there even a better method?
First, you must find the directors section of the exim
configuration file. In it, you will find a director like this:
(it's from the default configuration file, most people should have
it)
userforward:
no_verify,
driver = forwardfile;
check_ancestor,
file = .forward,
# filter
You must then change it to look like this: (look in the exim manual
for details)
userforward:
no_verify,
suffix = "-*",
suffix_optional,
driver = forwardfile;
check_ancestor,
file = .forward,
filter
This will enable username-extension for any value of extension. But
it will still get dropped into your default mailbox. To do more
with this, you can use exim's built in filtering. You must create a
~/.forward file with the following first line:
# Exim filter
And you can then use rules like the following to save mail into
different mailboxes:
if $local_part_suffix is "-foo"
then
save $home/Mail/foo-folder
elif $local_part_suffix is "-bar"
then
pipe "/usr/local/mh/lib/rcvstore +bar"
endif
here: http://www.faqs.org/faqs/mail/addressing/
Has anyone done this with DA? Or know if this will work? Or even a different way to implement?
Thanks.
Edit: I guess I should say why I want this. I am hoping to do some automated services by email. When a user clicks reply and types a command, I need to know which email they're replying to. By making the reply-to something like this => [email protected], I can tell which email is being referenced. Is this the right way to go about it? Or is there even a better method?
Last edited: