[exim] WG: Vacation exim 4 dynamic ip problem

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Daniel Müller
Dátum:  
Címzett: exim-users
Tárgy: [exim] WG: Vacation exim 4 dynamic ip problem
Hello,

after some days of trying I found out that only mails from outside(not
our namespace) had this strange behaviour.
mailoutside(not our namespace)-->Provider server --> exim -->
localuser@localdomain -->if .forward(xuser@???)-->exim direct
connect to emailserver xuser.com
How can I rewrite incoming mails condition if a $home/.forward file
exist in a way
that they are forwarded from the user over our Provider server this way:

mailoutside-->Provider-->exim-->localuser@localdomain-->if .forward
rewriting from=localuser@localdomain to=address in .forwad-file -->
OurProviderServer-->.forwardAdressEmailServer

Or is there a way to do this with the mails as attachement?

Daniel

-----Ursprüngliche Nachricht-----
Von: exim-users-bounces@??? [mailto:exim-users-bounces@exim.org] Im
Auftrag von Daniel Müller
Gesendet: Donnerstag, 13. Juli 2006 14:51
An: exim-users@???
Betreff: [exim] Vacation exim 4 dynamic ip problem

Hello,

I have a problem with vacation and exim4.
I have several smarthost over which I send mails.
.Vacation files and .forward files are generated correctly via the
vacation plugin of squirrelmail.
Now forwarding is no problem. When a user set a address to which should
be forwarded exim
choses the right router(several provider) and transport on behalf of
the domain aliases.
But when the user sets an vacation message exim just chooses the
dnslookup and the normal remote smtp.
Exim is then connecting directly with the recipients Email-Server and I
get a ‘Your address is listed as dynamic…
We are not accepting…..’
And the mails are refused on the most Servers.
Is there a way to send the vacation message the right way over my
defined smarthost?

My configuration:
The router the last one in config file exim.conf



vacation:
driver=accept
check_local_user
require_files= $home/.vacation.msg
senders= !*-request@.*:\
             !e-drug-bounces@???:\
             !bounce-*@.*:\
             !*-bounce@.*:\
             !*bounce*@.*:\
             !newsletter-*@.*:\
             !news*@.*:\
             !news@.*:\
             !*-newsletter@.*:\
             !*newsletter@.*:\
             !owner-.*@.*:\
             !postmaster@.*:\
             !listmaster@.*:\
             !webmaster@.*:\
             !mailer-daemon@.*:\
             !noreply*@.*:\
             !newsletter*@.*:\
             !info@.*:\
             !info*@*:\
             !*@info*:\
             !request*@.*:\
             !*@.newsletter*:\
             !fetchmail*@.*:\
             !wwwrun@???:\
             !autoreply*@*:\
             !www*@.*:\
             !root@.*
transport=vacation_transport
unseen


Now the transport:

vacation_transport:
driver= pipe
command= /usr/bin/vacation -I $local_part

Thanks in advance
Daniel


--
## List details at http://www.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/