exim4:test_exim4
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
exim4:test_exim4 [2016/11/07 14:59] – created peter | exim4:test_exim4 [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 16: | Line 16: | ||
<code bash> | <code bash> | ||
exim -bt <local username> | exim -bt <local username> | ||
+ | </ | ||
+ | |||
+ | Result | ||
+ | |||
+ | < | ||
+ | john@example.com | ||
+ | router = dovecot_user, | ||
</ | </ | ||
Line 24: | Line 31: | ||
exim -bt <remote address> | exim -bt <remote address> | ||
</ | </ | ||
+ | |||
+ | Result | ||
+ | |||
+ | < | ||
+ | R: dnslookup for mail@example.com | ||
+ | mail@example.com | ||
+ | router = dnslookup, transport = remote_smtp | ||
+ | host mx00.example.com [123.123.11.12] MX=10 | ||
+ | host mx01.example.com [123.123.11.13] MX=10 | ||
+ | </ | ||
+ | |||
Then try getting it to deliver mail, both locally and remotely. | Then try getting it to deliver mail, both locally and remotely. | ||
<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 | ||
Line 54: | Line 72: | ||
</ | </ | ||
- | 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. | + | 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. |
- | 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 " | + | 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 " |
One thing that cannot be tested on a system that is already running an MTA is the receipt of incoming SMTP mail on the standard SMTP port. However, the -oX option can be used to run an Exim daemon that listens on some other port, or inetd can be used to do this. The -bh option and the exim_checkaccess utility can be used to check out policy controls on incoming SMTP mail. | One thing that cannot be tested on a system that is already running an MTA is the receipt of incoming SMTP mail on the standard SMTP port. However, the -oX option can be used to run an Exim daemon that listens on some other port, or inetd can be used to do this. The -bh option and the exim_checkaccess utility can be used to check out policy controls on incoming SMTP mail. | ||
Line 62: | Line 80: | ||
Testing a new version on a system that is already running Exim can most easily be done by building a binary with a different CONFIGURE_FILE setting. From within the run time configuration, | Testing a new version on a system that is already running Exim can most easily be done by building a binary with a different CONFIGURE_FILE setting. From within the run time configuration, | ||
+ | ===== References ===== | ||
+ | |||
+ | http:// | ||
+ | |||
+ | http:// |
exim4/test_exim4.1478530762.txt.gz · Last modified: 2020/07/15 09:30 (external edit)