10-31-2012
Yes. I am trying to send e-mail to to an external domain (my office id.)
ls: 0653-341 The file /etc/resolv.conf does not exist.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
What are all the things that should be configured in order to send a mail from Unix box.
An eg. program of sending a mail will help me a lot!!!!!!
Thanks in advance
-Om (5 Replies)
Discussion started by: Omkumar
5 Replies
2. Shell Programming and Scripting
I have automated some checks - and I want to send a email when there is an issue.
This is fine and I can send the email.
However - I want to generate the email in html format so I can highlight any issues to a reader..
ie. If there is a disk space issue - then the email will highlight the... (2 Replies)
Discussion started by: frustrated1
2 Replies
3. UNIX for Dummies Questions & Answers
Hello everybody.
Is it possible in unix to send a mail to my acount like (abcd@xyz.com)
if yes then how ??
Thank You !! (6 Replies)
Discussion started by: hellotosatish
6 Replies
4. UNIX for Dummies Questions & Answers
i am sending mails from my unix server to my mail id
i used sendmail option
previously it ran successfully
now it is not sending mails
what might be the problem
this is the message i am getting in /var/mail/abcdev file
how to rectify this?
----- The following addresses had permanent... (1 Reply)
Discussion started by: trichyselva
1 Replies
5. Programming
Hi Frnds,
I have a task in my project wherein i have to send out a mail from my C++ code.With some file attachements.Please help me in this.
At a higher level wat i can tell is my code generated 3 csv file and i have to send these files as attachement.
My code is executed in unix... (6 Replies)
Discussion started by: electroon
6 Replies
6. UNIX for Dummies Questions & Answers
Hi people
Can u help me aorund on this
cat $DISTRIBUTION_LIST | tail -1 | read mailtolist
test -s $INOVOICES.dat
if
then
echo " Sales Report generted" | read subject
mailx -ms "${subject}." $mailtolist
RET_CODE=$?
if ; then
echo "Messaging Failed." >> $LOG_FILE
exit 1
fi
else... (2 Replies)
Discussion started by: bobprabhu
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am using mailx command to send mail through Unix. But I am able to send mail only within my domain. If i want to send mail to some other server, it's not working. Like say If I want to send mail to someone on gmail or yahoo it's not working. but it's working fine within my company domain.... (3 Replies)
Discussion started by: anki_1
3 Replies
8. Shell Programming and Scripting
Dear Friends,
I have a shell script where the mail is being sent like this:
/usr/lib/sendmail -v ${CPA_ADMIN}
CPA_ADMIN="xx@abc.com"
Can we specify more than one email ids in this variable?
Is ther eany limit to the number of email ids I can specify in this variable, to whom the mail... (3 Replies)
Discussion started by: Radhe
3 Replies
9. UNIX for Dummies Questions & Answers
HI
i usually send an a file attachment in a mail from unix like following.
mailx -s 'Job Success' someoner@gmail.com < attachment.log
But I have observed in several threads that we can also use uuencode and uudecode.
What are they? when should we use uudecode and uuencode
... (1 Reply)
Discussion started by: rajesh_tns
1 Replies
10. Shell Programming and Scripting
Need assistance . I have a cvs file which i changed to html file but when i try to send mail to outlook its indent goes wrong. any idea is appreciated .
below are some commands i tried using
Converting csv to html
#!/bin/sh
nawk 'BEGIN{
FS=","
print "MIME-Version: 1.0"
print ... (7 Replies)
Discussion started by: ajayram_arya
7 Replies
LEARN ABOUT DEBIAN
whereami.conf
whereami.conf(5) File Formats Manual whereami.conf(5)
NAME
whereami.conf -- configuration file for whereami
DESCRIPTION
The whereami.conf file specifies what whereami does on leaving, remaining at or arriving at locations.
(Locations are detected by whereami according to specifications in the detect.conf file.)
Comments are lines starting with the `#' character. Leading whitespace is ignored on all lines, including comment lines.
Other lines are of the form:
-location action
The action is performed if your system was previously at this location, but is now at another location.
=location action
The action is performed if your system is now at this location.
+location action
The action is performed if your system is now at this location, but was previously at another location.
!location action
The action is performed if your system is not at this location.
HELPER SCRIPTS
In addition to the normal commands available within any shell script, whereami includes a number of helper scripts which may be useful.
setmailrelay (none | queue [smarthost] | smarthost)
Set the mail relay (i.e. smarthost) to "none" if you have a permanent connection, and can send e-mail directly to the recipient's
mailserver.
If you are not connected, set the relay to "queue" (optionally for a specific smarthost).
Or send all mail to a specific smarthost, if that is what you need in this location.
setresolver <resolv.conf stanza>
The <resolv.conf stanza> should be something like: search localhost mydomain.com nameserver 1.2.3.4 (all on one line) to specify
the domain search path and the nameserver to use.
If you have resolvconf installed, this script will interface with that to manupulate the /etc/resolv.conf file and control DNS
resolution. This is recommended.
If you are not using resolvconf, then this will directly rewrite your /etc/resolv.conf file, inserting a section similar to the
manner in which DHCP works.
setproxy (start | stop | none | <upstream_proxy>)
Use this script to reconfigure your local oops or squid proxy server to use a specific upstream proxy, no upstream
proxy, or to stop the proxy server completely.
The upstream proxy should be specified as "<name or ip> <port>", e.g.: setproxy 192.168.55.3 3128
For a local squid proxy you can optionally also provide a complete set of parameters for the "cache_peer" directive (without the
"cache_peer" name itself). See the squid.conf file for full details of this syntax. e.g.: setproxy 192.168.55.3 parent 3128
3140 login=user:password
settimezone timezone
Use this to set your timezone differently.
masqmail_route route_name
Use this to reconfigure masqmail to use a different masqmail routing.
SEE ALSO
whereami(8), detect.conf(5)
Further documentation is available in the /usr/share/doc/whereami directory.
FILES
/etc/whereami/whereami.conf
The file we are talking about in this here manpage.
/etc/whereami/whereiam.sh
The script that is built based on the information in this configuration file and then executed by whereami.
LIMITATIONS
There should be a configuration program so that the user does not have to do any script programming.
AUTHOR
This manual page was written by Andrew McMillan <debian@mcmillan.net.nz> for the Debian GNU/Linux system (but may be used by others). Per-
mission is granted to copy, distribute and/or modify this document under the terms of the GPL version 2.
whereami.conf(5)