Gary Koskenmaki
2008-Jul-31 19:53 UTC
[Pkg-exim4-users] unconditional forwarding for certain email addresses
Hi all, I''m a newbie Exim4 admin so don''t flame me too hotly.... ;) I have a working Exim4 install and it''s been giving me no problems but I have an issue I haven''t been able to work around. We forward email for several domains we host and local mail from the internal lan. We do not implement a pop3 server as per management decision. The issue I''m having is we are a distributed environment and we also have employees that travel a lot. Not all the remote employees have static IP addresses so I can''t just configure exim4 to unconditionally forward email from their IP addresses and that is impossible for road warriors. This results in any email sent from their remote address being bounced if it is not addressed to a domain for which we forward mail. Could someone point me to how to configure exim4 to unconditionally forward mail from certain email addresses just like it''s possible to do with IP addresses or network blocks? I''ve spent quite a bit of time Googling this issue, have Philip Hazel''s book, and Debian''s documentation but just can''t find anything that addresses this specific issue. Maybe it''s just because I''m not using the correct search terminology, but I''ve put quite a bit of time into this already and have drawn a blank so far.
Eduardo M KALINOWSKI
2008-Jul-31 20:03 UTC
[Pkg-exim4-users] unconditional forwarding for certain email addresses
Gary Koskenmaki escreveu:> Could someone point me to how to configure exim4 to unconditionally > forward mail from certain email addresses just like it''s possible to do > with IP addresses or network blocks?Please don''t do that. It''s ridiculously easy to forge "From" addresses, and you''ll have a system open for spammers to use. A viable solution would be to require your travelling users to authenticate themselves (using the mechanisms available in SMTP), and allow relaying from authenticated users. This is the default setup in Debian, you just need to set an authentication database. I believe there are some examples in the configuration file; the whole story is found in chapters 33 onwards in the Exim documentation[0]. [0] http://www.exim.org/exim-html-current/doc/html/spec_html/