mpack behaves abnormally


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting mpack behaves abnormally
# 1  
Old 06-29-2009
mpack behaves abnormally

Hi,

I was using mpack to send mails using cronjob with attachments. It was working perfect. But recently it's behaving strangely. Its sending the mails without any error message but the mail is not getting delivered.

The code I was using:

/usr/local/bin/mpack -s "$SUBJECT" -d $MSGBODY "$ATTFILE" "$MAILTO"

Can anyone suggest any solution!!


thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

'Connect' behaves differently on Solaris 11

Our application fails to run successfully on Solaris 11. The same works fine in Solaris 10. Due to which we are unable to migrate to Solaris 11. The app basically involves forking a child process, which finally connects with parent process. But on Solaris 11, it is unable to connect with parent... (0 Replies)
Discussion started by: wini008
0 Replies

2. Shell Programming and Scripting

Perl Threads Terminating Abnormally.

I've used threads before, but not with Perl. I tried looking up these errors and using 'join' instead of 'detach' with no luck. Here is the code I am currently using: #!/usr/bin/perl -w use warnings; use threads; use threads::shared; $Linux='Linux'; $Greek='Greek'; my... (3 Replies)
Discussion started by: Azrael
3 Replies

3. HP-UX

logrotate: ALERT exitted abnormally with [127]

HP-UX B.11.23 U 9000/800 636114222 unlimited-user license I see this error in my logs sometimes and have very little info on it... I have searched online for some documentation and haven't been able to find much on this issue. The only thing I found on one site is that if my /tmp folder... (4 Replies)
Discussion started by: zixzix01
4 Replies

4. Linux

Does a network switch behaves as webserver

Hi, I have a question on web servers and network switches. Why a network switch should support certificate management, that means generating public and private keys... installing a certificate etcetra. Regards Chaitanya. :b: (4 Replies)
Discussion started by: chaitus.28
4 Replies

5. Shell Programming and Scripting

why Cron behaves different ?

Hi, i have script called script.ksh script.ksh --------- echo "Narayana" >$HOME/script.log echo "$0" |sed 's/.ksh//' >>$HOME/script.log My question is: -------------- when iam executing on the prompt it is giving good results what we have expected... example on the prompt:... (4 Replies)
Discussion started by: lnviyyapu
4 Replies

6. Shell Programming and Scripting

su - user -c 'command' behaves differently

I notice that su - user (note with dash) brings in more of the user's environment than does su - user -c 'command'. For example, if root does an su - user, and types "umask" to the prompt, one umask is displayed; yet, if instead the command is su - user -c 'umask', the value is different. I thought... (2 Replies)
Discussion started by: drokerm
2 Replies

7. AIX

Command behaves different in script and on prompt

$cat /tmp/tuxob.lst udi ***** jim 10 ant 19 ibm ***** $ input=`head -1 /tmp/tuxob.lst | awk '{print $NF}'` $ echo $input The output I am expecting is '*****'. But It is showing me the available files of current directory. When I run the command head -1 /tmp/tuxob.lst | awk '{print $NF} ... (3 Replies)
Discussion started by: panchpan
3 Replies

8. UNIX for Dummies Questions & Answers

cant send mails with mpack/uuencode AIX 5.3

Hi all, I was using mpack for sending mails with pdf as attachment. It was working well. but some days back my server was shut down forcefully due to power failure and I found now the mails are moving to the queue always. I checked in /var/spool/mail/mqueue. Is the forece shutdown has to do... (0 Replies)
Discussion started by: itesh.dash
0 Replies

9. Shell Programming and Scripting

Strange error on mpack from cronjob

I have a shell script which mails a file. It runs fine when executed at prompt, but from cronjob the following line gives an error: $ /opt/local/bin/mpack -s "TTW posts " $FILEPATH/ttw.html myemail@gmail.com Error is : (some junk chars) followed by No such file or directory. Before this... (5 Replies)
Discussion started by: sentinel
5 Replies

10. UNIX for Advanced & Expert Users

command terminated abnormally

I am getting an Error Message as ============================= starting Sortcl Merging And Aggregation time: command terminated abnormally. ============================= , when running a sortcl command.sortcl is a command for sorting large data,using cosort application installed in... (0 Replies)
Discussion started by: tkbharani
0 Replies
Login or Register to Ask a Question
INCM(1) 						      General Commands Manual							   INCM(1)

NAME
incm - Incorporating new mails for Mew SYNOPSIS
incm [options] DESCRIPTION
The incm utility incorporates new mails from the mbox or the maildir to Mew's inbox folder. The options are as follows: -a Retrieve all mails from maildir/{cur,new} for maildir. -b Backup mails. mbox: No truncate mbox file. maildir: To maildir/cur directory. -c Use the Content-Length: field, instead of the "From " line, as a mail separator for mbox. -d path Path to mbox/maildir. If path is a file, mbox is assumed. If path is a directory, maildir is assumed. -m path The same as the -d option. -s Read one mail from stdin instead of mbox/maildir. -i inboxdir A path to the inbox directory. -u Don't touch ".mew-mtime". -f Preserve Unix From (Envelope Sender) line in mbox case. -p mode Specify file mode that creates in mbox case. -o Use the suffix when creating messages. -x suffix Use this suffix. -h Display this help message. -v Display the version. mbox For mbox, the mail separator is "From " in the beginning of lines. The incm utility does not convert ">From " to "From " in the beginning of lines in the body. On Solaris, Content-Length: should be used with the -c option to tell the end of mail. To lock mbox, a lock file("<user>.lock"), flock() or lockf(), and open(O_EXLOCK) are used. maildir For maildir, no lock and no separator are necessary. Consider the following situation: cur/{1,2} new/{3,4} Executing incm without the options results in: cur/{1,2} new/{} to inbox: {3,4} Executing incm with the -a option results in: cur/{} new/{} to inbox: {1,2,3,4} Executing incm with the -b option results in: cur/{1,2,3,4} new/{} to inbox: {3,4} Executing incm with the -a option and the -b option results in: cur/{1,2,3,4} new/{} to inbox: {1,2,3,4} So, if both options are specified, messages are retrieved multiple times. December 25, 2001 INCM(1)