niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Apps » Exim
WG: WG: Vacation exim 4 dynamic ip problem
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Daniel Müller
*nix forums beginner


Joined: 13 Jul 2006
Posts: 9

PostPosted: Tue Jul 18, 2006 1:02 pm    Post subject: WG: WG: Vacation exim 4 dynamic ip problem Reply with quote

When I do a exim -qff -v I see that mails, comming from outside to be
forwarded to another server , have a <> sender (0 Sender). With yahoo
this does not matter but with gmx it is impossible to get this mails
through.

How do I setup my Userforward-router to fix this:


userforward:
driver = redirect
check_local_user
# local_part_suffix = +* : -*
# local_part_suffix_optional
file = $home/.forward
allow_filter
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
directory_transport= address_directory

my other routers three domains


smart_route_domain1_de:
driver = manualroute
transport = remote_smtp_domain1
route_list = !+local_domains mail.domain1.de
senders = /etc/exim/domain1_senders
errors_to= postmaster

smart_route_domain2_de:
driver= manualroute
transport = remote_smtp_domain2
route_list = !+local_domains mail.domain2.de
senders = /etc/exim/domain2_senders
errors_to= postmaster



smart_route_domain3_de:
driver = manualroute
transport = remote_smtp_domain3
route_list = !+local_domains smtp.domain3.de
senders = /etc/exim/domain3_senders
errors_to= postmaster

The users sending over which are looked up in files

-----Ursprüngliche Nachricht-----
Von: exim-users-bounces@exim.org [mailto:exim-users-bounces@exim.org] Im
Auftrag von Daniel Müller
Gesendet: Dienstag, 18. Juli 2006 09:06
An: exim-users@exim.org
Betreff: [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@xuser.com)-->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@exim.org [mailto:exim-users-bounces@exim.org] Im
Auftrag von Daniel Müller
Gesendet: Donnerstag, 13. Juli 2006 14:51
An: exim-users@exim.org
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@healthnet.org:\
!bounce-*@.*:\
!*-bounce@.*:\
!*bounce*@.*:\
!newsletter-*@.*:\
!news*@.*:\
!news@.*:\
!*-newsletter@.*:\
!*newsletter@.*:\
!owner-.*@.*:\
!postmaster@.*:\
!listmaster@.*:\
!webmaster@.*:\
!mailer-daemon@.*:\
!noreply*@.*:\
!newsletter*@.*:\
!info@.*:\
!info*@*:\
!*@info*:\
!request*@.*:\
!*@.newsletter*:\
!fetchmail*@.*:\
!wwwrun@com1.local:\
!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/


--
## 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/


--
## 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/
Back to top
Daniel Müller
*nix forums beginner


Joined: 13 Jul 2006
Posts: 9

PostPosted: Fri Jul 21, 2006 11:32 am    Post subject: Re: WG: WG: Vacation exim 4 dynamic ip problem Reply with quote

Hello,

after all and after hard trying I did it for me this way:
For all who have the same problem:

I set up a router who catch the mails being forwarded to outside sender
not in our three domains and not local domain.
And I set one of our ISP hosts over which the forwards are sent. And I
made an account mailforward@domainoe.de


Router

out_fwd_out:
driver= manualroute
senders=!*@domainone.de:!*@domaintwo.de:!*@domainthree.de:!*@host.local
#requires the file of the original recipient, .forward in his home
require_files=/home/${original_local_part}/.forward
route_list= !+local_domains mail.daomainone.de
transport=special_out_fwd_out

Transport

special_out_fwd_out:
driver=smtp
return_path= mailforwarder@domainone.de

That’s all

Daniel


-----Ursprüngliche Nachricht-----
Von: exim-users-bounces@exim.org [mailto:exim-users-bounces@exim.org] Im
Auftrag von Daniel Müller
Gesendet: Dienstag, 18. Juli 2006 15:09
An: exim-users@exim.org
Betreff: [exim] WG: WG: Vacation exim 4 dynamic ip problem

When I do a exim -qff -v I see that mails, comming from outside to be
forwarded to another server , have a <> sender (0 Sender). With yahoo
this does not matter but with gmx it is impossible to get this mails
through.

How do I setup my Userforward-router to fix this:


userforward:
driver = redirect
check_local_user
# local_part_suffix = +* : -*
# local_part_suffix_optional
file = $home/.forward
allow_filter
no_verify
no_expn
check_ancestor
file_transport = address_file
pipe_transport = address_pipe
reply_transport = address_reply
directory_transport= address_directory

my other routers three domains


smart_route_domain1_de:
driver = manualroute
transport = remote_smtp_domain1
route_list = !+local_domains mail.domain1.de
senders = /etc/exim/domain1_senders
errors_to= postmaster

smart_route_domain2_de:
driver= manualroute
transport = remote_smtp_domain2
route_list = !+local_domains mail.domain2.de
senders = /etc/exim/domain2_senders
errors_to= postmaster



smart_route_domain3_de:
driver = manualroute
transport = remote_smtp_domain3
route_list = !+local_domains smtp.domain3.de
senders = /etc/exim/domain3_senders
errors_to= postmaster

The users sending over which are looked up in files

-----Ursprüngliche Nachricht-----
Von: exim-users-bounces@exim.org [mailto:exim-users-bounces@exim.org] Im
Auftrag von Daniel Müller
Gesendet: Dienstag, 18. Juli 2006 09:06
An: exim-users@exim.org
Betreff: [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@xuser.com)-->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@exim.org [mailto:exim-users-bounces@exim.org] Im
Auftrag von Daniel Müller
Gesendet: Donnerstag, 13. Juli 2006 14:51
An: exim-users@exim.org
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@healthnet.org:\
!bounce-*@.*:\
!*-bounce@.*:\
!*bounce*@.*:\
!newsletter-*@.*:\
!news*@.*:\
!news@.*:\
!*-newsletter@.*:\
!*newsletter@.*:\
!owner-.*@.*:\
!postmaster@.*:\
!listmaster@.*:\
!webmaster@.*:\
!mailer-daemon@.*:\
!noreply*@.*:\
!newsletter*@.*:\
!info@.*:\
!info*@*:\
!*@info*:\
!request*@.*:\
!*@.newsletter*:\
!fetchmail*@.*:\
!wwwrun@com1.local:\
!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/


--
## 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/


--
## 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/


--
## 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/
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Sun Nov 23, 2008 12:44 pm | All times are GMT
navigation Forum index » Apps » Exim
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Unknown in header problem -SOLVED- Light Speed Postfix 0 Thu Jul 03, 2008 10:40 am
No new posts problem with sending mail nuxia Postfix 0 Mon Apr 21, 2008 3:58 am
No new posts Postfix 2.3.8 Virtual problem Blotto Postfix 0 Fri Apr 04, 2008 6:11 am
No new posts Postfix sending problem for local domain remote email monkey_magix Postfix 0 Mon Sep 10, 2007 10:17 am
No new posts Dynamic IP Issues, when Sever is on Fixed. spode Postfix 2 Tue Aug 14, 2007 2:10 pm

Home Loan | Credit Cards | Online Advertising | Credit Cards UK | Mortgages
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.3192s ][ Queries: 16 (0.1497s) ][ GZIP on - Debug on ]