Sponsored Content
Top Forums UNIX for Dummies Questions & Answers getting some error periodically - sendmail Post 302383406 by ironmask2004 on Tuesday 29th of December 2009 02:18:17 PM
Old 12-29-2009
you need to add a longname to your /etc/hosts file


Code:
192.168.1.231  myserver  myserver.mycompany.com

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

script working periodically

We have a strange problem that started happening a few months ago. We have a unix script being called from within a microfocus cobol program using the call "SYSTEM" cobol command. The problem is sometimes the script will run, sometimes it wont - without us changing anything! The other strange... (1 Reply)
Discussion started by: lf398
1 Replies

2. SCO

Periodically terminals stop responding

hi everybody, this is my first visit here. i have a sco unixware 7.1 box. terminals are connected thru digi multiserial devices. some users are also connected over the lan from pc stations running terminal emulation programs. in few last weeks periodically ( almost every other day ) happens... (2 Replies)
Discussion started by: vpanag
2 Replies

3. Programming

How to periodically execute a function in C ??

Hi, I am looking for a C library feature, to which I can say execute a function every 10 seconds. for Eg #include <timer_lib.h> fun1(){ printf("I am still cool "); } int main(){ run(10,&fun1); // Should register & execute the function fun1 every 10 seconds return 0x0; }... (24 Replies)
Discussion started by: RipClaw
24 Replies

4. Shell Programming and Scripting

ftp script to get files periodically

Hi Folks Interesting question hope u get the ans: I have to ftp a file ABC(Timestamp) to server XYZ My script should be doing the every 2 hours. after the transfer I need to confirm whether the file ABC(timestamp) got transfer properly or not. My concern is after the "put ABC"... (7 Replies)
Discussion started by: Haque123
7 Replies

5. Shell Programming and Scripting

Check mail periodically with tcsh

A friend of mine is switching his email from one University server to a different one. He is using the tcsh, and on his current server, the shell will tell him (when the prompt is displayed) if there is new mail. The new server, where he also has the tcsh, does not do this by default. I got him... (0 Replies)
Discussion started by: kermit
0 Replies

6. Solaris

DNS needs to be refreshed periodically to work

We are having a problem with external address being resolved. All internal addresses work fine. Refreshing the DNS server service solves the issue for a little while(I don't have an exact number on how long, <1 hour) and then eventually stops working. We use Webem to manage the build in DNS and... (2 Replies)
Discussion started by: Lespaul20
2 Replies

7. Shell Programming and Scripting

Help with script periodically pushing files from one host to another

Dear all, I would like to write a script to push periodically some downloaded files from one host to another box. Basically, I have host A downloading files. When those files are downloaded they are moved automatically to a directory called: /home/user_A/downloaded, still on host A. Then... (1 Reply)
Discussion started by: freddie50
1 Replies

8. Shell Programming and Scripting

[Solved] Getting the CPU utilization in a file periodically

Hi, I am trying to create a script that will run for every 5 mins to grep the CPU utilization. I have 6 instances running on a single unix server for which I have to export the individual utilizations periodically. Can we fetch the utilization of 6 instances in separate files using top... (8 Replies)
Discussion started by: jhilmil
8 Replies

9. Shell Programming and Scripting

MQ depth Periodically

Hi I am trying to a write a script which gives message queue depth for every 5 mins in a file. Commands that I use are runmqsc QM_Name display ql(*) curdepth Since I can use only MQSC commands I need help on how to fetch the output on to a file after executing display command. (3 Replies)
Discussion started by: jhilmil
3 Replies

10. Shell Programming and Scripting

Refresh Firefox tabs periodically

Hi all I'm a shell script newbie so please have some patience with me :D To my question: I wrote a simple shell script which opens a firefox instance with multiple tabs. So far, so good. But I would also like to have all these tabs automatically refreshed (let's say all 45 seconds). Is that... (1 Reply)
Discussion started by: NemesisBBB
1 Replies
MAILER.CONF(5)						      BSD File Formats Manual						    MAILER.CONF(5)

NAME
mailer.conf -- configuration file for mailwrapper(8) DESCRIPTION
The file /etc/mail/mailer.conf contains a series of lines of the form name program [arguments ...] The first word of each line is the name of a program invoking mailwrapper(8). (For example, on a typical system /usr/sbin/sendmail would be a symbolic link to mailwrapper(8), as would newaliases(1) and mailq(1). Thus, name might be ``sendmail'' or ``newaliases'' etc.) The second word of each line is the name of the program to actually execute when the first name is invoked. The further arguments, if any, are passed to the program, followed by the arguments mailwrapper(8) was called with. The file may also contain comment lines, denoted by a '#' mark in the first column of any line. FILES
/etc/mail/mailer.conf EXAMPLES
This example shows how to set up mailer.conf to invoke the traditional sendmail(8) program: # Execute the "real" sendmail program located in # /usr/libexec/sendmail/sendmail sendmail /usr/libexec/sendmail/sendmail send-mail /usr/libexec/sendmail/sendmail mailq /usr/libexec/sendmail/sendmail newaliases /usr/libexec/sendmail/sendmail This example shows how to invoke a sendmail-workalike like Postfix in place of sendmail(8): # Emulate sendmail using postfix sendmail /usr/local/sbin/sendmail send-mail /usr/local/sbin/sendmail mailq /usr/local/sbin/sendmail newaliases /usr/local/sbin/sendmail This example shows how to invoke a sendmail-workalike with Exim (from ports) in place of sendmail(8): # Emulate sendmail using exim sendmail /usr/local/sbin/exim send-mail /usr/local/sbin/exim mailq /usr/local/sbin/exim -bp newaliases /usr/bin/true rmail /usr/local/sbin/exim -i -oee This example shows the use of the mini_sendmail package from ports in place of sendmail(8). Note the use of additional arguments. # Send outgoing mail to a smart relay using mini_sendmail sendmail /usr/local/bin/mini_sendmail -srelayhost send-mail /usr/local/bin/mini_sendmail -srelayhost SEE ALSO
mail(1), mailq(1), newaliases(1), mailwrapper(8), sendmail(8) postfix(1) (ports/mail/postfix), mini_sendmail(8) (ports/mail/mini_sendmail) HISTORY
mailer.conf appeared in NetBSD 1.4. AUTHORS
Perry E. Metzger <perry@piermont.com> BUGS
The entire reason this program exists is a crock. Instead, a command for how to submit mail should be standardized, and all the "behave dif- ferently if invoked with a different name" behavior of things like mailq(1) should go away. BSD
October 8, 2010 BSD
All times are GMT -4. The time now is 09:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy