Thanks MadeinGermany,
I have fixed it by editing sendmail.mc and making a new sendmail.cf : Just add the DS line as you want it to appear in sendmail.cf
I didn't set this up (I'm fairly new here) and since the Exchange server is a Windows server, it's looked after by the Windows team.
I couldn't put multiple entries in /etc/hosts for outlook.fqdn.uk with multiple IP addresses, which is why I needed another way to tell sendmail where the mail server was.
I found the procedure on an oracle docs webpage (I'm not allowed to post URLs ) but I wouldn't have found it without the hints and tips in this thread.
Thanks to all who contributed.
I have a Sol system. The lock timeout is default 15 minutes. I tried to make it longer but cannot by
lock -t timeout
Anyon can tell me the cmd in solai for this please.
A thank in advance (2 Replies)
Hi All,
I would like to know the file modification time till seconds in Unix. So I tried ls -e and it worked fine. This Solaris 5.10
-rw-rw-r-- 1 test admin 22 Sep 12 11:01:37 2008 test_message
But I am not able to run the same command in SOlaris 5.6 and also in AIX/HP
Is there... (3 Replies)
Hi,
I am having the following problem.
test > hourOfDay=06 ; delayTime=$(((9-$hourOfDay)*60)) ; echo $delayTime
180
test > hourOfDay=07 ; delayTime=$(((9-$hourOfDay)*60)) ; echo $delayTime
120
test > hourOfDay=08 ; delayTime=$(((9-$hourOfDay)*60)) ; echo $delayTime
bash: (9-08: value... (5 Replies)
Hi guys,
Im trying to subtract time in ksh script. i.e. basically im querying a database and i want to get the time 10mins before hand..(from)
in ksh
CurrMin=$(date "+%M")
from=`expr $CurrMin - 10`
to=$CurrMin
however if i run this i say at 2 or 3 mins past the hour, i.e.... (7 Replies)
Hi all,
I have just installed Solaris 10 on an old Fujitsu Primepower 650 which has been wiped clean. I haven't installed anything apart from the OS yet, so the machine is 99% idle.
I get long delays when logging in, first after entering the id then another long delay after entering a valid... (8 Replies)
Hi Friends,
I am very much new to sendmail or any other mta. I just installed sendmail 8.14 on my rhel6 machine. I was trying to send email to local user but after entering the message when i press CTRL-D it simply hangs. I also tried sending email via mutt but again mutt also hangs. It sends... (0 Replies)
Hi guys,
could you help to find a way to get the past 30 mins time in solaris.
version:
bash-3.00# uname -a
SunOS solaris 5.10 Generic_142910-17 i86pc i386 i86pc
I had tried the following ways, it works fine in GNU Linux, but doesn't work in Solaris.
# date
Tue Apr 2 01:01:49 CST... (4 Replies)
Hi,
I'm trying to send out mails from my server using mailx, however everytime I send one, it appears to be held in the /var/spool/mqueue for 44 mins before being sent.
I'm quite new to sendmail, so don't really know where to start with this /var/log/syslog displays the following:
Dec 16... (4 Replies)
Discussion started by: badoshi
4 Replies
LEARN ABOUT OSF1
res_init
res_init(3) Library Functions Manual res_init(3)NAME
res_init - Searches for a default domain name and Internet address
LIBRARY
Standard C Library (libc.a, libc.so)
SYNOPSIS
#include <sys/types.h> #include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h>
void res_init ( void );
DESCRIPTION
The res_init() function reads the /etc/resolv.conf file for the default domain name and the Internet address of the initial hosts running
the name server, even if the name server is not functioning.
The res_init() function is one of a set of subroutines that form the resolver, a set of functions that resolve domain names. All resolver
functions use the /usr/include/resolv.h header file, which defines the _res data structure. The res_init() function stores domain name
information in the _res data structure.
NOTES
If the /etc/resolv.conf file does not exist, the res_init() function attempts name resolution using the local /etc/hosts file. If the sys-
tem is not using a domain name server, the /etc/resolv.conf file should not exist. The /etc/host file should be present on the system even
if the system is using a name server. In this instance, the file should contain the host IDs that the system requires to function even if
the name server is not functioning.
FILES
Contains the name server and domain name.
Contains hostnames and their addresses for hosts in a network. This file is used to resolve a hostname into an Internet address.
RELATED INFORMATION
Functions: dn_comp(3), dn_expand(3), dn_find(3), dn_skipname(3), _getlong(3), _getshort(3), putlong(3), putshort(3), res_mkquery(3),
res_query(3), res_search(3), res_send(3). delim off
res_init(3)