Posts: 279
afab4
Joined: 17 Oct 2009
#1
Maybe SamK can figure this one out too. From bootlog:

Code: Select all

ALERT: exim paniclog /var/log/exim4/paniclog has non-zero size, mail system possibly broken ...]
and from the /var/log/exim4/paniclog

Code: Select all

2011-08-28 07:47:43 socket bind() to port 25 for address ::1 failed: Cannot assign requested address: daemon abandoned
Deleting the"paniclog' file stops the error message temporarily. The issue here from what I have read is port 25 being blocked by some internet providers resulting in the error message. After so many instances of failure to connect to port 25 a paniclog is written.

So how to keep port 25 from being scanned ?
Last edited by afab4 on 31 Aug 2011, 10:20, edited 1 time in total.
Posts: 1,028
SamK
Joined: 21 Aug 2011
#2
Hi afab4,
Thanks for the vote of confidence but I will probably be of very little help as the symptoms are not present here. This pretty much rules out reliably diagnosing and testing the issue.
afab4 wrote: ...From bootlog:...
...from the /var/log/exim4/paniclog...
These entries do not appear on my test-rig machine. In my case I do not even have a /var/log/exim4/paniclog. My installation is still pretty much a stock antiX-M11; the above suggests that yours has a different configuration of apps.

From some superficial research it seems there may be more than one cause of the problem, but blocking of port 25 by your ISP is the most likely culprit. Have you confirmed this to be the case? This link may help your diagnosis:

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://kb.siteground.com/article/How_to_check_whether_SMTP_port_25_is_blocked.html"
linktext was:"http://kb.siteground.com/article/How_to ... ocked.html"
====================================

If this is the cause, a search on Google turns up some suggested ways of tackling it.

If blocking of port 25 is ruled out you might then try to identify a local cause:
  • * Booting using a live CD from an alternative distro are the symptoms present?
  • * Booting using an antiX CD are the symptoms present?
  • * Adding which app produces the symtoms - does it offer configuration options?
  • * Is there some form of contention between your kernel and network adaptor? Try substituting alternatives.
etc...

Not much real help but the best I can offer.
Posts: 279
afab4
Joined: 17 Oct 2009
#3
After some further research, i did this:

Code: Select all

 apt-get install ssmtp 

and configured it (edit /etc/ssmtp/ssmtp.conf) to use my Google Mail server:

root=noreply@yourdomain.com
mailhub=smtp.gmail.com:587
UseSTARTTLS=yes
UseTLS=yes
AuthUser=youremail@yourdomain.com
AuthPass=password
FromLineOverride=YES

Can't take the credit for this though. It came from here.

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://serverfault.com/questions/54069/how-to-setup-ubuntu-mail-server-with-google-apps"
linktext was:"http://serverfault.com/questions/54069/ ... oogle-apps"
====================================


Installing ssmtp takes out exim4 but I also went into the antixcc and edited the startup services, removing exim4.

Everything works and no more error messages.