-
Notifications
You must be signed in to change notification settings - Fork 179
Q5003
How can I persuade Exim to accept ETRN commands without the leading # character?
Set the option
smtp_etrn_command = /usr/lib/sendmail -R $domain
This causes Exim to run that command, with $domain replaced by the argument of ETRN. The default action of Exim is to require the # sign in order to be RFC-compliant, and to run the equivalent of
smtp_etrn_command = /usr/lib/sendmail -R ${substr_1:$domain}
which uses the argument without the leading # as the value for the -R option. You aren't restricted to running Exim with the -R option, of course. You can specify any command you like, with any number of arguments. In particular, you can pass over the IP address of the caller via $sender_host_address. However, if you make use of expansion strings in the arguments, each one must be entirely contained in a single argument. For example, if you want to remove the first character of the ETRN argument when it is @ or #, you could use
smtp_etrn_command = "/usr/lib/sendmail -R \
\"${if match {$domain}{^[@#]}{${substr_1:$domain}}{$domain}}\""
The internal quotes are necessary because of the white space inside the expansion string.
- How can I arrange to allow a limited set of users to perform a limited
- I want to tail the Exim log, but I have a number of other logs I also want to tail , and the number of tailing windows is getting to be a nuisance.
- How can I persuade Exim to accept ETRN commands without the leading #
- I've recently noticed that emails I send with a Bcc: line are being
- I used gv 3.5.8 (ghostview) to try printing spec.ps. After every printed page, the printer ejects a blank sheet. Is this something to do with using letter > rather than A4 paper?
- Why aren't there any man pages for Exim? I don't always carry my printed
- When I send a message using the -t command line option, Exim sends
- If I set up a domain list to contain *customer.com, it
- I want to match all domains of the form *.oyoy.org but want a few
- I can't seem to find a pre-built version of Exim anywhere. The machine
- Is there a version of Exim available that runs under Windows?
- Does Exim support Delivery Status Notification (DSN), Message Status
- What does Exim > stand for?
- Although I haven't set
check_spool_space
, Exim is still checking the - I just noticed log entries that start off
<= <>
. Am I correct in assuming that the<>
indicates that the envelope did not contain any From > data? - I've received a message which does not have my address in the To:
- Can (or will) Exim ever handle a message delivery purely in memory, that
- If I am using dbm files for data that Exim reads, can I rebuild them on
- I need an option that is the opposite of -bpa, that is, a listing of
- How can I make Exim receive incoming mail, queue it, but not attempt to
- Does Exim support POP and/or IMAP, or do I have to install something
- Is there an easy way of removing all queued messages at once in a safe
- Why does Exim do ident callbacks by default? Isn't this just a waste
- I often have the problem that a message gets stuck in the mail queue and
- What precautions should I take when editing Exim's run time
- Is exim able to use RFC 2645, On-demand Mail Relay (ODMR)?
- Is there any way I can send bounces to the postmaster, and nobody else?
- When I HUP the Exim daemon, the name shown in the process table changes
- A message with a recipient address that contains a non-printing
- I am using exim in a two queues scenario, with two different
- Why is there no sender address on bounce messages? It shows up as
- Are there any Exim web-based administration scripts?
- How can I send a copy of all outgoing messages to another mailbox?
- Is there any way to make the
queue_only
option conditional? I would - Does Exim run with different permissions between -bt and -bh, or
- Can I make Exim stop accepting inbound emails when the queue gets above