[Exim] Upgraded to 3.03 now I get loops...

Góra strony
Delete this message
Reply to this message
Autor: Bruce Bowler
Data:  
Dla: exim-users
Temat: [Exim] Upgraded to 3.03 now I get loops...
Hi,

I just upgraded to 3.03 from 2.12 and now what used to work, doesn't...

I get some mail that I need to 'auto forward' to another machine based on
the contents of the subject. To accomplish that, I have, in my account on
our main machine, a .forward file that looks like...

    # exim filter <<<< ----- Do not delete...
    if $header_subject: contains "Data Ready for FTP--Sub"
    then
            deliver bowler@???
    endif
    deliver bowler@???


the messages do get sent on to SEADAS. On SEADAS, my .forward file looks like


    # exim filter <<<< ----- Do not delete...
    if $header_subject: contains "Data ready for FTP--"
    then
            pipe "/usr/bowler/seawifs_get.pl"
            finish
    endif


Put instead of getting sent to the perl script they come back to ALPHA1,
where they go through the .forward file and get sent back to SEADAS, where
they don't get sent to the perl script, but rather come back to ALPHA1
where....

Well you get the picture, I end up with a nice little mail loop.

I did run the old configure files through the converter and they look OK to
me. I suspect that the problem is the configure file on SEADAS (the perl
machine) so I've included it here. Any insight would be most appreciated...

>
>######################################################################
>#                    MAIN CONFIGURATION SETTINGS                     #
>######################################################################

>
>locally_caseless = false
>primary_hostname = seadas.bigelow.org
>qualify_domain = seadas.bigelow.org
>local_domains = seadas.bigelow.org
>never_users = root
>host_lookup = 0.0.0.0/0
>host_accept_relay = "omitted for security reasons"
>rbl_domains = rbl.maps.vix.com
>no_rbl_reject_recipients
>rbl_warn_header
>freeze_tell_mailmaster = true
>trusted_users=root
>return_size_limit=100k
>message_size_limit=10m
>ignore_errmsg_errors_after=24h
>receiver_unqualified_hosts = "198.116.72.0/24"
>message_filter=/usr/exim/system.filter
>end
>
>
>
>######################################################################
>#                      TRANPORTS CONFIGURATION                       #
>######################################################################

>
>local_delivery:
> driver = appendfile
> file = /var/mail/${local_part}
> delivery_date_add
> envelope_to_add
> return_path_add
>
>address_pipe:
> driver = pipe
> return_output
>
>address_file:
> driver = appendfile
> delivery_date_add
> envelope_to_add
> return_path_add
>
>address_directory:
> driver = appendfile
> no_from_hack
> prefix = ""
> suffix = ""
> delivery_date_add
> envelope_to_add
> return_path_add
>
>address_reply:
> driver = autoreply
>
>remote_smtp:
> driver = smtp
>
>end
>
>######################################################################
>#                      DIRECTORS CONFIGURATION                       #
>#             Specifies how local addresses are handled              #
>######################################################################
>#                          ORDER DOES MATTER                         #
>#   A local address is passed to each in turn until it is accepted.  #
>######################################################################

>
>system_aliases:
> driver = aliasfile
> file_transport = address_file
> pipe_transport = address_pipe
> file = /etc/aliases
> search_type = lsearch
>
>userforward:
> driver = forwardfile
> file_transport = address_file
> pipe_transport = address_pipe
> reply_transport = address_reply
> no_verify
> filter = true
> check_ancestor
> file = .forward
>
>localuser:
> driver = localuser
> driver = localuser
> transport = local_delivery
>
>end
>
>
>
>######################################################################
>#                      ROUTERS CONFIGURATION                         #
>#            Specifies how remote addresses are handled              #
>######################################################################
>#                          ORDER DOES MATTER                         #
>#  A remote address is passed to each in turn until it is accepted.  #
>######################################################################

>
>lookuphost:
> driver = lookuphost
> transport = remote_smtp
>
>literal:
> driver = ipliteral
> transport = remote_smtp
>
>end
>
>
>
>######################################################################
>#                      RETRY CONFIGURATION                           #
>######################################################################

>
># Domain               Error       Retries
># ------               -----       -------

>
>*                      *           F,2h,15m; G,16h,2h,1.5; F,4d,8h

>
>end
>
>
>
>######################################################################
>#                      REWRITE CONFIGURATION                         #
>######################################################################

>
>



Bruce Bowler                             207.633.9600 (voice)
Research Associate                       207.633.9641 (fax)
Bigelow Laboratory for Ocean Sciences    bbowler@???
West Boothbay Harbor ME  04575           http://www.bigelow.org/