Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision |
exim4:test_exim4 [2016/11/07 22:30] – peter | exim4:test_exim4 [2020/07/15 09:30] (current) – external edit 127.0.0.1 |
---|
| |
<code bash> | <code bash> |
exim -v postmaster@your.domain.example | exim -v postmaster@example.com |
From: user@your.domain.example | From: user@example.com |
To: postmaster@your.domain.example | To: postmaster@example.com |
Subject: Testing Exim | Subject: Testing Exim |
| |
</code> | </code> |
| |
You must be root or an "admin user" in order to do this. The -d option produces rather a lot of output, but you can cut this down to specific areas. For example, if you use -d-all+route only the debugging information relevant to routing is included. (See the -d option in chapter 5 for more details.) | You must be root or an "admin user" in order to do this. The **-d** option produces rather a lot of output, but you can cut this down to specific areas. For example, if you use -d-all+route only the debugging information relevant to routing is included. (See the -d option in chapter 5 for more details.) |
| |
One specific problem that has shown up on some sites is the inability to do local deliveries into a shared mailbox directory, because it does not have the "sticky bit" set on it. By default, Exim tries to create a lock file before writing to a mailbox file, and if it cannot create the lock file, the delivery is deferred. You can get round this either by setting the "sticky bit" on the directory, or by setting a specific group for local deliveries and allowing that group to create files in the directory (see the comments above the local_delivery transport in the default configuration file). Another approach is to configure Exim not to use lock files, but just to rely on fcntl() locking instead. However, you should do this only if all user agents also use fcntl() locking. For further discussion of locking issues, see [[http://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_appendfile_transport.html|chapter 26]]. | One specific problem that has shown up on some sites is the inability to do local deliveries into a shared mailbox directory, because it does not have the "sticky bit" set on it. By default, Exim tries to create a lock file before writing to a mailbox file, and if it cannot create the lock file, the delivery is deferred. You can get round this either by setting the "sticky bit" on the directory, or by setting a specific group for local deliveries and allowing that group to create files in the directory (see the comments above the local_delivery transport in the default configuration file). Another approach is to configure Exim not to use lock files, but just to rely on fcntl() locking instead. However, you should do this only if all user agents also use fcntl() locking. For further discussion of locking issues, see [[http://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_appendfile_transport.html|chapter 26]]. |