| Server IP : 37.9.174.138 / Your IP : 216.73.216.117 Web Server : Apache System : Linux vps6.backend.sk 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64 User : ftpuser ( 1001) PHP Version : 8.4.24 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/doc/exim4-base/examples/ |
Upload File : |
#! /bin/sh # Copyright (c) The Exim Maintainers 2022 # SPDX-License-Identifier: GPL-2.0-or-later # This is a sample script for demonstrating how to handle unknown users in # a more friendly way than just returning a "user unknown" error. It can # be called from a pipe transport set up like this: # unknownuser_pipe: # driver = pipe; # command = "/opt/exim/util/unknownuser.sh", # ignore_status, # return_output, # user = nobody # which is specified by a smartuser director set up like this: # unknownuser: # transport = unknownuser_pipe, # no_verify, # driver = smartuser; # Any output generated by this script is then returned to the sender of # the message. You can run any commands you like at this point, for example, # to attempt fuzzy matches on the local part of the address. Here we just # give a bland message, demonstrating the availability of the variables # $LOCAL_PART and $DOMAIN. cat <<End "$LOCAL_PART" is not a known user mailbox in the domain "$DOMAIN". End