10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I have a DNS server running on Solaris 5.10, I need to update ip address of two urls defined on our dns server how do i do that?
and do i need to restart dns/named service after? how do i restart the service?
Thanks (4 Replies)
Discussion started by: arocker
4 Replies
2. Solaris
Hello all
I recently installed a fresh copy of Solaris.
I noticed that /etc/passwd does not contain an entry for sysadmin Group #14.
Why isnt it there? Other websites state that by default it should be there !
Help!
Regards,
Junaid
---------- Post updated at 01:04 AM ----------... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies
3. Shell Programming and Scripting
i have a file with below contents
Mg_Message_count,1-Aug-12,46
Mg_Message_count,2-Aug-12,48
Mg_Message_count,3-Aug-12,48
Mg_Message_count,4-Aug-12,48
Mg_Message_count,5-Aug-12,48
Mg_Message_count,6-Aug-12,48
Mg_Message_count,7-Aug-12,42
Mg_Message_count,20-Aug-12,24... (10 Replies)
Discussion started by: rabindratech
10 Replies
4. UNIX for Dummies Questions & Answers
I need to create a new internal DNS CNAME record called "project.omc.eod" that points to a server called SPARC27.ds.eod. This is my first time doing this and any help would be greatly appreciated. Thanks in advance (10 Replies)
Discussion started by: mikeade
10 Replies
5. Shell Programming and Scripting
Hi Guys,
Following is my Input file.
Time : Wed Nov 16 02:32:09 2011
Type : INFO
User : dsadm
Message :
Oracle_Connector_2: The connector generated the following TRUNCATE TABLE statement at runtime: TRUNCATE TABLE CANADA_INDUSTRY_OBJECTIVES.
Time : Wed Nov 16... (4 Replies)
Discussion started by: mac4rfree
4 Replies
6. Red Hat
Hi,
I have a question on how to point the DNS server-1's A-record to second DNS server, which is DNS server-2. So, the computer can access other domain which only listed in the DNS server-2. The scenario is as follow:
http://img689.imageshack.us/img689/6333/12234.png
How to configure this... (4 Replies)
Discussion started by: Paris Heng
4 Replies
7. IP Networking
Hy guys, I've a problem configuring my Name Server (using bind 9) which is I'ts always necessary to put all slave Name Server for a zone in the zone resource record file or db (as you prefer)?
I've this scenario:
A - my domain which is son of some TLD and I delegated into two new domains B... (1 Reply)
Discussion started by: pharaoh
1 Replies
8. UNIX for Dummies Questions & Answers
mysql.sock file is missing in /opt/lampp/etc/ is there any backup file available in unix...
since without that file .. project is not opening..
reply me as soon as possible ... (19 Replies)
Discussion started by: senkerth
19 Replies
9. IP Networking
I'm no DNS expert, and I'm hoping someone would be able to help me with this issue I'm facing.
I have a set of links in the following schema:
http://somedomain.com/xyz
http://somedomain.com/abc
http://somedomain.com/123
and they are pointing to content at:
... (1 Reply)
Discussion started by: DeepakS
1 Replies
10. UNIX for Dummies Questions & Answers
I now know that I have to configure dns mx to actually be able to send email correctly to my mail.
I have the link(user guide) on how to do this :
http://bobcares.com/blog/?p=29
but where do I configure it? Is there a specific file for the configuration? I really don't understand this part. (2 Replies)
Discussion started by: anaigini45
2 Replies
Net::Server::Mail::ESMTP::XFORWARD(3pm) User Contributed Perl Documentation Net::Server::Mail::ESMTP::XFORWARD(3pm)
NAME
Net::Server::Mail::ESMTP::XFORWARD - A module to add support to the XFORWARD command in Net::Server::Mail::ESMTP
SYNOPSIS
use Net::Server::Mail::ESMTP;
my @local_domains = qw(example.com example.org);
my $server = new IO::Socket::INET Listen => 1, LocalPort => 25;
my $conn;
while($conn = $server->accept)
{
my $esmtp = new Net::Server::Mail::ESMTP socket => $conn;
# activate some extensions
$esmtp->register('Net::Server::Mail::ESMTP::XFORWARD');
# adding some handlers
$esmtp->set_callback(RCPT => &validate_recipient);
$esmtp->process();
$conn->close()
}
sub validate_recipient
{
my($session, $recipient) = @_;
my $domain;
if($recipient =~ /@(.*)>s*$/)
{
$domain = $1;
}
if(not defined $domain)
{
return(0, 513, 'Syntax error.');
}
elsif(not(grep $domain eq $_, @local_domains) && $session->get_forwarded_addr != "10.1.1.1")
{
return(0, 554, "$recipient: Recipient address rejected: Relay access denied");
}
return(1);
}
DESCRIPTION
When using a Net::Server::Mail::ESMTP script inside a MTA and not in front of Internet, values like client IP address are not accessible to
the script and when the script returns mail to an other instance of smtpd daemon, it logs "localhost" as incoming address. To solve this
problem, some administrators use the XFORWARD command. This module gives the ability to read and store XFORWARD informations.
METHODS
These methods return the values set by the upstream MTA without modifying them so they can be set to undef or "[UNVAILABLE]". See Postfix
documentation for more.
o get_forwarded_values : returns a hash reference containing all values forwarded (keys in lower case).
o get_forwarded_name : returns the up-stream hostname. The hostname may be a non-DNS hostname.
o get_forwarded_address : returns the up-stream network address. Address information is not enclosed with []. The address may be a non-IP
address.
o get_forwarded_source : returns LOCAL or REMOTE.
o get_forwarded_helo : returns the hostname that the up-stream host announced itself. It may be a non-DNS hostname.
o get_forwarded_proto : returns the mail protocol for receiving mail from the up-stream host. This may be an SMTP or non-SMTP protocol
name of up to 64 characters.
SEE ALSO
Net::Server::Mail::ESMTP, <http://www.postfix.org/XFORWARD_README.html>
AUTHOR
Xavier Guimard, <x.guimard@free.fr>
COPYRIGHT AND LICENSE
Copyright (C) 2006 by Xavier Guimard
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.6.4 or,
at your option, any later version of Perl 5 you may have available.
POD ERRORS
Hey! The above document had some coding errors, which are explained below:
Around line 167:
You forgot a '=back' before '=head1'
perl v5.10.0 2007-04-09 Net::Server::Mail::ESMTP::XFORWARD(3pm)