X-Git-Url: https://git.exim.org/exim-website.git/blobdiff_plain/4bec300304fbfa4a6881b15145437ddaef530acd..61198c924e5459041574b720ed148a05315685e2:/FAQ.html diff --git a/FAQ.html b/FAQ.html index d107171..b9aca2d 100644 --- a/FAQ.html +++ b/FAQ.html @@ -40,24 +40,26 @@ The FAQ is divided into the following sections: Performance, Policy controls, Majordomo, -Rewriting, +Rewriting addresses, Headers, Fetchmail, Perl, Dial-up, -Millennium, -Miscellaneous, -HP-UX, -BSDI, -IRIX, -Linux, -Sun systems, -Cookbook, and -List of sample configurations. +Modifying message bodies, +Millennium, +Miscellaneous, +HP-UX, +BSDI, +IRIX, +Linux, +Sun systems, +Cookbook, and +List of sample configurations.

Philip Hazel <ph10@cus.cam.ac.uk>
-Last updated: 15-December-1999 - +Last update: 13-June-2000 (addition of section 15)
+Last general update: 15-December-1999
+



0. DEBUGGING @@ -516,7 +518,7 @@ Last updated: 15-December-1999 when it is passed a message from Exim. -10. REWRITING +10. REWRITING ADDRESSES -20. MILLENNIUM +15. MODIFYING MESSAGE BODIES + + +20. MILLENNIUM -50. MISCELLANEOUS +50. MISCELLANEOUS -93. HP-UX +93. HP-UX -94. BSDI +94. BSDI -95. IRIX +95. IRIX -96. LINUX +96. LINUX -97. SUN SYSTEMS +97. SUN SYSTEMS -98. COOKBOOK +98. COOKBOOK -99. LIST OF SAMPLE CONFIGURATIONS +99. LIST OF SAMPLE CONFIGURATIONS

0. DEBUGGING @@ -1415,7 +1423,7 @@ A0033: If your alias entry looks like this:

A0034: See - Q9606. + Q9606.

Q0035: What does the error "Spool file is locked" mean? @@ -1666,7 +1674,7 @@ A0201: Your configuration specifies that local mailboxes are all held in

A0202: See - A9705 in the Sun-specific section below. + A9705 in the Sun-specific section below.


3. ROUTING @@ -2345,7 +2353,7 @@ A0404: You can use the condition option on a director or router, with a

A0405: You can do it either way. If you use a single file, you must set - include_domains on the aliasfile director. If you use a separate file + include_domain on the aliasfile director. If you use a separate file for each domain you can use a single director with an option such as

@@ -3423,7 +3431,7 @@ A0516: This is unlikely in current versions of Exim, because more logging possibility, prior to version 2.053, was that the message was injected using the -t option, but all the addresses in the message were also on the command line. See -
A5020 for more detail. Current versions of Exim + A5020 for more detail. Current versions of Exim generate a bounce message in this case.

@@ -4959,7 +4967,7 @@ A0904: A problem like this turned out to be the Perl version that came with RedHat 5.2. Rebuilding Perl 5.005x solved it.

-

10. REWRITING +

10. REWRITING ADDRESSES

Q1001: How can I get Exim to strip the hostname from the sender's address? @@ -5290,7 +5298,7 @@ A1203: It will check 127.0.0.1 (not very useful). The point of the RBL is to

A1301: If you are using BSDI, see - Q9401. + Q9401.

Q1302: Exim built with Perl support exits with several error messages of the @@ -5374,7 +5382,7 @@ A1403: Exim isn't really designed for this, but... The lowest-numbered MX the mail for the dial-in hosts into some local files which then get transmitted by other software when the host connects. See the manual chapter entitled "Intermittently connected hosts" and also - Q5014 and + Q5014 and Q0521. @@ -5404,10 +5412,129 @@ A1404: (A) Instead of queue_remote_domains or queue_smtp_domains -

20. MILLENNIUM +

15. MODIFYING MESSAGE BODIES + +

+Q1501: How can I add a disclaimer or an advertisement to a message? + + +

+A1501: There are a number of technical and potential legal problems that arise + in connection with message modification. Some of them are listed below. + If, despite these considerations, you still want to modify messages, you + can do so using Exim, but not directly in Exim itself. It is not the job + of an MTA to modify messages, something that requires understanding of + their content and format. + +

+

+ Exim provides a hook in the form of a "transport filter" that lets you + pass any outgoing message through a program or script of your choice. It + is the job of this script to make any changes to the message that you + require. By this means, you have full control over what changes are + made, and Exim does not need to know anything about message bodies. + However, using a transport filter requires additional resources, and may + slow down mail delivery. + +

+

+ You can use Exim's directors and routers to arrange for those messages + that you want to modify to be delivered via a transport filter. For + example, suppose you want to do this for messages from addresses in + your domain that are being delivered to a remote host. Place the + following router before the standard lookuphost router: + +

+
+         filter_remote:
+           driver = lookuphost
+           transport = remote_smtp_filter
+           condition = ${if eq {$sender_address_domain}{your.domain}{yes}{no}}
+

