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
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
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
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
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
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
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
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
deleted (0 Replies)
Discussion started by: hce
0 Replies
9. HP-UX
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
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
LEARN ABOUT SUNOS
ftphosts
ftphosts(4) File Formats ftphosts(4)
NAME
ftphosts - FTP Server individual user host access file
SYNOPSIS
/etc/ftpd/ftphosts
DESCRIPTION
The ftphosts file is used to allow or deny access to accounts from specified hosts. The following access capabilities are supported:
allow username addrglob [addrglob...]
Only allow users to login as username from host(s) that match addrglob.
deny username addrglob [addrglob...]
Do not allow users to login as username from host(s) that match addrglob.
A username of * matches all users. A username of anonymous or ftp specifies the anonymous user.
addrglob is a regular expression that is matched against hostnames or IP addresses. addrglob may also be in the form address:netmask or
address/CIDR, or be the name of a file that starts with a slash ('/') and contains additional address globs. An exclamation mark (`!')
placed before the addrglob negates the test.
The first allow or deny entry in the ftphosts file that matches a username and host is used. If no entry exists for a username, then access
is allowed. Otherwise, a matching allow entry is required to permit access.
EXAMPLES
You can use the following ftphosts file to allow anonymous access from any host except those on the class A network 10, with the exception
of 10.0.0.* IP addresses, which are allowed access:
allow ftp 10.0.0.*
deny ftp 10.*.*.*
allow ftp *
10.0.0.* can be written as 10.0.0.0:255.255.255.0 or 10.0.0.0/24.
FILES
/etc/ftpd/ftphosts
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWftpr |
+-----------------------------+-----------------------------+
|Interface Stability |External |
+-----------------------------+-----------------------------+
SEE ALSO
in.ftpd(1M), ftpaccess(4), attributes(5)
SunOS 5.10 1 May 2003 ftphosts(4)