Sponsored Content
Top Forums UNIX for Advanced & Expert Users How do I ftp to an unknown host? Post 36206 by yeheyaansari on Friday 23rd of May 2003 04:52:24 AM
Old 05-23-2003
And to know whether you can mail on that server:
If you network programming, you can then write a DNS query to look for MX record, and if such record exist, then you can mail to that server also.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

sendmail : 550 host unknown

Hi I try to configure snedmail as smtp for my solaris box. if the useres are local there's no problem everything's working fine, but is it outside, sendmail says it could find the host. why?! all other tools find diffrent host? Could anyone tell me how I set up an easy mx ? So I test it with... (29 Replies)
Discussion started by: mrsaint
29 Replies

2. UNIX for Dummies Questions & Answers

ftp: ftp/tcp: unknown service

Hello, when I type ftp on the server (Sco Unix 5.0.4) it gives an error messages which is "ftp: ftp/tcp: unknown service" but I have this service in '/etc/services' file. Also when I want to telnet from another machine to this machine is gives also 'telnet: tcp/telnet: unknown service' this... (2 Replies)
Discussion started by: alisevA3
2 Replies

3. IP Networking

FTP - Connection Closed By Remote Host

Hi, I am having a problem with our AIX 4.3.3 Server accessing FTP. The error is " Connection Closed By Remote Host". Scenario: Since i put a default gateway on the server FTP connection is having a problem but when i remove the default gateway it will works fine.. Is there any way not... (1 Reply)
Discussion started by: mouglybean
1 Replies

4. UNIX for Dummies Questions & Answers

unknown host

Hello all I'm new to this site and I have to say that ,it is just awesome. I was able to get most of my questions answered by reading the archives. I've been a UNIX programmer for a while now but new to administration. I just installed SunOS 5.9 on my desktop ( i86pc) . Everything... (3 Replies)
Discussion started by: luft
3 Replies

5. Solaris

PING - Unknown host 127.0.0.1, Unknown host localhost - Solaris 10

Hello, I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems: 1. When I execute the command ping, I get weird results: bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Discussion started by: Przemek
4 Replies

6. UNIX for Dummies Questions & Answers

Get IP of FTP Host

All, This may be very trivial, but I am unaware. We normally do FTP to hosts with their hostname as follows. $ ftp c.b.a.com Now, How do I know the IP address of c.b.a.com? Thanks, Rahul. (3 Replies)
Discussion started by: rahulrathod
3 Replies

7. Solaris

Classic: sendmail[pid]: My unqualified host name (hostname) unknown

Hi all, I'd like to disable sendmail permanently on my "new" 220R with freshly installed SunOS 5.10 because it prints annoying messages to the system console. Also I'm interested in how to fix the actual problem with unqualified host name. My unqualified host name (hostname) unknown; sleeping... (2 Replies)
Discussion started by: pseudocoder
2 Replies

8. UNIX for Advanced & Expert Users

Hostname -f hostname: Unknown host

deleted (0 Replies)
Discussion started by: hce
0 Replies

9. HP-UX

Sendmail - relay Host unknown since adding dns

Hi ever since we´ve added the server in DNS, sendmail stopped working, but everything seems to be configured properly although in the mail logs we see: Jul 10 16:52:58 itc01 sendmail: t6AEqrHT005593: from=root, size=6, class=0, nrcpts=1, msgid=<201507101452.t6AEqrHT005593@itc01.headquarter.tmm>,... (3 Replies)
Discussion started by: fretagi
3 Replies

10. Shell Programming and Scripting

FTP File to Multiple Host

I need to ftp a file to several servers. I have seen a lot examples on how to ftp several files from a host, none for what I need. I'm sorry if this has already been answered, hopefully someone can point me in the right direction. I'm very new to scripting. Thanks. (3 Replies)
Discussion started by: slqtech
3 Replies
Mail::DKIM::AuthorDomainPolicy(3)			User Contributed Perl Documentation			 Mail::DKIM::AuthorDomainPolicy(3)

NAME
Mail::DKIM::AuthorDomainPolicy - represents an Author Domain Signing Practices (ADSP) record DESCRIPTION
The Author Domain Signing Policies (ADSP) record can be published by any domain to help a receiver know what to do when it encounters an unsigned message claiming to originate from that domain. The record is published as a DNS TXT record at _adsp._domainkey.DOMAIN where DOMAIN is the domain of the message's "From" address. More details about this record can be found by reading the specification itself at <http://tools.ietf.org/html/rfc5617>. CONSTRUCTORS
fetch() Lookup an ADSP record in DNS. my $policy = Mail::DKIM::AuthorDomainPolicy->fetch( Protocol => "dns", Author => 'jsmith@example.org', ); If the ADSP record is found and appears to be valid, an object containing that record's information will be constructed and returned. If the ADSP record is blank or simply does not exist, an object representing the default policy will be returned instead. (See also "is_implied_default_policy()".) If a DNS error occurs (e.g. SERVFAIL or time-out), this method will "die". new() Construct a default policy object. my $policy = Mail::DKIM::AuthorDomainPolicy->new; parse() Construct an ADSP record from a string. my $policy = Mail::DKIM::AuthorDomainPolicy->parse( String => "dkim=all", Domain => "aaa.example", ); METHODS
apply() Apply the policy to the results of a DKIM verifier. my $result = $policy->apply($dkim_verifier); The caller must provide an instance of Mail::DKIM::Verifier, one which has already been fed the message being verified. Possible results are: accept The message is approved by the sender signing policy. reject The message is rejected by the sender signing policy. It can be considered very suspicious. neutral The message is neither approved nor rejected by the sender signing policy. It can be considered somewhat suspicious. Note: in the future, these values may become: none - no ADSP record is published pass - a passing signature is present fail - ADSP record is "all" and no passing signature is found discard - ADSP record is "discardable" and no passing signature is found nxdomain - the DNS domain does not exist temperror - transient error occurred permerror - non-transient error occurred is_implied_default_policy() Tells whether this policy implied. my $is_implied = $policy->is_implied_default_policy; If you fetch the policy for a particular domain, but that domain does not have a policy published, then the "default policy" is in effect. Use this method to detect when that happens. location() Tells where the policy was fetched from. If the policy is domain-wide, this will be domain where the policy was published. If the policy is user-specific, TBD. If nothing is published for the domain, and the default policy was returned instead, the location will be "undef". policy() Get or set the outbound signing policy (dkim=) tag. my $sp = $policy->policy; Outbound signing policy for the entity. Possible values are: "unknown" The default. The entity may sign some or all email. "all" All mail from the domain is expected to be signed, using a valid Author signature, but the author does not suggest discarding mail without a valid signature. "discardable" All mail from the domain is expected to be signed, using a valid Author signature, and the author is so confident that non-signed mail claiming to be from this domain can be automatically discarded by the recipient's mail server. "NXDOMAIN" The domain is out of scope, i.e., the domain does not exist in the DNS. signall() True if policy is "all". signall_discardable() True if policy is "strict". BUGS
o Section 4.3 of the specification says to perform a query on the domain itself just to see if it exists. This class is not currently doing that, i.e. it might report NXDOMAIN because _adsp._domainkey.example.org is nonexistent, but it should not be treated the same as example.org being nonexistent. AUTHOR
Jason Long, <jlong@messiah.edu> COPYRIGHT AND LICENSE
Copyright (C) 2006-2009 by Messiah College This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available. perl v5.18.2 2012-11-28 Mail::DKIM::AuthorDomainPolicy(3)
All times are GMT -4. The time now is 04:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy