← 返回命令列表

Linux command

exim 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start mail queue processing

exim -q

Send test message

echo "Test" | exim [user@example.com]

Show mail queue

exim -bp

Display queue count

exim -bpc

Force delivery of message

exim -M [message_id]

Remove message from queue

exim -Mrm [message_id]

Test address routing

exim -bt [user@example.com]

Check configuration

exim -bV

说明

exim is a Mail Transfer Agent (MTA) that handles sending, receiving, and routing email on Unix systems. It's known for flexibility in configuration and filtering capabilities. The tool supports ACLs, content scanning, TLS encryption, and various authentication mechanisms. It can function as both an incoming and outgoing mail server.

参数

-q _time_
Run queue, optionally repeatedly.
-bp
List messages in queue.
-bpc
Count messages in queue.
-bt _address_
Test address routing.
-bV
Display version and config.
-M _id_
Force delivery of message.
-Mrm _id_
Remove message from queue.
-Mvh _id_
View message headers.
-Mvb _id_
View message body.
-d
Enable debug mode.
-C _file_
Use alternate configuration.

FAQ

What is the exim command used for?

exim is a Mail Transfer Agent (MTA) that handles sending, receiving, and routing email on Unix systems. It's known for flexibility in configuration and filtering capabilities. The tool supports ACLs, content scanning, TLS encryption, and various authentication mechanisms. It can function as both an incoming and outgoing mail server.

How do I run a basic exim example?

Run `exim -q` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -q _time_ do in exim?

Run queue, optionally repeatedly.