10 More Discussions You Might Find Interesting
1. IP Networking
Ggod evening.
I need your help please, in a Production system there is a process that download a xls file from an URL which is IMF(International Monetary Fund) and afterwards to be loaded into a databse table.
When testing conectivity from a unix server to IMF seems to work but when editing it... (9 Replies)
Discussion started by: alexcol
9 Replies
2. Shell Programming and Scripting
Hello ALL ,
i am requesting help on for this script i am preparing to get the result of a query in a excel sheet :
current Error:
Script : NO Excel file created.
requesting to know where i am going wrong.
#!/bin/ksh... (2 Replies)
Discussion started by: anirudhkashikar
2 Replies
3. Forum Support Area for Unregistered Users & Account Problems
User name: Michael Mullig
<removed email addresses> (1 Reply)
Discussion started by: Mike Mullig
1 Replies
4. Shell Programming and Scripting
Hi
I have a problem to resolve, I think sed is the best option, and I am not successful yet.
Have a UNIX file which has records as of the 2 character state codes like
NY
NJ
PA
DE
From the file I need to create this as a variable in the same script or another file -... (7 Replies)
Discussion started by: snair2010
7 Replies
5. Shell Programming and Scripting
Hi,
I'm very new to bash scripting and Linux in general. I'm running Ubuntu Server 10.04 and trying to write a bash script to launch a program. In doing so, I've come across a couple of things that I obviously don't understand. Here is a short script that exemplifies those things:
... (9 Replies)
Discussion started by: Carson Dyle
9 Replies
6. Shell Programming and Scripting
Hello Folks,
I would very much appreciate if I could get help/suggestions on a particular sed usage. I have to write a script to take version info from a version file, compute the image name, print error if the image does not exist.
The version file looks like below:
"
#
# version.cfg
#... (3 Replies)
Discussion started by: fatimap
3 Replies
7. UNIX for Advanced & Expert Users
I gotta write a command to change the accounts in /etc/passwd that use a shell other than the bash to bash shell. those accounts that dont use a shell shouldnt get modified. assuming all the shell programs end in sh and other programs dont. and the result should go into /etc/passwd.rev
any hint? (4 Replies)
Discussion started by: metalwarrior
4 Replies
8. Shell Programming and Scripting
Fairly new scripter so please bare with me if what I have done below is not according to standards.
Okay...heres what I am trying to do. I have a pattern that I need to search for in a directory. This gives me a list of files that includes a control file that contains totals of the line nos for... (3 Replies)
Discussion started by: alfredo123
3 Replies
9. AIX
Hello there!
I have a RS-6000 7043-140 machine with AIX version 4.1.5, that is
working for almost 8 years now. It has a tty monitor. My problem
started when I upgraded my machine to install a gxt250 graphics adapter
card together with a 15" AOC VGA Monitor, logitech keyboard and mouse, ... (2 Replies)
Discussion started by: bright_genius
2 Replies
10. Solaris
Ladies/Gentlemen,
I am looking for a web-based tool to keep track of my Sun inventory. The following list of fields are fields I would like to store: Root Passwd (needs to be secure) / Hostid / Console Port / IP Address / Platform / Application / Hostname . . . you get the point.
Do any of... (4 Replies)
Discussion started by: pc9456
4 Replies
DMAIL(1) General Commands Manual DMAIL(1)
NAME
dmail - procmail Mail Delivery Module
SYNOPSIS
dmail [-D] [-f from_name] [-s] [-k keyword_list] [user][+folder]
DESCRIPTION
dmail delivers mail to a user's INBOX or a designated folder. dmail may be configured as a drop-in replacement for binmail(1),
mail.local(1) for use with a mail delivery filter such as procmail(1).
Because of security considerations (see below) dmail is not intended to be used for direct delivery by the mailer daemon; tmail(1) is the
preferred tool for this purpose. If dmail is used for mailer daemon delivery, the mailer daemon must invoke dmail with the dmail process'
user id set to the recipient's user id.
When dmail exits, it returns exit status values to enable procmail(1) to determine whether a message was delivered successfully or had a
temporary (requeue for later delivery) or permanent (return to sender) failure.
If the user name is present, it must be the same as the logged-in user name.
If the +folder extension is included in the user argument (or appears by itself if there is no user argument), dmail will attempt to
deliver to the designated folder. If the folder does not exist or the extension is not included, the message is delivered to the user's
INBOX. If delivery is to INBOX and no INBOX currently exists, dmail will create a new INBOX. dmail recognizes the format of an existing
INBOX or folder, and appends the new message in that format.
The -D flag specifies debugging; this enables additional message telemetry.
The -f or -r flag is used to specify a Return-Path. The header
Return-Path: <from_name>
is prepended to the message before delivery.
The -s flag specifies that the message will be flagged as being "seen".
The -k flag is used to specify delivery keywords, which are set on the message at delivery time if and only if the keywords are already
defined in the mailbox. Multiple keywords can be specified by using a quoted string, e.g.,
dmail -k "$Junk Discard" +junkbox
RESTRICTIONS
Absolute pathnames and ~user specifications are not permitted in +folder extensions.
SECURITY CONSIDERATIONS
Unlike tmail you can use dmail to deliver to IMAP4 namespace names via +folder extensions. This means that it is possible to deliver to
mh(1) format mailboxes.
However, this can also include such namespaces as #shared, #public, and #ftp. In most cases, it is undesirable to allow anybody sending
mail to the user to deliver to these namespaces. Consequently, there needs to be a rule in place in the configuration of either
sendmail(8) or procmail(1) to prevent such abuse.
AUTHOR
Mark Crispin, MRC@CAC.Washington.EDU
SEE ALSO
binmail(1)
procmail(1)
June 18, 2007 DMAIL(1)