+ This routes the relevant addresses to a transport called + remote_smtp_filter. Other addresses fall through to the normal router, + and are routed to the standard remote_smtp transport. Another way to do + this would be to use a single router, with an expanded string for the + transport setting. The new transport is defined thus: + +

+
+         remote_smtp_filter:
+           driver = smtp
+           transport_filter = /your/filter/command
+

+ The entire message is passed to your filter command on its standard + input. It must write the modified version to the standard output, taking + care not to break the RFC 822 syntax. The command is run as the Exim + user, if one is defined; otherwise it is run as root. + +

+

+ There are a number of potential problems in doing this kind of + modification in an MTA. Many people believe that to attempt is it wrong, + because: + +

+

+ 1. It breaks digital signatures, which are becoming legally binding + in some countries (already in the UK, likely to be 1 October 2000 in + the USA). + +

+

+ 2. It is likely to break MIME encoding, that is, it is likely to wreck + attachments, unless great care is taken. + +

+

+ 3. It is illegal under German and Dutch law to change the body of + a mail message in transit. It might potentially be illegal in + the UK under European law. This consideration applies to ISPs and + other "common carriers". It would presumably not apply in a corporate + environment where modification was done only to messages originating + from the employees, before they left the company's network. It might + also not apply if the senders have explicitly given their consent + (e.g. agreed to have advertisements added to their incoming mail). + +

+

+ 4. Since the delivered message body was produced by the MTA (not the + originator, because it was modified), the MTA operator could + potentially be sued for any content. This again applies to "common + carrier" MTAs. It's interesting that adding a disclaimer of liability + could be making you liable for the message, but this case seems + more likely to involve adding advertisements than disclaimers. After + all, no postal service in the world opens all the mail it carries to + add disclaimers. + +

+

+ 5. Some mail clients (old versions of MS outlook) crash if the message + body of an incoming MIME message has been tampered with. + +

+

+ An alternative approach to the disclaimer problem would be to insist + that all relevant messages have the disclaimer appended by the MUA. The + MTA should refuse to accept any that do not. Again, however, the MTA + must understand the format of messages in order to do this. Simply + checking for appropriate wording at the end of the body is not good + enough. It would probably be necessary to run a Perl script from within + an Exim system filter in order to adopt this approach. + +

+Q1502: How can I remove attachments from messages? + + +

+A1502: The answer to this is essentially the same as for + Q1501. + +

+

20. MILLENNIUM

-Q2000: Are there any Y2K issues with Exim? +Q2000: Are there any Y2K issues with Exim?

@@ -5421,10 +5548,10 @@ A2000: The author of Exim believes that it is Y2K-compliant, as long as the been done are not available.

-

50. MISCELLANEOUS +

50. MISCELLANEOUS

-Q5001: What does the error "Unable to get interface configuration: 22 Invalid +Q5001: What does the error "Unable to get interface configuration: 22 Invalid argument" mean? @@ -5437,7 +5564,7 @@ A5001: This is an error that occurs when Exim is trying to find out the all the connections.

-Q5002: How can I arrange to allow a limited set of users to perform a limited +Q5002: How can I arrange to allow a limited set of users to perform a limited set of Exim administration functions? I don't want to put them all in the exim group. @@ -5452,7 +5579,7 @@ A5002: See http://ww `unparsing' properly in shell or Perl it will be secure.

-
Q5003: How can I test for a message's size being greater or less than a given +Q5003: How can I test for a message's size being greater or less than a given value in an expansion string? @@ -5472,7 +5599,7 @@ A5003: This isn't straightforward in versions of Exim prior to 2.10, because

        ${if eq{${expand:\$\{substr_-1000000_$message_size:x\}}} {} {yes} {no}}
-Q5004: I want to "tail" the Exim log, but I have a number of other logs I also +Q5004: 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. @@ -5483,14 +5610,14 @@ A5004: Look for a program called 'xtail' (despite its name, it's not an entire directories.

-Q5005: I would like to have Exim log information written to syslog. +Q5005: I would like to have Exim log information written to syslog.

A5005: Support for this is available from version 3.10 onwards.

-Q5006: What does the error "Failed to create spool file" mean? +Q5006: What does the error "Failed to create spool file" mean?

@@ -5526,7 +5653,7 @@ A5006: Exim has been unable to create a file in its spool area in which to permission must be "s" rather than "x".

-Q5007: Exim keeps crashing with segmentation errors (signal 11 or 139). +Q5007: Exim keeps crashing with segmentation errors (signal 11 or 139).

@@ -5534,7 +5661,7 @@ A5007: This might be a problem with the db library. See Q0505.

-Q5008: Exim's databases keep getting corrupted. +Q5008: Exim's databases keep getting corrupted.

@@ -5542,7 +5669,7 @@ A5008: See Q0505.

-Q5009: I've been using an autoreply director to try and mimic a bounce message, +Q5009: I've been using an autoreply director to try and mimic a bounce message, but I can't get it to have an envelope from of <>. @@ -5551,7 +5678,7 @@ A5009: You haven't, by any chance, put "exim" in the list of never_users -Q5010: I see entries in the log that mention two different IP addresses for the +Q5010: I see entries in the log that mention two different IP addresses for the same connection. Why is this? For example: @@ -5571,7 +5698,7 @@ A5010: The actual IP address from which the call came is the final one. misleading.

-Q5011: How can I persuade Exim to accept ETRN commands without the leading +Q5011: How can I persuade Exim to accept ETRN commands without the leading # character? @@ -5614,7 +5741,7 @@ A5011: Set the option serialization lock (which is set by default) never gets removed.

-Q5012: I've recently noticed that emails I send with a Bcc: line are being +Q5012: I've recently noticed that emails I send with a Bcc: line are being delivered to their final destination with the Bcc: line still present. @@ -5643,7 +5770,7 @@ A5012: Exim removes Bcc lines only if you call it with the -t option (i.e Bcc; any MTA software has to leave it alone.

-Q5013: I used gv v3.5.8 (ghostview) to try printing spec.ps. After every +Q5013: I used gv v3.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? @@ -5666,7 +5793,7 @@ A5013: This seems to be an effect of using ghostview. Although the PostScript ghostview.

-Q5014: I would like to have a separate queue per domain for hosts which dial +Q5014: I would like to have a separate queue per domain for hosts which dial in to collect their mail. @@ -5695,7 +5822,7 @@ A5014: Exim isn't really designed for this kind of operation. The only way to Q0521.

-Q5015: A short time after I start Exim I see a <defunct> process. What is +Q5015: A short time after I start Exim I see a <defunct> process. What is causing this? @@ -5708,7 +5835,7 @@ A5015: Your system must be lightly loaded as far as mail is concerned. The perfectly normal.

-Q5016: On a reboot, or a restart of the mail system, I see the message "Mailer +Q5016: On a reboot, or a restart of the mail system, I see the message "Mailer daemons: exim abandoned: unknown, malformed, or incomplete option -bz sendmail". What does this mean? @@ -5731,16 +5858,16 @@ A5016: -bz is a Sendmail option requesting it to create a "configuration The first of these lines should be commented out.

-Q5017: I would like to restrict e-mail usage for some users to the local +Q5017: I would like to restrict e-mail usage for some users to the local machine, ideally on a group basis.

A5017: See - A9802 + A9802

-Q5018: Whenever exim restarts it takes up to 3-5 minutes to start responding on +Q5018: Whenever exim restarts it takes up to 3-5 minutes to start responding on the SMTP port. Why is this? @@ -5750,7 +5877,7 @@ A5018: Something else is hanging onto port 25 and not releasing it. One place configured there.

-Q5019: Why aren't there any man pages for Exim? I don't always carry my printed +Q5019: Why aren't there any man pages for Exim? I don't always carry my printed documentation. @@ -5784,7 +5911,7 @@ A5019: As well as plain ASCII text, the Exim documentation is provided in two This contains some introductory text and the command line options only.

-Q5020: When I send a message using the -t command line option, Exim sends only +Q5020: When I send a message using the -t command line option, Exim sends only to the addresses within the message, not to those on the command line. @@ -5820,7 +5947,7 @@ A5020: By default Exim operates according to the Sendmail documentation, and the ambiguity differently.

-Q5021: If I set up, for example, +Q5021: If I set up, for example, local_domains = *customer.com, then it matches "customer.com" and "abc.customer.com" as required, but it also matches "noncustomer.com", which is wrong. How can I get round this? @@ -5863,7 +5990,7 @@ A5021: (A) You have to specify two entries in the list: the same as when it appears directly in a domain list.

-Q5022: I want to match all local domains of the form *.oyoy.org but want a few +Q5022: I want to match all local domains of the form *.oyoy.org but want a few exceptions. For instance I don't want foo.oyoy.org or bar.oyoy.org to be treated as local. What is the best way to do this? @@ -5906,7 +6033,7 @@ A5022: (A) From release 3.00 onwards, you can put negative items in the upgrading!

-Q5023: I can't seem to find a pre-built version of Exim anywhere. The machine +Q5023: I can't seem to find a pre-built version of Exim anywhere. The machine is a Sparc 5 running Solaris 2.6. @@ -5942,7 +6069,7 @@ A5023: The problem is that there are a number of build-time options, requiring would probably please nobody.

-Q5024: Is there a Windows NT version of Exim available? +Q5024: Is there a Windows NT version of Exim available?

@@ -5950,7 +6077,7 @@ A5024: A long time ago somebody took a copy of the Exim source with the aim of trying to port it to NT. However, I never heard anything more.

-Q5025: Does Exim support Delivery Status Notificaion (DSN), Message Status +Q5025: Does Exim support Delivery Status Notificaion (DSN), Message Status Notification (MSN), or any other form of delivery acknowledgement? @@ -5959,7 +6086,7 @@ A5025: See A0517.

-Q5026: What does "Exim" stand for? +Q5026: What does "Exim" stand for?

@@ -5970,7 +6097,7 @@ A5026: Originally, it was "EXperimental Internet Mailer", which was the best I to start using it, and told other people about it...

-Q5027: What does the log message "no immediate delivery: more than 10 messages +Q5027: What does the log message "no immediate delivery: more than 10 messages received in one connection" mean? @@ -5979,7 +6106,7 @@ A5027: See A0518.

-Q5028: Although I haven't set check_spool_space, Exim is still checking the +Q5028: Although I haven't set check_spool_space, Exim is still checking the amount of space on the spool for incoming SMTP messages that use the SIZE option. Can I suppress this? @@ -6004,7 +6131,7 @@ A5028: The RFC for the SIZE option says smtp_check_spool_space.

-Q5029: I just noticed log entries that start off "<= <>". Am I correct in +Q5029: 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? @@ -6041,7 +6168,7 @@ A5029: Yes. This indicates a delivery failure report (aka "bounce message"). uses them when sending out warnings about delivery delays.

-Q5030: I've received a message which does not have my address in the To: +Q5030: I've received a message which does not have my address in the To: line. It is a spam message with the same address in both the From: and the To: headers. How can this happen, and why doesn't Exim reject it? @@ -6069,7 +6196,7 @@ A5030: There is an important distinction between the "envelope" from and to and messages forwarded from mailing lists and delivery failure reports.

-Q5031: Can (or will) Exim ever handle a message delivery purely in memory, +Q5031: Can (or will) Exim ever handle a message delivery purely in memory, that is, it is handled without it ever hitting the disc? @@ -6079,7 +6206,7 @@ A5031: It doesn't, and never will. Accepting and delivering a message are two writing/reading the message on the disc.

-Q5032: If I am using dbm files for data that Exim reads, can I rebuild them +Q5032: If I am using dbm files for data that Exim reads, can I rebuild them on the fly, or do I need to restart Exim every time I make a change? @@ -6092,7 +6219,7 @@ A5032: Exim re-reads the file every time it consults it, so if you are using a inconsistent. On lightly loaded systems this may not matter.

-Q5033: What are the main differences between using an Exim filter and using +Q5033: What are the main differences between using an Exim filter and using procmail? @@ -6121,7 +6248,7 @@ A5033: Exim filters and procmail provide different facilities. Exim filters run both.

-Q5034: I need an option that is the opposite of -bpa, that is, a listing of +Q5034: I need an option that is the opposite of -bpa, that is, a listing of those addresses generated from a top-level address that have not yet been delivered. @@ -6140,7 +6267,7 @@ A5034: Exim does not keep this information. It saves only the top-level are pipes, files, or autoreplies.

-Q5035: I am getting complaints from a customer who uses my EXIM server for +Q5035: I am getting complaints from a customer who uses my EXIM server for relaying that they are being blocked with a "Too many connections" error. @@ -6149,7 +6276,7 @@ A5034: Exim does not keep this information. It saves only the top-level A5035: See smtp_accept_max and related options such as smtp_accept_reserve.

-Q5036: When I try "exim -bf" to test a system filter, I received the following +Q5036: When I try "exim -bf" to test a system filter, I received the following error message: "Filter error: unavailable filtering command "fail" near line 8 of filter file". @@ -6159,7 +6286,7 @@ A5036: Use the -bF option to test system filters. This gives you access t freeze and fail actions.

-Q5037: How can I make Exim receive incoming mail, queue it, but NOT attempt to +Q5037: How can I make Exim receive incoming mail, queue it, but NOT attempt to deliver it? I want to be in this state while moving some mailboxes. @@ -6183,7 +6310,7 @@ A5037: (1) Set queue_only in the Exim configuration. (2) Kill off your was not available for use in smartuser.

-Q5038: What does the rejection message "reject all recipients: 3 times bad +Q5038: What does the rejection message "reject all recipients: 3 times bad sender" mean? @@ -6193,7 +6320,7 @@ A5038: See the section of the manual entitled "Sender verification". Exim has 24 hours.

-Q5039: The menu in Eximon isn't working. It displays, but I can't select +Q5039: The menu in Eximon isn't working. It displays, but I can't select anything from it. @@ -6206,7 +6333,7 @@ A5039: On some X implementations, if the numlock key is pressed (so that the encountered.

-Q5040: What does "ridiculously long message header" in an error report mean? +Q5040: What does "ridiculously long message header" in an error report mean?

@@ -6228,7 +6355,7 @@ A5040: There has to be some limit to the length of a message's header lines, on individual header lines; only the total matters.

-Q5041: What does Exim use for POP as a default? Do I have to install anything +Q5041: What does Exim use for POP as a default? Do I have to install anything else? @@ -6238,10 +6365,10 @@ A5041: Yes. Exim provides MTA functionality. That is, it delivers mail. POP is provide that functionality.

-

93. HP-UX +

93. HP-UX

-Q9301: I'm trying to compile on an HP machine and I don't have gcc there. So I +Q9301: I'm trying to compile on an HP machine and I don't have gcc there. So I put CC=cc in the Local/Makefile, but I got this error: @@ -6273,10 +6400,10 @@ A9301: The bundled compiler is not an ANSI C compiler. You either have to get a HP workstation, that usually isn't a problem."

-

94. BSDI +

94. BSDI

-Q9401: On BSDI 4.0, Exim built with Perl support exits with the error message +Q9401: On BSDI 4.0, Exim built with Perl support exits with the error message "./exim: can't load library 'libperl.so'". @@ -6313,10 +6440,10 @@ A9401: You probably compiled perl5 yourself, without looking into guys did to compile perl5 which comes with BSDI 4.0 distribution.

-

95. IRIX +

95. IRIX

-Q9501: I'm running IRIX 6.2 with a number of alias IP addresses set up, but +Q9501: I'm running IRIX 6.2 with a number of alias IP addresses set up, but Exim doesn't seem to recognize them as local addresses. @@ -6326,7 +6453,7 @@ A9501: This problem was fixed in Exim release 2.03. If you are running an all your IP addresses explicitly.

-Q9502: The IP addresses for incoming calls are all being given as +Q9502: The IP addresses for incoming calls are all being given as 255.255.255.255. @@ -6341,10 +6468,10 @@ A9502: If you used the gcc compiler 2.8.x there is a known bug with the http://freeware.sgi.com, but it is not likely to be the latest release.

-

96. LINUX +

96. LINUX

-Q9601: Exim is mysteriously crashing, usually when forking to send a delivery +Q9601: Exim is mysteriously crashing, usually when forking to send a delivery error message. @@ -6360,7 +6487,7 @@ A9601: This has been seen in cases where Exim has been incorrectly built with process stops with signal 11, your hardware is to blame.

-Q9602: Exim has created a directory called build-Linux-libc5-i386 but is +Q9602: Exim has created a directory called build-Linux-libc5-i386 but is trying to reference build-Linux-libc5-i386-linux while building. @@ -6378,7 +6505,7 @@ A9602: You have several shells installed, which are setting conflicting values preferentially.

-Q9603: I want to use logrotate which is standard with RH5.2 Linux to rotate +Q9603: I want to use logrotate which is standard with RH5.2 Linux to rotate my mail logs. Anyone worked out the logrotate config file that will do this? @@ -6400,7 +6527,7 @@ A9603: Here's one suggestion: reject log, of course.

-Q9604: I'm seeing the message "inetd[334]: imap/tcp server failing (looping), +Q9604: I'm seeing the message "inetd[334]: imap/tcp server failing (looping), service terminated" on a RedHat 5.2 system, causing imap connections to be refused. The imapd in use is Washington Uni vers 12.250. Could this be anything to do with Exim? @@ -6424,7 +6551,7 @@ A9604: No, it's nothing to do with Exim, but here's the answer anyway: there provide similar functionality, but in different ways.

-Q9605: I get the "too many open files" error especially when a lot of messages +Q9605: I get the "too many open files" error especially when a lot of messages land for majordomo at the same time. @@ -6451,7 +6578,7 @@ A9605: The problem appears to be the number of open files the system can you actually change the kernel parameters.

-Q9606: I'm having a problem with an Exim RPM. +Q9606: I'm having a problem with an Exim RPM.

@@ -6496,10 +6623,10 @@ A9606: Normally the thing to do if you have a problem with an RPM package is debs, tarballs, and POSIX packages.

-

97. SUN SYSTEMS +

97. SUN SYSTEMS

-Q9701: Exim builds fine with gcc on SunOS 4 but crashes inside sscanf(). +Q9701: Exim builds fine with gcc on SunOS 4 but crashes inside sscanf().

@@ -6507,7 +6634,7 @@ A9701: Make sure you are liking with the GNU ld linker and not the system version of ld.

-Q9702: How can I get rid of spurious ^M characters in messages sent from +Q9702: How can I get rid of spurious ^M characters in messages sent from CDE dtmail? @@ -6525,7 +6652,7 @@ A9702: CDE dtmail passes messages to Exim via the command line interface before passing it to Exim.

-Q9703: On SunOS 4 Exim crashes when looking up domains in the DNS that have +Q9703: On SunOS 4 Exim crashes when looking up domains in the DNS that have more than 10 A records. @@ -6542,7 +6669,7 @@ A9703: There are Sun library patches to fix this. It is not Exim's problem. those.

-Q9704: The menu in Eximon isn't working on my Sun system. +Q9704: The menu in Eximon isn't working on my Sun system.

@@ -6553,7 +6680,7 @@ A9704: With OpenWindows, if the numlock key is pressed (so that the numeric be encountered.

-Q9705: I am experiencing mailbox locking problems with Sun's mailtool used +Q9705: I am experiencing mailbox locking problems with Sun's mailtool used over a network. @@ -6580,7 +6707,7 @@ A9705: Under the "Expert" settings of mailtool is a option to turn on "Use to hit the "done" button to make it release the lock.

-Q9706: Exim has been crashing on my Solaris x86 system, apparently while +Q9706: Exim has been crashing on my Solaris x86 system, apparently while running DBM functions. @@ -6590,7 +6717,7 @@ A9706: The use of ndbm with gcc has caused problems on x86 Solaris systems. WS compiler with ndbm, has fixed this in the past.

-Q9707: The exiwhat utility isn't working for me on a Solaris 2 system. +Q9707: The exiwhat utility isn't working for me on a Solaris 2 system.

@@ -6599,7 +6726,7 @@ A9707: Have you got /usr/ucb on your path? If so, it is probably picking Solaris to expect the normal Solaris version of ps.

-Q9708: How do I stop Sun's dtcm from hanging? +Q9708: How do I stop Sun's dtcm from hanging?

@@ -6608,7 +6735,7 @@ A9708: From qmail's FAQ: "There is a novice programming error in dtcm, kn at the time of this writing, not yet provided a patch."

-Q9709: I want Exim to use only the resolver (i.e. ignore /etc/hosts), but don't +Q9709: I want Exim to use only the resolver (i.e. ignore /etc/hosts), but don't want to alter the nsswitch.conf file in Solaris 2. @@ -6634,10 +6761,10 @@ A9709: You need to rebuild Exim after fiddling with OS/os.h-SunOS5: that Exim uses.

-

98. COOKBOOK +

98. COOKBOOK

-Q9801: How do I configure Exim as part of TPC (http://www.tpc.int)? +Q9801: How do I configure Exim as part of TPC (http://www.tpc.int)?

@@ -6681,7 +6808,7 @@ A9801: (1) add partial-lsearch;/etc/mail/tpc.domains to local_domains a functioning TPC server.

-Q9802: How do I configure Exim so that it sends mail to the outside world only +Q9802: How do I configure Exim so that it sends mail to the outside world only from a restricted list of our local users? @@ -6774,7 +6901,7 @@ A9802: There are several possible ways that this can be done. part of user@your.domain.

-Q9803: How do I configure Exim to run with SmartList? +Q9803: How do I configure Exim to run with SmartList?

@@ -6838,21 +6965,21 @@ A9803: This is what was done for Exim's own mailing list, using SmartList/ and was written by Michelle Dick.

-Q9804: How do I configure Exim to minic PP's "tripnote" facility? +Q9804: How do I configure Exim to minic PP's "tripnote" facility?

A9804: See C005.

-Q9805: How do I configure Exim to handle local parts with extensions? +Q9805: How do I configure Exim to handle local parts with extensions?

A9805: See C010.

-Q9806: How do I configure Exim so that only a restricted list of users can +Q9806: How do I configure Exim so that only a restricted list of users can receive mail from external domains? @@ -6860,7 +6987,7 @@ A9805: See C010. A9806: See C013.

-Q9807: I have someuser@mydomain.com that I only want certain users to be able +Q9807: I have someuser@mydomain.com that I only want certain users to be able to mail to. How do I accomplish this? @@ -6893,7 +7020,7 @@ A9807: This is a transport: file as complete addresses, including a domain.

-Q9808: A site for which I provide secondary MX is down for some time. Is there +Q9808: A site for which I provide secondary MX is down for some time. Is there a way to run the queue for that destination separately from the main queue? @@ -6907,14 +7034,14 @@ A9808: No, because Exim does not have the concept of "the queue for that BSMTP files. There is an example of the latter approach in C014.

-Q9809: How do I implement VERP (Variable Envelope Return Paths) in Exim? +Q9809: How do I implement VERP (Variable Envelope Return Paths) in Exim?

A9809: See C017.

-Q9810: I'd like to make a copy of all outgoing messages to a local mailbox. Is +Q9810: I'd like to make a copy of all outgoing messages to a local mailbox. Is there a solution for this using an Exim filter? @@ -6959,10 +7086,10 @@ A9810: The following filter makes a copy of every message, except for delivery This takes copies of messages whose From: header contains your.domain and whose To: and Cc: headers contain at least one address that does not contain your.domain. See also - Q9817. + Q9817.

-Q9811: I want to make a copy of outgoing messages to a specific file for each +Q9811: I want to make a copy of outgoing messages to a specific file for each user in a specific directory, using a "save" command in a system filter. How can I arrange for Exim to write to these files under the correct UID/GID? @@ -6992,7 +7119,7 @@ A9811: You need to set up a special transport and tell Exim to use it for use user=exim and do all the writing under the same UID/GID.

-Q9812: How can I keep an archive of all mail for some specific local email +Q9812: How can I keep an archive of all mail for some specific local email addresses? @@ -7012,10 +7139,10 @@ A9812: You could use a system filter, along the lines of this, you will need to set message_filter_file_transport to point to an appropriate transport which includes a setting of "user" to specify which uid to run the saving under, as is described in - Q9811. + Q9811.

-Q9813: How can I configure Exim to provide a vacation message when there are +Q9813: How can I configure Exim to provide a vacation message when there are no local users on my mail hub? @@ -7023,7 +7150,7 @@ A9812: You could use a system filter, along the lines of A9813: See C019.

-Q9814: We want to be able to temporarily lock out a user by disabling the +Q9814: We want to be able to temporarily lock out a user by disabling the password and moving the home directory to another place. How can we arrange to reject mail for users in this state? @@ -7071,7 +7198,7 @@ A9814: Change the home directory pointer in the passwd file to something instead of setting match_directory.

-Q9815: I need an alias, say "fakeaddress" that should receive a message, +Q9815: I need an alias, say "fakeaddress" that should receive a message, strip all reply-to: headers present, substitute another one pointing to "otheraddress" and forward a message to "realaddress". @@ -7094,20 +7221,20 @@ A9815: Add this director: the fixed values shown above.

-Q9816: How can I set up Exim to work with Listar? +Q9816: How can I set up Exim to work with Listar?

A9816: See http://www.cs.huji.ac.il/~vadik/listar-exim/.

-Q9817: I need to take copies of all incoming and outgoing mail for certain +Q9817: I need to take copies of all incoming and outgoing mail for certain users. For each user there may be a different monitoring address.

A9817: You can adapt the filter solution given in - Q9810 by adding a test for + Q9810 by adding a test for the relevant local parts. Create a file containing lines like this:

@@ -7136,7 +7263,7 @@ A9817: You can adapt the filter solution given in because Exim caches the results of successful lookups.

-Q9818: How can I add a disclaimer to the end of every message? +Q9818: How can I add a disclaimer to the end of every message?

@@ -7149,16 +7276,16 @@ A9818: This isn't as easy as it appears. You cannot just add text to the bottom their .sig files).

-Q9819: I would like to append a simple advertisement text to all outgoing +Q9819: I would like to append a simple advertisement text to all outgoing and local mails.

A9819: See - Q9818. + Q9818.

-Q9820: How can I configure Exim so that all mails adressed to +Q9820: How can I configure Exim so that all mails adressed to something@username.domain.net get delivered to /var/spool/mail/username? @@ -7187,7 +7314,7 @@ A9820: There are several possibilities, depending on exactly how you are set This should be the first director.

-Q9821: How do I get exim not to add a Sender: header to locally originated +Q9821: How do I get exim not to add a Sender: header to locally originated mail? @@ -7221,15 +7348,15 @@ A9821: It only adds it if the From: header doesn't correspond to the user Q0603.

-Q9822: How can I get Exim to work with mailman? +Q9822: How can I get Exim to work with mailman?

A9822: The Exim mailing list uses the configuration that is given in the "how - to" information at http://www.exim.org/howto/mailman.html. + to" information at http://www.exim.org/howto/mailman.html.

-Q9823: Is there any way to have messages sent to a specific local address +Q9823: Is there any way to have messages sent to a specific local address delayed by - say - 24 hours? @@ -7250,7 +7377,7 @@ A9823: Using Exim 3.10 or later, the answer is "yes". Set up a smartuser the address. You may want to set a special retry rule for it.

-

99. LIST OF SAMPLE CONFIGURATIONS +

99. LIST OF SAMPLE CONFIGURATIONS

@@ -7260,125 +7387,125 @@ with names of the form Fnnn are filter file fragments.

-C001: "This config will support delivery across multiple systems using NIS to +C001: "This config will support delivery across multiple systems using NIS to look up delivery addresses from the mail.aliases database."

-C002: "Although exim not intended for use in UUCP environment (it doesn't +C002: "Although exim not intended for use in UUCP environment (it doesn't know anything about bang!path addresses), I'm successfully using it for delivering mail to UUCP clients."

-C003: "I've read down through +C003: "I've read down through Q0601 and your request for UUCP examples. Here's how I'm doing it." (This example uses routers.)

-C004: "Here's a BSMTP over UUCP [configuration] - the transport is Taylor/GNU +C004: "Here's a BSMTP over UUCP [configuration] - the transport is Taylor/GNU UUCP - which takes the long option types." (This example uses directors.)

-C005: "I am using a virus scanner program that is invoked by a pipe, scans the +C005: "I am using a virus scanner program that is invoked by a pipe, scans the mail and re-invokes Exim to do the delivery. The pipe is invoking a perl script that tries to unpack and MIME, zip and other archives and then applies the McAfee scanner on the results."

-C006: "This is how I have configured a PP-inspired vacationnote, there is +C006: "This is how I have configured a PP-inspired vacationnote, there is (was?) such a feature in PP. The user makes a file "tripnote" in his/her home directory, the message is passed to the sender once with a short leading text."

-C007: "If I host a domain foo.dom on my machine as a virtual domain I expect +C007: "If I host a domain foo.dom on my machine as a virtual domain I expect it to be completely virtual and separate from other mail domains that end up on my machine."

-C008: "And of course it is possible to do a very interesting solution to +C008: "And of course it is possible to do a very interesting solution to this [virtual domains] using LDAP."

-C009: "These are suggested parts of a configuration for looking up users in +C009: "These are suggested parts of a configuration for looking up users in /etc/passwd.domain rather than in /etc/passwd ..."

-C010: "One of our customers is looking for us to support addresses of the form +C010: "One of our customers is looking for us to support addresses of the form username+extension@domain.com, primarily for use with procmail."

-C011: "Thanks to Philip and others I now have my ISP style config built and +C011: "Thanks to Philip and others I now have my ISP style config built and therefore am posting the final configuration fragments to the list in case anyone else wants to do a similar thing."

-C012: "I've written a small chapter how-to configure Exim for use with UUCP +C012: "I've written a small chapter how-to configure Exim for use with UUCP (mostly condensed from the exim-user mailing list plus some experimenting) and would be glad if it could be included in the Exim documentation."

-C013: "I've take some tips from the FAQ about permitting only certain users +C013: "I've take some tips from the FAQ about permitting only certain users to send to external mail and came up with my own for the receiving part."

-C014: "If I have a situation where a site I MX for has a known outage I stash +C014: "If I have a situation where a site I MX for has a known outage I stash all their mail into a directory in BSMTP format."

-C015: "This approach to virtual domains has helped me a great deal, and is so +C015: "This approach to virtual domains has helped me a great deal, and is so easy to maintain (add and modify as appropriate)."

-C016: "Herewith my configuration." (A complete configuration, including simple +C016: "Herewith my configuration." (A complete configuration, including simple virtual domains, along the lines of C015).

-C017: "I have gotten the new VERP feature of Exim 2.054 working in test, along +C017: "I have gotten the new VERP feature of Exim 2.054 working in test, along with some supporting programs to handle bounces that do come back."

-C018: "This Majordomo configuration removes a lot of the aliases, and +C018: "This Majordomo configuration removes a lot of the aliases, and automates a lot of the other functions based on whether the files or directories exist."

-C019: "The following configuration file entries can be used to provide a +C019: "The following configuration file entries can be used to provide a 'vacation'-style function for a mailhub which has no local users."

-C020: "I was asked for a copy of the programs we were using to mail +C020: "I was asked for a copy of the programs we were using to mail everybody."

-C021: "Here is some sample code that might be useful for handling +C021: "Here is some sample code that might be useful for handling X-Failed-Recipients headers generated by Exim, with mailing lists."

-C022: "This is the Exim configuration file of a machine which delivers mail to +C022: "This is the Exim configuration file of a machine which delivers mail to several local domains where the mail is delivered locally, several hairy domains, handled as described below, and a half-virtual domain, which is first processed by its special alias file, then processed as other local @@ -7386,42 +7513,42 @@ with names of the form Fnnn are filter file fragments.

-C023: A Perl script and instructions for hooking it into Exim in order to +C023: A Perl script and instructions for hooking it into Exim in order to handle disposition-notification-to and return-receipt-to by using a shadow transport to send copies of delivered messages to the script.

-C024: "In case anybody wants to use a MySql database to store aliases this is +C024: "In case anybody wants to use a MySql database to store aliases this is how I managed to get my site working."

-C025: "As promised here is the way I got Exim to delver to Cyrus mailboxes if +C025: "As promised here is the way I got Exim to delver to Cyrus mailboxes if the user exists in the MySql database."

-C026: "The following configuration and program will allow messages going to +C026: "The following configuration and program will allow messages going to AOL only, to be filtered thru a Perl script. This Perl script will convert any URL's to the HTML syntax. In addition, the transport will use VERP to send a unique envelope sender with each message."

-C027: "This is an FYI to demonstrate how to have exim work with SSL using the +C027: "This is an FYI to demonstrate how to have exim work with SSL using the stunnel wrapper and its underlying OpenSSL libraries and toolkit."

-C028: "This Python script reads from stdin and writes to stdout. It strips all +C028: "This Python script reads from stdin and writes to stdout. It strips all the MIME attachments from a mail message that are one of the mime types listed on the command line. Exim can use it in its configuration file, for example, as follows:"

-C029: "The standard way to connect one's MTA to a list manager seems to be to +C029: "The standard way to connect one's MTA to a list manager seems to be to add a set of aliases for every list one creates. Once upon a time, I crufted a set of configs from Smail to work with majordomo, to automaticaly recognize the standard patterns, for all lists in @@ -7430,7 +7557,7 @@ with names of the form Fnnn are filter file fragments.

-C030: "I am currently configuring an exim for a site that will to mail +C030: "I am currently configuring an exim for a site that will to mail hosting for several domains. I want the domain holders to have control over 'their' alias files, being able to create their own aliases. However, I don't want them to have postmaster, abuse and other role @@ -7438,12 +7565,12 @@ with names of the form Fnnn are filter file fragments.

-C031: "These are config file snippets for handling certain remote addresses as +C031: "These are config file snippets for handling certain remote addresses as local, and making only real external addresses visible to users."

-C032: "This is the Exim Nervous Mailbox Quota Suite. It does not impose +C032: "This is the Exim Nervous Mailbox Quota Suite. It does not impose hard quotas on users' mailboxes, but it makes a user nervous by putting all his mail in a secondary mailbox, inaccessible to the user, when he is over his quota. When the user clears his @@ -7453,34 +7580,39 @@ with names of the form Fnnn are filter file fragments.

-C033: "Here's our current automatic vacation recipe". +C033: "Here's our current automatic vacation recipe".

-C034: "This is a HOW-TO for setting up Exim to support SMTP authentication +C034: "This is a HOW-TO for setting up Exim to support SMTP authentication under different environments, including regular password files, PAM and NIS."

-F001: "I thought that the rest of the list may be interested in reviewing our +C035: "These configurations enable exim and hylafax (www.hylafax.org) work + together, I mean sending fax by email (user@123456.fax)." + +

+

+F001: "I thought that the rest of the list may be interested in reviewing our filter as a starting point for their own system message filter."

-F002: "... program which refused mail from unknown addresses until they mailed +F002: "... program which refused mail from unknown addresses until they mailed me promising not to spam me ... since I'd already thought through how to do it in Exim, and knew it'd be slightly easier than falling out of bed, I went ahead and did it."

-F003: "Here's four checks installed in our system wide filter that knock out +F003: "Here's four checks installed in our system wide filter that knock out a lot of otherwise hard to detect rubbish."

-F004: "This is an Exim filter snippet to change locally-generated Message-Id: +F004: "This is an Exim filter snippet to change locally-generated Message-Id: and Resent-Message-Id: headers to world-unique values."