John McDonnell writes:
> Morning.
> just a couple of q's about the mail server I've set up here.
> Background:
> machine: 486 running debian/smail uses fetchmail -p ETRN to collect mail
Don't use smail. All smail setups I have had the unfortune to get in
contact with where violating RFC 1123. There are plenty alternatives.
> and
> queues mail for delivery on a cron schedule.
> what I want to do:
> The mail server that it's replacing checks the priority of a message and
> if
> it's high, sends it immediately. Any ideas how I'd do that with the
> above setup?
The sendmail FAQ explains it, and I'm sure I could dig something up for
postfix, but no idea about smail.
The general idea is to make sure that your mailhost doesn't use DNS
(coz that will bring up a connection to your ISP's nameserver), designate
a smarthost (your ISP's mail server), and configure the smtp mailer as
"expensive".
> Other problem: Connecting to the machine is slow (either with a mail
> client
> or telnet) is slow. from telnet I get:
> Trying 192.168.1.4...
> Connected to mail1.manganbros.ie.
> Escape character is '^]'.
>> for a while and then a connection.
> any ideas?
More than likely DNS related. If it's a small network, make sure all
machines are in /etc/hosts. Otherwise, check your name server setup.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!