LinuxCommandLibrary

exim

TLDR

Start mail queue processing

$ exim -q
copy
Send test message
$ echo "Test" | exim [user@example.com]
copy
Show mail queue
$ exim -bp
copy
Display queue count
$ exim -bpc
copy
Force delivery of message
$ exim -M [message_id]
copy
Remove message from queue
$ exim -Mrm [message_id]
copy
Test address routing
$ exim -bt [user@example.com]
copy
Check configuration
$ exim -bV
copy

SYNOPSIS

exim [options] [addresses...]

DESCRIPTION

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.

PARAMETERS

-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.

CAVEATS

Complex configuration syntax. Requires careful security setup. Port 25 often blocked by ISPs. Log monitoring essential for production.

HISTORY

Exim was originally written by Philip Hazel at the University of Cambridge starting in 1995. The name stands for "EXperimental Internet Mailer." It became the default MTA for Debian and is widely used on Unix servers.

SEE ALSO

sendmail(1), postfix(1), mailq(1), mutt(1)

Copied to clipboard