04-21-2005
What sendmail error is showing in your syslog or maillog file?
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi :-
I am trying to make a script to send mail using pine. But it takes me to the Pine Menu Console and I have to send it manually.
Note that I am attaching a file with it.
Any quick response will be highly appreciated. (4 Replies)
Discussion started by: s_aamir
4 Replies
2. UNIX for Dummies Questions & Answers
how to configure pine in my linux os (1 Reply)
Discussion started by: rajan_ka1
1 Replies
3. Shell Programming and Scripting
if test.dat is the file
cat test.dat|uuencode test.dat|mailx -s "subject" mailid
can be used for attaching test.dat
how can i attach more than one file to a mail using mailx (2 Replies)
Discussion started by: anumkoshy
2 Replies
4. Shell Programming and Scripting
I am trying to send multiple files as attachment in one email, I tried to search but couldn't find. Please let me know if any solutions. (2 Replies)
Discussion started by: mgirinath
2 Replies
5. UNIX for Dummies Questions & Answers
I'm learning a little about pine after downloading it. I can't seem to get it to work, though. It can't open the inbox -- it sits there (as the little slash mark rotates) but after a while it stops and can't make the connection, with a message saying that "connection to gmail.pop....(something)... (0 Replies)
Discussion started by: Straitsfan
0 Replies
6. Shell Programming and Scripting
Hi,
My script has to send 2 files as a separate attachment(Note : files to be sent without zipping) to the specified email id.
Below code was used but it is not attaching the file as expected instead the file contents are displayed in the body of the email.
Kindly,help with your... (22 Replies)
Discussion started by: meva
22 Replies
7. Shell Programming and Scripting
I need to attach all files starting with 'BusinessReport' using mutt command.
It could be any number of files in that directory, say BusinessReport_01, BusinessReport_03, BusinessReport_04 etc.
Is there a way to attach all files where filename like BusinessReport_* and sent it using mutt... (2 Replies)
Discussion started by: Jassz
2 Replies
8. Shell Programming and Scripting
Hello Folks,
I am looking for the script which will go to directory and check for the latest 5 files and send a mail to attaches these files to user.
Kindly guide.
Regards (7 Replies)
Discussion started by: sadique.manzar
7 Replies
9. Shell Programming and Scripting
Hello,
I have massive number of big files that needed to be counted for the total number of lines (> 100x millions) each. I want the file name attached to the count results so that they are aligned nicely matching name and counts.
I could do each file at a time, which will take hours to finish,... (8 Replies)
Discussion started by: yifangt
8 Replies
LEARN ABOUT NETBSD
mailer.conf
MAILER.CONF(5) BSD File Formats Manual MAILER.CONF(5)
NAME
mailer.conf -- configuration file for mailwrapper(8)
DESCRIPTION
The file /etc/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.
The default mailer is postfix(1), which will also start by default (unless specifically disabled via an rc.conf(5) setting) so that locally
generated mail can be delivered, if the ``sendmail'' setting in /etc/mailer.conf is set to ``/usr/libexec/postfix/sendmail''.
FILES
/etc/mailer.conf
EXAMPLES
This example shows how to set up mailer.conf to invoke the postfix(1) program:
sendmail /usr/libexec/postfix/sendmail
mailq /usr/libexec/postfix/sendmail
newaliases /usr/libexec/postfix/sendmail
This example shows the use of the mini-sendmail package from pkgsrc in place of postfix(1):
# Send outgoing mail to a smart relay using mini-sendmail
sendmail /usr/pkg/sbin/mini-sendmail -srelayhost
send-mail /usr/pkg/sbin/mini-sendmail -srelayhost
Note the use of additional arguments.
SEE ALSO
mail(1), mailq(1), newaliases(1), postfix(1), mailwrapper(8)
pkgsrc/mail/sendmail, pkgsrc/mail/mini_sendmail
HISTORY
mailer.conf appeared in NetBSD 1.4.
AUTHORS
Perry E. Metzger <perry@piermont.com>
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
differently if invoked with a different name'' behavior of things like mailq(1) should go away.
BSD
April 10, 2010 BSD