The quick (wrong) way:
Edit /etc/mail/sendmail.cf and replace the line that starts with "DS" with "DSmail.foo.com". Then restart sendmail.
Thank you! I tried the good way and the generated sendmail.cf file was much smaller then the original Solaris one so I went for a "wrong" one. The good news is - it seems to improve the situation, I'm not getting any more timeouts. The bad news is I'm getting the following report:
It looks like mailserver does not like my WS name. Is there any way to trace a good scenario? I have another WS that seems to be sending the e-mails ok.
Hi,
I have a problem in sending mail ......
#!/usr/bin/perl -w
$file_length = `cat file.txt | wc -l`;
if ( $file_length == 0) {} else {
`mail -s "Tool" <mymailid> < file.txt`;
}
Eventhough i have used `uuencode Mailfile$App_Server$line | mail <mymailid>`;... (1 Reply)
Hi,
I have a problem in sending mail ......
#!/usr/bin/perl -w
$file_length = `cat file.txt | wc -l`;
if ( $file_length == 0) {} else {
`mail -s "Tool" <mymailid> < file.txt`;
}
Eventhough i have used `uuencode Mailfile$App_Server$line | mail <mymailid>`;... (2 Replies)
i'm a avid fan of making the output of my scripts look pretty. so as a result i put in my scripts a lot of lines that are formed by either ****** or =======
now, outlook seems to have a problem with that. it always removes something that it calls "line breakers" from the emails my scripts send... (5 Replies)
Hi All,
I am using mailx command in shell script to send mail with output files as attachment to my email id.
When my colleague is running the shell script (script code mentioned below), he is getting the mail but without attachment. Attachment is appeared as junk characters in mail... (4 Replies)
Everytime i try sending mails using the command line have a reply form the daemon saying :
? 1
Message 1:
From MAILER-DAEMON Wed Apr 25 10:42:36 2007
Date: Wed, 25 Apr 2007 10:42:36 -0500
From: Mail Delivery Subsystem <MAILER-DAEMON>
To: malarie
MIME-Version: 1.0
Content-Type:... (0 Replies)
Im having trouble with sending a file with attachment. The attach file wasn't sent to to the recepient.
We tested this manually and it works but with the script it doesn't work. I'm thinking there is a problem with the script. Here is the code:
mailto=`/dir/dir2/dir3/GET_EMAIL_ADDR.sh... (9 Replies)
I am calling a unix script in oracle to send a mail to outlook group using mailx. The cmd looks like this:
mailx -s "AA_BBB_" APPostServices@xyz.com
APPostServices@xyz.com isa group but the mail is not sent
but when i send mail to another group it works fine.
What are the things that i... (1 Reply)
Hi, I need to send a email as a txt file and i used the commands,
(echo `echo $EMAIL_MSG` ; uuencode "file.txt" "file.txt" ) | mailx -s "$EMAIL_SUBJECT" "$EMAIL_ID"
I received email with a attachment with all data but i get all of them in one row.
For example:
If file.txt contains value... (1 Reply)
Hi Team,
I have written the following code snippet to send mail with attachment to recipient. But I am getting mail with attachment. But the file is empty. All the 3 Attachment* size is more than 80KB.
Not sure what is wrong in the command.
MSG_BODY1="hi"
LOG_FILE="a/b/c/log1.log"... (2 Replies)
I am trying to send a mail through terminal from last week still now I can't able to send it.If there is any resolution Please help me out of this problem.It is very urgent .
mail -s "check" upload.xxx@example.com < /root/mail.txt
# tail -15 /var/log/maillog
Sep 19 16:52:04 edms032... (15 Replies)
Discussion started by: kannansoft1985
15 Replies
LEARN ABOUT OPENDARWIN
dhcpmgr
dhcpmgr(1M) System Administration Commands dhcpmgr(1M)NAME
dhcpmgr - graphical interface for managing DHCP service
SYNOPSIS
/usr/sadm/admin/bin/dhcpmgr
DESCRIPTION
dhcpmgr is a graphical user interface which enables you to manage the Dynamic Host Configuration Protocol (DHCP) service on the local sys-
tem. It performs the functions of the dhcpconfig, dhtadm, and pntadm command line utilities. You must be root to use dhcpmgr. The dhcpmgr
Help, available from the Help menu, contains detailed information about using the tool.
USAGE
You can perform the following tasks using dhcpmgr:
Configure DHCP service
Use dhcpmgr to configure the DHCP daemon as a DHCP server, and select the data store to use for storing network configuration tables..
Configure BOOTP relay service
Use dhcpmgr to configure the DHCP daemon as a BOOTP relay.
Manage DHCP or BOOTP relay service
Use dhcpmgr to start, stop, enable, disable or unconfigure the DHCP service or BOOTP relay service, or change DHCP server parameters.
Manage DHCP addresses
Use dhcpmgr to add, modify, or delete IP addresses leased by the DHCP service.
Manage DHCP macros
Use dhcpmgr to add, modify or delete macros used to supply configuration parameters to DHCP clients.
Manage DHCP options
Use dhcpmgr to add, modify or delete options used to define parameters deliverable through DHCP.
Convert to a new DHCP data store
Use dhcpmgr to configure the DHCP server to use a different data store, and convert the DHCP data to the format used by the new data
store.
Move DHCP data to another server
Use dhcpmgr to export data from one Solaris DHCP server and import data onto another Solaris DHCP server.
EXIT STATUS
The following exit values are returned:
0 Successful completion.
non-zero An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWdhcm |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO dhcpconfig(1M), dhtadm(1M), pntadm(1M), in.dhcpd(1M), dhcpsvc.conf(4), dhcp_network(4), dhcptab(4), attributes(5), dhcp(5), dhcp_modules(5)
Solaris DHCP Service Developer's Guide
System Administration Guide: IP Services
SunOS 5.10 13 Mar 2001 dhcpmgr(1M)