06-25-2010
how to send email using "mail" to google or yahoo
hi all,
i need to email the output of a command to a google or yahoo account.
am using debian lenny 5.
can someone please help me on this ?
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi, Gurus,
I need some help with sending mail out from my UNIX server:
It is running Solaris 2.6 and the sendmail version is 8.8.
Output of :/usr/lib/sendmail -d0.1 -bt < /dev/null
Version 8.8.8+Sun
Compiled with: LOG MATCHGECOS MIME7TO8 MIME8TO7 NAMED_BIND NDBM NETINET
... (5 Replies)
Discussion started by: b5fnpct
5 Replies
2. UNIX for Dummies Questions & Answers
echo "content" | mail email@address -s subject
Where to attach a file with the email? (2 Replies)
Discussion started by: meili100
2 Replies
3. UNIX and Linux Applications
hi,,
i am trying to excexute one simple script.
what it suppose to do is, just send a mail to the mentioned mail id.
here is my code..
mutt -s "Test mail" my mail id < /dev/null
its giving " : No such file or directory null " error.
i have checked in the /dev directory, there null... (2 Replies)
Discussion started by: vinayakatj56
2 Replies
4. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
5. UNIX for Dummies Questions & Answers
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
6. Shell Programming and Scripting
Hi All,
i am trying to ssh to a remote machine and execute certain command to remote machine through script.
i am able to ssh but after its getting hung at the promt and after pressing ctrl +d i am gettin the out put as
expect: spawn id exp5 not open
while executing
"expect "$" {... (3 Replies)
Discussion started by: Siddharth shivh
3 Replies
7. Shell Programming and Scripting
Hi All,
I have the below code(.sh) and need to send an email.
#!/bin/bash
cp /u02/xxc_incoming/TEST*.dat /u02/xxc_archive_incoming/AMER7764_ARPP_2/
cat /u02/xxc_incoming/TEST*.dat > /u02/xxc_incoming/XXC_TEST.dat
rm /u02/xxc_incoming/TEST*.dat
cd $XXC_TOP/bin
sqlldr userid=apps/<pwd> ... (12 Replies)
Discussion started by: Mist123
12 Replies
LEARN ABOUT DEBIAN
config::model::debian::dependency
Config::Model::Debian::Dependency(3pm) User Contributed Perl Documentation Config::Model::Debian::Dependency(3pm)
NAME
Config::Model::Debian::Dependency - Checks Debian dependency declarations
VERSION
version 2.021
SYNOPSIS
use Config::Model ;
use Log::Log4perl qw(:easy) ;
use Data::Dumper ;
Log::Log4perl->easy_init($WARN);
# define configuration tree object
my $model = Config::Model->new ;
$model ->create_config_class (
name => "MyClass",
element => [
Depends => {
'type' => 'leaf',
'value_type' => 'uniline',
class => 'Config::Model::Debian::Dependency',
},
],
) ;
my $inst = $model->instance(root_class_name => 'MyClass' );
my $root = $inst->config_root ;
$root->load( 'Depends="libc6 ( >= 1.0 )"') ;
# Connecting to qa.debian.org to check libc6 versions. Please wait ...
# Warning in 'Depends' value 'libc6 ( >= 1.0 )': unnecessary
# versioned dependency: >= 1.0. Debian has lenny-security ->
# 2.7-18lenny6; lenny -> 2.7-18lenny7; squeeze-security ->
# 2.11.2-6+squeeze1; squeeze -> 2.11.2-10; wheezy -> 2.11.2-10; sid
# -> 2.11.2-10; sid -> 2.11.2-11;
DESCRIPTION
This class is derived from Config::Model::Value. Its purpose is to check the value of a Debian package dependency for the following:
o syntax as described in http://www.debian.org/doc/debian-policy/ch-relationships.html
o Whether the version specified with ">" or ">=" is necessary. This module will check with Debian server whether older versions can be
found in Debian old-stable or not. If no older version can be found, a warning will be issued. Note a warning will also be sent if the
package is not found on madison and if the package is not virtual.
o Whether a Perl library is dual life. In this case the dependency is checked according to Debian Perl policy <http://pkg-
perl.alioth.debian.org/policy.html#debian_control_handling>. Because Debian auto-build systems (buildd) will use the first available
alternative, the dependency should be in the form :
o "perl (>= 5.10.1) | libtest-simple-perl (>= 0.88)" when the required perl version is available in sid. ".
o "libcpan-meta-perl | perl (>= 5.13.10)" when the Perl version is not available in sid
Cache
Queries to Debian server are cached in "~/.config_model_depend_cache" for about one month.
BUGS
o Virtual package names are found scanning local apt cache. Hence an unknown package on your system may a virtual package on another
system.
o More advanced checks can probably be implemented. The author is open to new ideas. He's even more open to patches (with tests).
AUTHOR
Dominique Dumont, ddumont [AT] cpan [DOT] org
SEE ALSO
Config::Model, Config::Model::Value, Memoize, Memoize::Expire
perl v5.14.2 2012-11-09 Config::Model::Debian::Dependency(3pm)