mailfeeder(1) - Linux man page

Name

mailfeeder - command line mailpack SMTP delivery tool

Syntax

mailfeeder -i <mailpack> -s <sender address> -r <receiver address> [-d <local domain>] [-S <SMTP server>] [-p <SMTP port>] [ -c <connection attempts>] [-v] [--version][--debug][--help]

Description

Mailfeeder is a tool designed to inject a mailpack back into a MTA (mail server, ie, Sendmail, Postfix) using socket calls. Currently it is used in a variety of projects such as Inflex and Xamime to perform post-filtered queue injection or delivery.

Options

-i <mailpack>
Mailpack file required to be sent, use '-' for input from STDIN. The mailpack must be RFC[2]822 compliant content.
-s <sender address>
Sender email address
-r <receiver address(es)>
Receiver email address(es). Multiple addresses can be specified so long as they are separated by either a space ' ' or comma ',' and all the addresses are single-quoted to form one command line parameter (ie, 'r1@domain.com, r2@domain.com')
-d <local domain>
Domain to use when sending the HELO string

during the SMTP conversation

-S <SMTP server>
IP or FQDN of the SMTP server

to connect to

-p <SMTP port>
Port number to connect to on the SMTP server (default is 25)
-c <Connection attempts>
Number of times to attempt to establish a connection to the SMTP server (default is 5)
-v
Turn on verbosity
-x

Show MTA/MUA converstaion

--version
Show mailfeeder version
--help
Show mailfeeder help

Files

None

Environment Variables

None

Examples

To send a mailpack to the localhost on port 25:

mailfeeder -i mailpack -s sender@domain.com -r receiver@thisdomain.com -S localhost

To send a mailpack to the localhost on port 10025 with 10 connection attempts:

mailfeeder -i mailpack -s sender@domain.com -r receiver@thisdomain.com -S localhost -c 10 -p 10025

To send a mailpack to 192.168.1.2 on port 25, to multiple recipients:

mailfeeder -i mailpack -s sender@domain.com -r 'r1@domain.com, r2@domain.com, r3@domain.com' -S 192.168.1.2

Authors

Paul L Daniels
http://www.pldaniels.com/mailfeeder
http://www.xamime.com

See Also

ripmime(1)