Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Hi plz How to configure my sendmail or mail commands??? Post 15007 by thehoghunter on Friday 8th of February 2002 02:01:06 PM
Old 02-08-2002
If you are asking for a command line way of sending email, check the man page on mail and/or mailx. Something like the following should work:
$ mail -s "test" someuser@mydomain.com

You will then get a newline (blank) where you can type the message. Put a period on the line by itself to end inputing the email body.
thehoghunter
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

plz Help How should I configure cc compiler output file plz help???

i.e configuration of C compiler :confused: (4 Replies)
Discussion started by: atiato
4 Replies

2. UNIX for Dummies Questions & Answers

How to configure sendmail on AIX4.3.3.

Hi! I want to enable sendmail facility on my AIX 4.3.3 box. I know that the configuration sendmail.cf must be populated with the necessary info according to my needs. Question is what are those, and what is the syntax? Other than sendmail.cf, are there any configuration files i need to edit? ... (1 Reply)
Discussion started by: jolobets
1 Replies

3. UNIX for Advanced & Expert Users

How to configure sendmail in linux

Hi, I want to know how to configure emails in linux.First how to configure inside the firewall and second how to configure it outside the firewall? Regards, Rajesh (1 Reply)
Discussion started by: rajbal
1 Replies

4. UNIX for Dummies Questions & Answers

How do I configure sendmail?

I am trying to run sendmail from a script with the results from that same script. Each time I use sendmail I get the following message in /var/log/maillog: Feb 27 02:25:42 (none) sendmail: m1R1Pg3S013841: to=test@test.com,just,testing, ctladdr=root (0/0), delay=00:00:00, xdelay=00:00:00,... (1 Reply)
Discussion started by: bronkeydain
1 Replies

5. Solaris

How to configure Sendmail for simply use?

Hi lads, would you be able to advice, please, how to configure Sendmail for sending casual emails (like with Thunderbird or Outlook). Before I used Exim 4 in Debian and did not have any problem with configuration. Knowledges almost zero, but know what is MTA, MUA, etc. Workstation is typical,... (3 Replies)
Discussion started by: andrbu
3 Replies

6. AIX

How to configure sendmail for AIX 5.3

Hello All, I am very new to this sendmail thing. I need to set up AIX servers with sendmail service to get emails in my corporate email address. All I am asked to do is use SMTP gateways (already in place) for using sendmail. thanks in advance (0 Replies)
Discussion started by: solaix14
0 Replies

7. Solaris

Help to configure sendmail on Solaris 10

Hello, I need help to configure sendmail on Solaris 10. I have to configure sendmail to send mail on the Internet, now works only for sending mail for local users. I'm studying several tutorials ... When I try to send a mail to an external address (eg aaaa@gmail.com) the mail is placed... (3 Replies)
Discussion started by: arfry
3 Replies

8. Solaris

How do I configure sendmail to block all OUTGOING mail FROM one userid TO the world?

Hello, ENVIRONMENT: OS: Solaris 10 Sendmail: 8.13.8+Sun BACKGROUND: We had a user account that was compromised and was used as a relay. She sent out (or would have if we didn't kill sendmail) ~10K emails alerting people they just won $75K. The target for this spam was everyone internal... (1 Reply)
Discussion started by: avikb
1 Replies

9. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

10. UNIX for Dummies Questions & Answers

Configure sendmail to Only send mail to one domain

On both Solaris 10 and RHEL, we would like to configure sendmail in such a way that the email sent from the server should only go to a particular domain. For eg. We want our server to ONLY send the mail to <user_name>@abc.com. All other domains should be blocked/restricted. The server should not... (0 Replies)
Discussion started by: sk2code
0 Replies
SENDMAILCONFIG(8)					      System Manager's Manual						 SENDMAILCONFIG(8)

NAME
sendmailconfig - configure sendmail for Debian systems SYNOPSIS
sendmailconfig [--no-reload] DESCRIPTION
sendmailconfig is used to simplify the configuration of sendmail(8) for use on Debian systems. In the simplest case, you may run this program to (re)configure sendmail for your Debian system at any time. It will modify the file /etc/mail/sendmail.mc in order to create a working sendmail configuration which will be written to the file /etc/mail/sendmail.cf. For advanced configurations, you can modify the sendmail.mc file before generating sendmail.cf. Future invokations of sendmailconfig will preserve these changes provided they are made at the end of the file. Normally sendmailconfig will ask if you want to reload sendmail after making changes to its configuration. The --no-reload option will avoid this question. FILES
/etc/mail/sendmail.mc sendmail m4 input to generate sendmail.cf /etc/mail/sendmail.cf actual sendmail configuration file /etc/mail/sendmail.cw names for which we will accept mail in the standard configuration /etc/mail/sendmail.ct names of trusted users in the standard configuration SEE ALSO
sendmail(8) AUTHOR
Robert Leslie <rob@mars.org> 21-Jan-1997 SENDMAILCONFIG(8)
All times are GMT -4. The time now is 01:25 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy