11-04-2011
Sorry for being such a pain but what do I use in place of example.com? I have done the whole thing but I'm confused about example.com. Is it compulsory to use some domain for this place? and for mail, I'm using postfix but I'll take your advice and use exim4.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi guys. is there a way to calculate numbers and get the accurate results as oppose to the results one gets from using the expr command.
i want to be able to calculate numbers like 1/3 and get the exact results. any help on this is much appreciated. thanks guys
with expr, 1 diveded by 3 =... (4 Replies)
Discussion started by: SkySmart
4 Replies
2. UNIX for Dummies Questions & Answers
My intention was to build a dual boot XP Pro 64 and Ubuntu media server. I had installed the AMD64 version of Ubuntu 8.10 server and thought that I would be able to install Apache server. I need a GUI to work in. I tried to boot and install Mythbuntu 32 bit 8.10, but my machine now won't recognize... (0 Replies)
Discussion started by: docflyboy
0 Replies
3. IP Networking
I need help, how to set traffic management on the ubuntu server with the real life situation.
For example, I would like to set the lowest priority or the "Best-Effort Traffic" for the ports in the range from 35000-37000 only on the TX(transmit) and I would like that same port range has... (1 Reply)
Discussion started by: loopdemack
1 Replies
4. Ubuntu
Can Ubuntu be used as a decent server? Say a web server, a file server, or a mail server? Also, does Ubuntu play nice with virtualbox? Or should I use another brand of Linux to accomplish these things? (3 Replies)
Discussion started by: jastanle84
3 Replies
5. Ubuntu
Hello,
How can I set up a ubuntu server as a FTP server?
Thanks, (1 Reply)
Discussion started by: Pouchie1
1 Replies
6. UNIX for Dummies Questions & Answers
hello,
i have been try installing Ubuntu server 12.04 and receiving a message: no network interface card detected. can someone help me to locate where my interface card is (1 Reply)
Discussion started by: naghazky
1 Replies
7. Linux
Hello,
I could not find the appropriate forum for my problem to boot Ubuntu 12.04.2 server amd64 on Oracle Virtualbox(4.3.0 BETA1) within Win 7, so I posted here to start.
For some reason Ubuntu could not boot anymore, and I am looking any suggestion before I re-install it as I do not want to... (0 Replies)
Discussion started by: yifangt
0 Replies
8. Ubuntu
Hello.
Doing my first steps in Linux and while trying to configure a DHCP server in Linux i encountered some problems:
TOPOLOGY:
- Laptop with Windows 8.1
- VM Player 12 with Linux installed (Ubuntu Server 14.04)
- ICS-DHCP-SERVER installed and running
- Another LAPTOP conected to a... (1 Reply)
Discussion started by: Portuguevos
1 Replies
9. Ubuntu
I wonder what free backup utilities fellow admins are using to clone or backup root disks of ubuntu servers. I try clonezilla, but errors pop up.
Any ideas?
---------- Post updated at 02:51 PM ---------- Previous update was at 09:49 AM ----------
I have used the rsync command like:
rsync... (0 Replies)
Discussion started by: fretagi
0 Replies
LEARN ABOUT DEBIAN
smtpdcheck
smtpdcheck(1) Mail Avenger 0.8.3 smtpdcheck(1)
NAME
smtpdcheck - check SMTP servers
SYNOPSIS
smtpdcheck [--stop {ip-addr|name}] [--timeout seconds]
[prio:]server [[prio:]server]
DESCRIPTION
smtpdcheck checks to see if SMTP servers are available. The intent is for use on secondary mail servers, which have no reason to accept
mail when the primary server is available.
The argument consists of a list of server names, each of which may optionally be prefixed by a numeric MX priority and a colon. (This is
exactly the format for MX records returned by the avenger dns command.) smtpdcheck will attempt to connect to each server in succession.
If one of the servers specified on the command line is available, smtpdcheck will print its name to standard output and exit with status 1.
If smtpdcheck cannot connect to any of the servers, it will exit with status 0. If a system error occurs, smtpdcheck will exit with status
2.
OPTIONS
--stop {ip-addr|name}
Tells smtpdcheck to stop before checking a server with IP address ip-addr or hostname name. If such a host is encountered in the list
of servers and prio is specified, then smtpdcheck will consider it acceptable for other servers with the same priority to be available,
even if those servers were first in the list. In other words, given the following arguments:
smtpdcheck --stop s2.domain.com
10:s1.domain.com 10:s2.domain.com
20:s3.domain.com
This command will always succeed, regardless of whether "s1.domain.com" is up, because "s2.domain.com" has the same priority. On the
other hand, the following command will fail and output "s1.domain.com" if "s1.domain.com" is up:
smtpdcheck --stop s2.domain.com
10:s1.domain.com 20:s2.domain.com
30:s3.domain.com
If a gethostbyname lookup for the argument name fails, smtpdcheck will exit immediately with status 2.
--timeout {seconds]
By default, smtpdcheck spends 10 seconds probing each server. This includes the time to do a DNS lookup, to establish a TCP connection
to port 25 of the server, and to read the "220" SMTP code from the server's SMTP greeting message. To use a different value, specify
it with the --timeout option. The value 0 disables the timeout completely, which is dangerous since smtpdcheck might then end up
waiting forever to read the "220" string.
EXAMPLES
To refuse to relay mail at a secondary MX server when the primary server is not down, you might place the following in
/etc/avenger/secondary (assuming MxLocalRcpt is 1):
dns RECIP_MXES mx "$RECIPIENT_HOST"
setvars
server=`smtpdcheck --stop $MYIP $RECIP_MXES`
test -n "$server" && defer "Please use server $server"
SEE ALSO
avenger(1) dbutil(1) asmtpd.conf(5),
The Mail Avenger home page: <http://www.mailavenger.org/>.
BUGS
smtpdcheck could achieve much lower latency by probing all the servers simultaneously. It should also include some kind of caching, to
avoid repeatedly trying to contact an unavailable server. Finally, hosts with multiple IP addresses could be handled more cleanly, though
what smtpdcheck does should probably work in most cases.
AUTHOR
David Mazieres
Mail Avenger 0.8.3 2012-04-05 smtpdcheck(1)