Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

rmail(1) [bsd man page]

RMAIL(1)						      General Commands Manual							  RMAIL(1)

rmail - handle remote mail received via uucp SYNOPSIS
rmail user ... DESCRIPTION
Rmail interprets incoming mail received via uucp(1C), collapsing ``From'' lines in the form generated by binmail(1) into a single line of the form ``return-path!sender'', and passing the processed mail on to sendmail(8). Rmail is explicitly designed for use with uucp and sendmail. SEE ALSO
binmail(1), uucp(1C), sendmail(8) BUGS
Rmail should not reside in /bin. 4.2 Berkeley Distribution April 29, 1985 RMAIL(1)

Check Out this Related Man Page

MAILER.CONF(5)						      BSD File Formats Manual						    MAILER.CONF(5)

mailer.conf -- configuration file for mailwrapper(8) DESCRIPTION
The file /etc/mail/mailer.conf contains a series of lines of the form name program [arguments ...] The first word of each line is the name of a program invoking mailwrapper(8). (For example, on a typical system /usr/sbin/sendmail would be a symbolic link to mailwrapper(8), as would newaliases(1) and mailq(1). Thus, name might be ``sendmail'' or ``newaliases'' etc.) The second word of each line is the name of the program to actually execute when the first name is invoked. The further arguments, if any, are passed to the program, followed by the arguments mailwrapper(8) was called with. The file may also contain comment lines, denoted by a '#' mark in the first column of any line. FILES
/etc/mail/mailer.conf EXAMPLES
This example shows how to set up mailer.conf to invoke the traditional sendmail(8) program: # Execute the "real" sendmail program located in # /usr/libexec/sendmail/sendmail sendmail /usr/libexec/sendmail/sendmail send-mail /usr/libexec/sendmail/sendmail mailq /usr/libexec/sendmail/sendmail newaliases /usr/libexec/sendmail/sendmail This example shows how to invoke a sendmail-workalike like Postfix in place of sendmail(8): # Emulate sendmail using postfix sendmail /usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail This example shows how to invoke a sendmail-workalike with Exim (from ports) in place of sendmail(8): # Emulate sendmail using exim sendmail /usr/local/sbin/exim send-mail /usr/local/sbin/exim mailq /usr/local/sbin/exim -bp newaliases /usr/bin/true rmail /usr/local/sbin/exim -i -oee This example shows the use of the mini_sendmail package from ports in place of sendmail(8). Note the use of additional arguments. # Send outgoing mail to a smart relay using mini_sendmail sendmail /usr/local/bin/mini_sendmail -srelayhost send-mail /usr/local/bin/mini_sendmail -srelayhost SEE ALSO
mail(1), mailq(1), newaliases(1), mailwrapper(8), sendmail(8) postfix(1) (ports/mail/postfix), mini_sendmail(8) (ports/mail/mini_sendmail) HISTORY
mailer.conf appeared in NetBSD 1.4. AUTHORS
Perry E. Metzger <> BUGS
The entire reason this program exists is a crock. Instead, a command for how to submit mail should be standardized, and all the "behave dif- ferently if invoked with a different name" behavior of things like mailq(1) should go away. BSD
October 8, 2010 BSD
Man Page

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

mail server used by mailx/rmail

hi, can someone tell me how to findout the email server/outgoing SMTP used by rmail or mailx program ? (2 Replies)
Discussion started by: braindrain
2 Replies

2. Shell Programming and Scripting

How to block mails sent using rmail

Hi, I have a bunch of cron jobs which sends e-mails to many set of users. My scripts invoked by cron jobs use "rmail" for this. I have to make a test run of the cron jobs and I don't want the users to get mail during my test run. I cannot got to each script and modify rmail as I have lots of... (1 Reply)
Discussion started by: snvijaysankar
1 Replies

3. Shell Programming and Scripting

How to configure Formail command

Hi, When i type formail command , i get an error "command not found". How to configure this command so that this command works in my machine. Kindly suggest me. Thanks in advance (3 Replies)
Discussion started by: krishna_gnv
3 Replies

4. AIX

how to configure the rmail in AIX

dear all please can any one help me how to configure the rmail in my system theres is a mail server between the source server and the destination PC i want to let the AIX send an email to the receiver email address (1 Reply)
Discussion started by: thecobra151
1 Replies