Sponsored Content
Operating Systems Linux sendmail for getting attaments Post 302175429 by kiranp on Friday 14th of March 2008 01:33:40 AM
Old 03-14-2008
Question 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

Sendmail

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

sendmail

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

sendmail.... any help?

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

sendmail

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

Using sendmail

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

Sendmail

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

Sendmail HELP

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

Regarding sendmail

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

Sendmail questions, SCO 5.0.6 sendmail 8.11.0

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

Clarifying sendmail configuration - sendmail-client offline

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
mail_intro(7)						 Miscellaneous Information Manual					     mail_intro(7)

NAME
mail_intro - Introductory information on the Tru64 UNIX mail system DESCRIPTION
The Tru64 UNIX mail system enables you to exchange mail with other users on your system, as well as with other systems connected to your local network and with users on other networks (provided your system and network are connected to other networks). Mail System Concepts Mail systems consist of the following components: User agent - The user agent provides the interface through which you interact with the mail system. Generally, the user interface enables you to create, send, receive, read, save, and manage your mail messages. Tru64 UNIX provides the following user agents: CDE's Mailer - For further information, see the Common Desktop Environment: User's Guide . Mail or mailx - For further information, see the Command and Shell User's Guide . The Rand Message Handling program (MH) - For further information, see the mh(1) and xmh(1X) reference pages. Transport agent - The transport agent provides an interface between the user agents and the delivery agents. The sendmail command is a transfer agent. Delivery agent - The delivery agent provides the mechanism for delivering the mail messages to end users, systems, and networks. The binmail and deliver commands are delivery agents for standard mail and IMAP mail, respectively. In Tru64 UNIX, the sendmail program acts as both the transport and delivery agent. It does so by implementing the Simple Mail Transfer Pro- tocol (SMTP), which is the specification for the Internet's delivery agent. Initially standards did not exist for mail addresses and computer networks. Many different address formats and network protocols exist. Mail programs must interact with different network protocols, as well as recognize and reformat different mail address formats. Fortu- nately, these difficulties were recognized and standards, such as the Standard for the Format of ARPA Internet Text Messages (RFC 822) and The Domain Naming Convention for Internet User Applications (RFC 819), emerged. A mail program still must recognize addresses in various formats and communicate with different network protocols. The sendmail program addresses these issues through the use of the sendmail.cf configuration file. The Sendmail Configuration File The sendmail.cf configuration file provides the sendmail program with the information to perform the following tasks: Choose delivery agents Use address rewriting rules Define mail header information Perform some routing When it starts, the sendmail program reads the sendmail.cf configuration file. The information in the sendmail.cf configuration file enables sendmail to rewrite the addresses of mail it receives into the address form expected by the mail delivery agent. It also enables sendmail to set parameters and arguments to the mail delivery program. The configuration file contains information that is used for the following functions: Define message precedence for mail delivery Define administrative IDs to override the sender's address Define message headings Define the mail program to use Set options used by the sendmail command The default Tru64 UNIX configuration file (located in /var/adm/sendmail/sendmail.cf) is adequate for most standalone systems. However, if you plan to connect your system to a network, you will have to modify the sendmail.cf file. Tru64 UNIX provides the mailconfig and mailsetup utilities, which you can use to create mail configuration files. If you prefer to manipu- late the configuration file manually, you should use the m4 macros provided for this purpose. (See the sendmail.m4 reference page.) For more information on configuring mail, see the Network Administration manual. RELATED INFORMATION
Commands: binmail(1), mailconfig(8), mailsetup(8), mailx(1), sendmail(8), sendmail.m4(8) Files: sendmail.cf(4) Network Administration Standard for the Format of ARPA Internet Text Messages (RFC 822) The Domain Naming Convention for Internet User Applications (RFC 819) UNIX System Administration Handbook, Englewood Cliffs, N.J.: Prentice Hall, Inc., 1989. delim off mail_intro(7)
All times are GMT -4. The time now is 05:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy