Link to home
Start Free TrialLog in
Avatar of ricbax
ricbax

asked on

MUTT & Sendmail?

I am trying to use MUTT but when I try to send an email I get the following error:

Error sending message, child exited 69 (Service unavailable.).

Any ideas? TIA

ricbax
Avatar of pjedmond
pjedmond
Flag of United Kingdom of Great Britain and Northern Ireland image

Can you print out the command that you are trying to run?

In order to be able to do this, some form of MAil transportation agent needs to be running. Is sendmail available and running as a daemon?

/etc/init.d/sendmail start|stop|status

HTH:)
Avatar of ricbax
ricbax

ASKER

mutt -a file-i-want-attached mailadress@example.com</dev/null

/etc/init.d/sendmail status

sendmail (pid 14290 14282) is running...
Avatar of ricbax

ASKER

Well I isolated the problem to APF (Advanced Policy Firewall) by R-fx Networks but can'y figure out why it is blocking it.

All the ports for SMTP,POP3, and IMAP are open.
So you can telnet to 127.0.0.1 port 25, and also to 192.x.x.x 25 (the external address of the SMTP server)?

Guessing on your configuration one or the other sendmail identity could be required, and blocked by the firewall. The telnet to port 25 is a good way of finding the fault in this type of problem. HAve a look here for more details on finding what is(not) working:

http://www.yuki-onna.co.uk/email/smtp.html
 
Avatar of ricbax

ASKER

I have actually solved this on my own over the weekend.

By adding the line sendmail:ALL to my /etc/hosts.allow, however I am not so sure if this is the most secure thing to have done?

My logs are now sent out which is what I wanted.
ASKER CERTIFIED SOLUTION
Avatar of pjedmond
pjedmond
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial