05-28-2013
- Well, you can run sendmail -bt to test the address rewrite rules on each host's semdmail.cf, or
- get a different client that takes a SMTP server name and maybe even knows how to attach, like mutt.
- The bad host is not sending the dummy.com email to a viable server. You might run nslookup -qt=MZ dummy.com on each host to see if they see mx DNS records the same. Check /etc/resolv.conf for the DNS servers configured.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I like to use mailx -s to send an entire xxxxx.log to my outlook e-mail account.
Any help will be appreciated.
Thanks. (6 Replies)
Discussion started by: simt
6 Replies
2. Shell Programming and Scripting
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)
Discussion started by: Terrible
5 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to move a users multiple folders (archieved email) from a Solaris UNIX system to Outlook 2003. The user accesses the mail via ELM and folder are kept on his home drive, not under /var/mail. I was told I can use either IMAP and/or POP3 to connect to the UNIX server from outlook and just... (1 Reply)
Discussion started by: rpennell
1 Replies
4. Shell Programming and Scripting
Hi,
I am using the following code to send mails to desired recipients about a batch job notification.
(
echo "From:" "Database Server"
echo "To:" ${MAILTO}
echo "Subject: ${SUBJECT}"
echo "MIME-Version: 1.0"
echo "Content-Type: text/html"
echo "Content-Disposition: inline"
cat... (3 Replies)
Discussion started by: Sabari Nath S
3 Replies
5. 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
6. UNIX and Linux Applications
Hi,
I am sending an email from Microsoft Outlook 2010 (microsoft exchange) to a unix server. I am not receiving the email in server but I am getting the following error in outlook.
Your message:
From: x@y.com
Subject:
Could not be delivered because the domain name was... (4 Replies)
Discussion started by: Neethu
4 Replies
7. Shell Programming and Scripting
Hi
I have input file in solaris machine and my question is..,how to send email that input file to Microsoft outlook 2010 in excel /xls format. (5 Replies)
Discussion started by: buzzme
5 Replies
8. Shell Programming and Scripting
Hi all,
I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can sent from the unix server to my outlook account,I can't send from outlook to unix.
How can I achieve this ? How can I send a mail from my outlook or other... (5 Replies)
Discussion started by: igelegin
5 Replies
9. UNIX for Advanced & Expert Users
Hi all,
I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix.
How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 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
LEARN ABOUT DEBIAN
net::nslookup
Net::Nslookup(3pm) User Contributed Perl Documentation Net::Nslookup(3pm)
NAME
Net::Nslookup - Provide nslookup(1)-like capabilities
SYNOPSIS
use Net::Nslookup;
my @addrs = nslookup $host;
my @mx = nslookup(type => "MX", domain => "perl.org");
DESCRIPTION
"Net::Nslookup" provides the capabilities of the standard UNIX command line tool nslookup(1). "Net::DNS" is a wonderful and full featured
module, but quite often, all you need is `nslookup $host`. This module provides that functionality.
"Net::Nslookup" exports a single function, called "nslookup". "nslookup" can be used to retrieve A, PTR, CNAME, MX, NS, SOA, and TXT
records.
my $a = nslookup(host => "use.perl.org", type => "A");
my @mx = nslookup(domain => "perl.org", type => "MX");
my @ns = nslookup(domain => "perl.org", type => "NS");
my $name = nslookup(host => "206.33.105.41", type => "PTR");
"nslookup" takes a hash of options, one of which should be term, and performs a DNS lookup on that term. The type of lookup is determined
by the type argument. If server is specified (it should be an IP address, or a reference to an array of IP addresses), that server(s) will
be used for lookups.
If only a single argument is passed in, the type defaults to A, that is, a normal A record lookup.
If "nslookup" is called in a list context, and there is more than one address, an array is returned. If "nslookup" is called in a scalar
context, and there is more than one address, "nslookup" returns the first address. If there is only one address returned, then, naturally,
it will be the only one returned, regardless of the calling context.
domain and host are synonyms for term, and can be used to make client code more readable. For example, use domain when getting NS records,
and use host for A records; both do the same thing.
server should be a single IP address or a reference to an array of IP addresses:
my @a = nslookup(host => 'example.com', server => '4.2.2.1');
my @a = nslookup(host => 'example.com', server => [ '4.2.2.1', '128.103.1.1' ])
By default, when doing CNAME, MX, and NS lookups, "nslookup" returns names, not addresses. This is a change from versions prior to 2.0,
which always tried to resolve names to addresses. Pass the recurse => 1 flag to "nslookup" to have it follow CNAME, MX, and NS lookups.
Note that this usage of "recurse" is not consistent with the official DNS meaning of recurse.
# returns soemthing like ("mail.example.com")
my @mx = nslookup(domain => 'example.com', type => 'MX');
# returns soemthing like ("127.0.0.1")
my @mx = nslookup(domain => 'example.com', type => 'MX', recurse => 1);
SOA lookups return the SOA record in the same format as the `host` tool:
print nslookup(domain => 'example.com', type => 'SOA');
dns1.icann.org. hostmaster.icann.org. 2011061433 7200 3600 1209600 3600
TIMEOUTS
Lookups timeout after 15 seconds by default, but this can be configured by passing timeout => X to "nslookup".
DEBUGGING
Pass debug => 1 to "nslookup" to emit debugging messages to STDERR.
AUTHOR
darren chamberlain <darren@cpan.org>
perl v5.12.4 2011-08-15 Net::Nslookup(3pm)