Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

(solved) exim4

(solved) exim4

(solved) exim4

is it possible with exim4 (on Debian) to get all outgoing mails redirected to one/same email address?

so process all outgoing emails and somehow replace their recipients to one external mail address?

RE: (solved) exim4

and by the way, what is the difference in T and t rewriting flags?
while t works for me but T always makes exim PANIC.. (when I set tT in rewriting transport).

E rewrite all envelope fields
F rewrite the envelope From field
T rewrite the envelope To field
b rewrite the Bcc: header
c rewrite the Cc: header
f rewrite the From: header
h rewrite all headers
r rewrite the Reply-To: header
s rewrite the Sender: header
t rewrite the To: header

RE: (solved) exim4

The command word 'unseen' means "continue to process this message with other routers" so removing it should only process your routing instruction.

Exim is a bit of a 'nervous beast' so does 'PANIC' from time to time, in this case it probably is because you have instructed it to rewrite the \envelope-To header twice, Envelope-To is normally written to for message redirection in any case.

Checking /var/log/exim_paniclog should give you more info.


Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum

RE: (solved) exim4

thank you.

by the way, what is the right step-by-step procedure for adding a router in exim? I could not find any such documentation for new users telling which file should be edited first and which steps should be done one by one. What I did (finally successfully) was rather by trial and error (some docs mentioned about /etc/exim.cfg but such file doesn't exist anywhere on newer Debians).

so, I edited:

adding my router below routers section:

driver = redirect
data = centralrecipient@remotehost.com

and after that I run:

what caused that router appeared in file:

I also restarted exim4 by:
service exim4 restart

The fun is that creating new router file in /etc/exim4/conf.d/router/ gave no results even after update-exim4.conf so I think this directory is completely ignored by exim4 (at least it didn;t work for me on Debian 8.5 - only change in the config template was considered by the update-exim4.conf

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close