I have a problem that when I am pinging with the IP address it is giving me whether a server is alive or not but when I am trying it with hostname it is giving unknown host
I have checked in /etc/hosts file and the IP address and hostname are both there...still the problem is there..
Can... (1 Reply)
Dear Experts,
I have a text file on my itanium box which contains list of nearly 1000 hostnames. I do not have the IP Address of them. I want read each entry from the text file and want to do a nslookup to the DNS Server and get the IP Adresses and put them in another file in the format... (1 Reply)
I have a tricky problem, and I'm quite the scripting newb.
I have Cisco ACLs that have IP addresses in them. I'd like to convert the IP's to hostnames for easier analysis. A sample ACL input file would be (I've obfuscated the IPs):
access-list acl-secure-out line 1 extended permit icmp any... (3 Replies)
edit; I found a solution that works, see thread #3 https://www.unix.com/302417065-post3.html
Hi there,
I have a small dedicated server that has four ip addresses and by default my httpd sends request using the servers main ip for all outbound connections.
I'm quite amateur at routing and... (4 Replies)
Hi All,
So we added a new HP-UX 11.31 machine. Copied OS via Ignite-UX (DVD)over from this machine called machine_a. It was supposed to be named machine_c. And it is when you log in...however when I'm in the ILO console before logging in, it says:
It should say:
What gives? And how do... (4 Replies)
I am using mutt on ksh Unix to send emails to addresses plucked from the database. If the "To:" email address is not longer valid and so the email is not sent to the "To:" recipient, but is sent to the valid cc address, I need to be able to get an error code returned to the shell script so that... (3 Replies)
We are using Solaris as our database OS. Can you please help me to know how can i get the IP address of a solaris machine in my network from its hostname?
e.g. We have a remote database server with the hostname as xyz. Without connecting to the database OS, can i get the IP address of xyz OS from... (1 Reply)
Hi all,
I am trying to exchange hostname and IP address of two AIX machines.
But i am confused as how to change it ?
do i need to use "smitty mktcpip" or "smitty tcpip" ?
what is the difference between smitty mktcpip and smitty tcpip ?
Also anymore steps to follow or just updating... (3 Replies)
Hi,
Anyone can help?
Currently :
I'm am using a smtp smart relay, 1 hostname but different IP Address 192.168.2.108 and 192.168.2.109).
I'm using "smtp.mailhostname.com mailhost" and having an IP Address 192.168.2.108, but there is a certain minutes/seconds that the IP Address will... (2 Replies)
Discussion started by: fspalero
2 Replies
LEARN ABOUT DEBIAN
muttprofile
MUTTPROFILE(1) User Contributed Perl Documentation MUTTPROFILE(1)NAME
muttprofile - Choose a Mutt Profile
SYNOPSIS
muttprofile [-a|--active string] [-d|--dir directory] [-h|--help] [-p|--profile regexp] [-v|--view] [-V|--Version] [profile]
DESCRIPTION
muttprofile is a simple utility to choose a profile to be used with Mutt email-client. It has two operating modes: command-line and inter-
active. Muttprofile goes to interactive mode if no command-line arguments are present or option -v|--view is present without profile name.
Muttprofile looks for profile files in the Mutt directory, opens them and looks for NAME and DESC definitions. It then creates a symbolic
link to the profile chosen by the user. The rest of the work is done with a Mutt macro.
USAGE
Interactive mode:
Type the name of the profile and the program creates a symlink to load the profile. Press <tab> to complete, <ctrl-d> to see list of
choices.
Command-line options:
-a | --active Set the name for active profile symlink, default is profile.active
-d | --dir Set the Mutt directory, default is ~/.mutt
-h | --help prints a short help and exits
-p | --profile (Perl) Regexp to match profile files in Mutt directory
-v | --view Instead of creating a symlink, view profile contents
-V | --version prints the version information and exits (use --version for long and -V for short version)
profile if profile exits, create the symlink to load it from Mutt, otherwise exit with error
INSTALL
Muttprofile requires no installation, but you might have to check the first line of the file ("#!/usr/bin/perl -w") and change the path to
perl if needed ('which perl' might be useful here :-)
SETTING UP PROFILES
Muttprofile checks the profile files for the following information:
# NAME: name for your profile
# DESC: description of your profile
This information is used for choosing and displaying available profiles. DESC is optional, but if NAME is missing, filename is used
instead.
USING MUTTPROFILE FROM MUTT
Perhaps the easiest way to invoke muttprofile from mutt is to bind a key with mutt macro command. For example, adding this to your mut-
trc-file
macro index <F10> "!muttprofile
:source ~/.mutt/profile.active
m" "New message with profile"
binds the function key <F10> to start muttprofile, load the profile and start a new message
EXIT CODES
The default exit codes for muttprofile are:
0 OK
1 PROFILE ALREADY ACTIVE
2 ERROR
These codes can be used in shell scripts etc.
FURTHER INFORMATION
Discussion of profiles with Mutt: http://www.iki.fi/martti.rahkila/mutt/
Mutt home page: http://www.mutt.org
MODULES
muttprofile uses the perl modules "Term::Complete" and "Getopt::Long" that both come with the Perl distribution.
LICENCE
muttprofile is distibuted under GNU General Public Licence (GPL), same as Mutt. For details, see http://www.gnu.org/copyleft/gpl.html
BUGS
None known so far. Inevitably to appear sooner or later.
VERSION
1.0.0 (current)
First public release.
2000-05-10 Martti Rahkila
AUTHOR
Martti Rahkila
martti.rahkila@iki.fi
http://www.iki.fi/martti.rahkila/mutt
SEE ALSO mutt(1), perl(1)perl v5.8.0 2003-01-15 MUTTPROFILE(1)