[Exim] exim+amavis+sophos

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Margrit.Lottmann
Date:  
À: exim-users
Sujet: [Exim] exim+amavis+sophos
We are testing sophos virus-checking (demo-license).

We want use amavis at our exim-MailRelays to check all emails,
which the relay has to send to a number of dedicated smtp-servers,
which we control.

(With help of an README.exim in the amavis-distribution)

This my draft router:

am_router_name:
condition = "${if eq {$received_protocol}{scanned-ok} {0}{1}}"
driver = domainlist
transport = amavis
domains = "list of special sendmail-servers from our subnet"
route_list = "*.urz.uni-magdeburg.de $domain byname"


Now I've to generate the amavis-transport:

amavis:
driver = pipe
command = "/usr/local/sbin/amavis -f ${sender_address} \
-d ${pipe_addresses}"
prefix =
suffix =
check_string =
escape_string =
return_path_add = false
user = mailadm
group = mailadm
path ="/bin:/sbin:/usr/bin:/usr/local/bin"
current_directory = "/mailsrv/amavis"

but:   exim works as a relay, no local delivery ...
       This transport has to send the finished emails (after piping:
       original or notifications) to the sendmail-hosts, which are named
       in the router-definition (domains-Option)


How can I define, that after piping to the amavis-Programm, the email(s)
will be delivered over another transport with smtp ...is it really
possible to work so ???

Or: amavis is able to use smtp...Is it nessessary, that the
    amavis-transport uses the own smtp-algorithms ???


???


MfG Margrit Lottmann


+-----------------------------------------------------------------------+
  |                                             phone : +49 391 67  18572 |

  |                            +49 391 67  12819 |

  |              Margrit Lottmann                 fax : +49 391 67  11134 |
  |                                                                       |
  | Otto-von-Guericke-Universitaet Magdeburg                              |
  | Universitaetsrechenzentrum, URZ-N                                     |
  | Universitaetsplatz 2                                                  |
  | D-39106 Magdeburg,  Germany                                           |
  |                                                                       |
  |              Margrit.Lottmann@???                       |

+-----------------------------------------------------------------------+




MfG Margrit Lottmann


+-----------------------------------------------------------------------+
  |                                             phone : +49 391 67  18572 |

  |                            +49 391 67  12819 |

  |              Margrit Lottmann                 fax : +49 391 67  11134 |
  |                                                                       |
  | Otto-von-Guericke-Universitaet Magdeburg                              |
  | Universitaetsrechenzentrum, URZ-N                                     |
  | Universitaetsplatz 2                                                  |
  | D-39106 Magdeburg,  Germany                                           |
  |                                                                       |
  |              Margrit.Lottmann@???                       |

+-----------------------------------------------------------------------+