We used to set up exim4 redirect driver under /etc/exim4/conf.d/router/600_exim4-config_userforward file like this:
============================================================================= userforward: debug_print = "R: userforward for $local_p...@$domain" driver = redirect domains = +local_domains check_local_user file = $home/.forward require_files = $local_part:$home/.forward no_verify no_expn check_ancestor allow_filter forbid_smtp_code = true directory_transport = address_directory file_transport = address_file pipe_transport = address_pipe reply_transport = address_reply skip_syntax_errors syntax_errors_to = real-$local_p...@$domain syntax_errors_text = \ This is an automatically generated message. An error has\n\ been found in your .forward file. Details of the error are\n\ reported below. While this error persists, you will receive\n\ a copy of this message for every message that is addressed\n\ to you. If your .forward file is a filter file, or if it is\n\ a non-filter file containing no valid forwarding addresses,\n\ a copy of each incoming message will be put in your normal\n\ mailbox. If a non-filter file contains at least one valid\n\ forwarding address, forwarding to the valid addresses will\n\ happen, and those will be the only deliveries that occur. gtgroups: driver = redirect domains = +local_domains local_part_suffix = .* data = [email protected] ====================================================================== It means all email coming such as xxx.yyy, qqq.zzz will goto [email protected]. Now I want to setup a email account called [email protected] When the email coming, it should redirect to my gmail account [email protected], not [email protected] Is it possible? Cheers, -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
