10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
2. UNIX for Dummies Questions & Answers
There are many email servers in the market and some good providers should be able to guide me through choosing them and also easy installation. can anybody give me idea of good providers please? (1 Reply)
Discussion started by: gunu81
1 Replies
3. UNIX for Advanced & Expert Users
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
4. Shell Programming and Scripting
Hello,
I am a Unix newbie and I need a script in which I can run a command on multiple servers at work. The command is to start a storage process and I am sick of doing it manually on all servers..
Here's the command:
/opt/bss/bin/snmptable -CB -v2c -c P67LzuBm hostname hrStorageTable... (4 Replies)
Discussion started by: kinyyy
4 Replies
5. Programming
Hey Guys,
I am writing an SMTP mail client in c++ in unix and it needs to do the following:
I need to create a client
the client talks to port 25
it sends a hello world message
I also need to support and smtpclient class and a clientdriver class
I have written the smtpclient class, but I... (1 Reply)
Discussion started by: jcy8096
1 Replies
6. Solaris
Dear All,
Now I use solaris 10 and I try to forward mail from /var/mail/username to their external mail so what should I do?
thank u in advance (2 Replies)
Discussion started by: unitipon
2 Replies
7. UNIX for Advanced & Expert Users
Hi All,
I am running my script in crontab and it is generating a file everyday.
And I have 10 different servers and i am running the same script in every server in crontab which generates a file in every server per day.
I want to retrieve those files from each server everyday.
I want to... (1 Reply)
Discussion started by: AshishK
1 Replies
8. UNIX for Dummies Questions & Answers
What protocol would i use to transfer mail between two UNIX mail servers? (1 Reply)
Discussion started by: agoemann23
1 Replies
9. UNIX for Dummies Questions & Answers
Hi everyone!
I'm trying to create a database monitoring script that reads an alert file and sends an error message if it can 'grep' a particular string.
Is there a way to send this message to a mail client using SMTP?
Even better, is there any place on this site that has these kinds of... (5 Replies)
Discussion started by: solaris73
5 Replies
10. News, Links, Events and Announcements
I just finished benchmarks for postfix. Now U can see who is faster (Sendmail, Qmail or postfix?)
Try http://www.benchmarks.dmz.ro for more info. (0 Replies)
Discussion started by: cipango
0 Replies
MSGCHK(1) [nmh-1.5] MSGCHK(1)
NAME
msgchk - check for messages
SYNOPSIS
msgchk [-date | -nodate] [-notify all/mail/nomail ] [-nonotify all/mail/nomail ] [-host hostname] [-user username] [-sasl] [-saslmech mech-
anism] [-snoop] [users ... ] [-version] [-help]
DESCRIPTION
The msgchk program checks all known mail drops for mail waiting for you. For those drops which have mail for you, msgchk will indicate if
it believes that you have seen the mail in question before.
The -notify type switch indicates under what circumstances msgchk should produce a message. The default is -notify all which says that
msgchk should always report the status of the users maildrop. Other values for `type' include `mail' which says that msgchk should report
the status of waiting mail; and, `nomail' which says that msgchk should report the status of empty maildrops. The -nonotify type switch
has the inverted sense, so -nonotify all directs msgchk to never report the status of maildrops. This is useful if the user wishes to
check msgchk's exit status. A non-zero exit status indicates that mail was not waiting for at least one of the indicated users.
If msgchk produces output, then the -date switch directs msgchk to print out the last date mail was read, if this can be determined.
Using POP
msgchk will normally check all the local mail drops, but if the option "pophost:" is set in the mts configuration file "mts.conf", or if
the -host hostname switch is given, msgchk will query this POP service host as to the status of mail waiting.
The default is for msgchk to assume that your account name on the POP server is the same as your current username. To specify a different
username, use the `-user username' switch.
When using POP, you will normally need to type the password for your account on the POP server, in order to retrieve your messages. It is
possible to automate this process by creating a ".netrc" file containing your login account information for this POP server. For each POP
server, this file should have a line of the following form. Replace the words mypopserver, mylogin, and mypassword with your own account
information.
machine mypopserver login mylogin password mypassword
This ".netrc" file should be owned and readable only by you.
For debugging purposes, there is also a switch -snoop, which will allow you to watch the POP transaction take place between you and the POP
server.
If nmh has been compiled with SASL support, the -sasl switch will enable the use of SASL authentication. Depending on the SASL mechanism
used, this may require an additional password prompt from the user (but the ".netrc" file can be used to store this password). The
-saslmech switch can be used to select a particular SASL mechanism.
If SASL authentication is successful, inc will attempt to negotiate a security layer for session encryption. Encrypted traffic is labelled
with `(encrypted)' and `(decrypted)' when viewing the POP transaction with the -snoop switch.
FILES
$HOME/.mh_profile The user profile
/etc/nmh/mts.conf nmh mts configuration file
/var/mail/$USER Location of mail drop
PROFILE COMPONENTS
None
SEE ALSO
inc(1)
DEFAULTS
`user' defaults to the current user
`-date'
`-notify all'
CONTEXT
None
MH.6.8 11 June 2012 MSGCHK(1)