HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] configure exim4



On Wednesday 07 February 2007 14:26, Josu Lazkano Lete wrote:
> what is sendfax?
>
> i have installed exim4 with my debian base installation

sendfax is the command to send a fax via a Hylafax server and is part of the 
hylafax-client package.

Debian have recently changed from a monolithic Exim configuration file to a 
directory full of snippets.  While IMHO this is a good thing in the long run, 
right now it's a PITA since everything everyone knows is in terms of one big 
file.

Anyway.  If you have an ISP with an SMTP/POP3 server, you most probably want 
to use their SMTP server as a smarthost and retrieve your email from their 
POP3 server using a system-wide fetchmail.  If you have a static IP address, 
then you can specify that address  (more properly, some hostname resolving to 
that address) as the MX for your domain, receive mail directly via SMTP  (or 
a system-wide fetchmail)  and send mail directly on the Internet.

Try
# dpkg-reconfigure exim4
# dpkg-reconfigure exim4-config

to get the configuration questions, and select "internet site" or "sent by 
smarthost" as appropriate.

# /etc/init.d/exim4 restart

to restart exim.  Then try

# sendmail fred
<replace fred with some non-root user account>
Now type the following.  Note that backspace and ctrl+U are the only editing 
keys that will work!  First, a minimal set of message headers;
To: fred@xxxxxxxxxxxxxxxx
From: root@localhost
Subject: test message

<at this point you should press RETURN twice to leave a blank line.  Now comes 
the message body.>
this is a test message
wibble
blah
.
<last line should be a full stop by itself>

The prompt should now come back.  Login as fred (or whoever) and see if you 
have a mail message.  If so, local delivery is working, so try the same thing 
but for a different server; use `sendmail fred@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx` 
and type the corresponding address in the headers.

If you are using a smarthost, you may need to authenticate by doing a POP3 
retrieval before you can send.  If you are using fetchmail then this will 
take care of that for you.  Otherwise, set up a cronjob to do
echo -e "USER fred\nPASS b00bies\nQUIT" | nc pop3.someisp.co.uk 110
every so often  (replace "fred" and "b00bies" with your login and password).  
This will do a very quick POP3 login and logout again.  


If you are still having problems, you might get more joy out of a more 
exim-specific mailing list.

--
AJS

____________________ HylaFAX(tm) Users Mailing List _______________________
  To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
 On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
  *To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*




Project hosted by iFAX Solutions