11-08-2001
A few questions first:
1) How are you connecting? Is it a POP account, or do you log onto the server interactively and run a mail client from there?
2) What error are you getting?
3) If you are logging onto the server, what mail client do you use? (mail, pine, mailx, etc...)
4) What Unix is it?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
help i get this error when i sending a mail
send-mail: fatal: open /etc/postfix/main.cf: No such file or directory
Can't send mail: sendmail process failed
this is my coding
echo "$PRONAME is being restart" | mailxs "Subject:Process" "sally@$THISHOST"
i wish to send this mail to my... (2 Replies)
Discussion started by: kkc
2 Replies
2. HP-UX
Hi,
I am getting illegal option error while using -c to CC in mail.
command used:
mailx -s "Report" -c xyz@abc.com < /tmp/report
Machine: HP UX.
Please help me out.
Looking you forward.
Thanks in Advance.
Jagadeesh. (3 Replies)
Discussion started by: bjagadeesh
3 Replies
3. 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
4. Ubuntu
Hi all,
I'm new here. I already install ubuntu 9.10 and mail server (Dovecot + Postfix + SASL + Squirrel Mail). But after login on squirrelmail. an error message appeared "Error connecting to IMAP server: localhost. 111 : Connection refused". Any solutions?
Thanks (1 Reply)
Discussion started by: dnet
1 Replies
5. Shell Programming and Scripting
Hi All,
I a trying to send a mail from shell script. But it doesn't send the mail to the specified Emailid. Inturn it sends to the Server userid.
Let me know whether i need to include the SMTP server details. If so how?
echo "CVS checkout completed" | mail -s "Auto cvs checkout"... (0 Replies)
Discussion started by: vino_hymi
0 Replies
6. 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
7. UNIX for Dummies Questions & Answers
A linux box is supposed to emailing the results of backups to the windows exchange server, but nothing arrives. it never has, as the muppet who set up the Windows domain knew nothing about linux. I know only slightly more than that...
pretty sure sendmail is the daemon running to handle mail. it... (0 Replies)
Discussion started by: Noewon
0 Replies
8. UNIX for Advanced & Expert Users
Hi,
I have a application that writes log details to a file in a folder.
I am trying to write script to send mail to the user whenever the log is appended with "Error" string and details.
The user should receive error and error details in mail whenever there is a error in the file.
The... (4 Replies)
Discussion started by: maddy26615
4 Replies
9. Linux
Hi guys,
i am using the below command to send mail
mail -s "HI" abcd@how.com < temp_mail.txt
I am getting the below error
send-mail: fatal: bad string length 0 < 1: myorigin =
My os version is as
Linux
Help me with ur suggestion guys thank u. (3 Replies)
Discussion started by: mohanalakshmi
3 Replies
10. 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
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)