03-14-2008
sendmail for getting attaments
Hi
I used
mailx -s "test" <email addr> < file path
Also
sendmail <email addre > < file path
in mail client it shows junk if the file tries to attached is say .tgz
if its txt files it comes as body not as attachemnt
anyone knows how to send attachemnt only by
sendmail
or
mailx
- Kiran
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I just started reading about sendmail.
What I wanted to know is - is it possible to have an auto response for my hotmail account/@home/sympatico account -
or? As I stated I just recently started reading up on sendmail and email tactics.
I was just thinking of something simple - where a message... (2 Replies)
Discussion started by: Astudent
2 Replies
2. UNIX for Dummies Questions & Answers
When ever I start up linux the pc hangs for 10min due to send mail. Advice how do I disable or stop this from happening?:( (1 Reply)
Discussion started by: danny howell
1 Replies
3. UNIX for Dummies Questions & Answers
I am trying to configure sendmail (v 8.12.5-7 on Redhat Linux 8) on my server. I am unable to send or receive messages using mail command (or any command for that matter).
My mailserver name: abc.com
I have setup user1 to alias as user1@def.com so that all of his mails are relayed to... (5 Replies)
Discussion started by: skotapal
5 Replies
4. UNIX for Dummies Questions & Answers
Hello Everyone!
Can anyone help me with this problem.
When root sends mail from my sun to our exchange server the from field looks like this"root@server.domain.com but i would like it to look like this "root.server@domain.com" or somthing like that.
I dont wont the "server" after the @. i like... (2 Replies)
Discussion started by: dozy
2 Replies
5. UNIX for Dummies Questions & Answers
I have AIX5.1
I was asked to set up a cron script to send a email containing a CSV file regularly to to a user from the AIX box .I have set up cron scripts for sure but I am not sure of using sendmail. I am not sure how to do this Or even how to send a email from it using sendmail which I believe... (4 Replies)
Discussion started by: rocker40
4 Replies
6. UNIX for Advanced & Expert Users
HI CAN ANYBODY HELP ME? I HAVE COME ACROSS A PROBLEM. I AM USING SENDMAIL IN HP-UX IN THE FOLLOWING MANNER
/usr/sbin/sendmail -t someone@someplace.com < /path/to/file.log
BUT THE RECEIPIENT DOESNOT GET THE ADDRESS IN THE TO: SECTION OF THE MAIL. ALSO I HAVE NOT FOUND ANY OPTION TO PUT A... (6 Replies)
Discussion started by: cobroraj
6 Replies
7. UNIX for Dummies Questions & Answers
I am trying to configure sendmail for a client.
I have edited my sendmail.cf as follows:
# more sendmail.mc
divert(0)dnl
VERSIONID(`@(#)sendmail.mc 1.11 (Sun) 06/21/04')
OSTYPE(`solaris8')dnl
DOMAIN(`server.1.example.com)dnl
DAEMON_OPTIONS('Port=smtp,ADR=127.0.0.1, Name=MTA')... (0 Replies)
Discussion started by: Gibby13
0 Replies
8. Linux
dear all,
i am able to send mails using mailx to my internal users like "root" "oracle"
but if i want to sendmail to external domain for ex : gmail.com
kindly let me know how to do this.
regards
jegar (2 Replies)
Discussion started by: jegaraman
2 Replies
9. UNIX for Advanced & Expert Users
I am running SCO 5.0.6 and using sendmail 8.11.0 and having issues with smtp authentication. When trying to send mail the following message will kick back.
(reason: 530 5.7.1 Authentication required)
530 5.7.1 Authentication required
Not sure what needs to be tweeked in sendmail.cf but I... (1 Reply)
Discussion started by: ziggy6
1 Replies
10. Solaris
Hi all,
I have read about sendmail running as 2 separate process.
1 as a MSP, and the other as the real daemon or MTA.
In my current configuration,
the sendmail-client is disabled.
Both submit.cf and sendmail.cf are left as default untouch
I do not specified any mailhost... (3 Replies)
Discussion started by: javanoob
3 Replies
LEARN ABOUT FREEBSD
mailer.conf
MAILER.CONF(5) BSD File Formats Manual MAILER.CONF(5)
NAME
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 <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 dif-
ferently if invoked with a different name" behavior of things like mailq(1) should go away.
BSD
October 8, 2010 BSD