Koozali.org: home of the SME Server

7.2 Fresh Install cannot send emails

ralphdorr

7.2 Fresh Install cannot send emails
« on: August 17, 2007, 05:28:08 PM »
I cannot figure out why the server does not send email. /var/log/maillog is empty. Mail Log Analysis shows:

Completed messages: 331
Recipients for completed messages: 332
Total delivery attempts for completed messages: 332
Average delivery attempts per completed message: 1.00302
Bytes in completed messages: 598723
Bytes weighted by success: 604110
Average message qtime (s): 10.2878

Total delivery attempts: 809
  success: 332
  failure: 0
  deferral: 477
Total ddelay (s): 3409.520519
Average ddelay per success (s): 10.269640
Total xdelay (s): 10602.386685
Average xdelay per delivery attempt (s): 13.105546
Time span (days): 5.44324
Average concurrency: 0.0225441

Reasons for Deferral Reports shows:

Reasons for deferral

One line per reason for deferral. Information on each line:
* del is the number of deliveries that ended for this reason.
* xdelay is the total xdelay on those deliveries.

del   xdelay  reason
423  8491.23  CNAME lookup failed temporarily. (#4.4.3)/
 54    18.05  Temporary error on maildir delivery. (#4.3.0)/

Even Webmail fails to send. Incoming mail works fine. Qmail log shows:

@4000000046c5babf0a7112a4 status: local 0/10 remote 1/20
@4000000046c5bad30ab6baac delivery 28: deferral: CNAME_lookup_failed_temporarily._(#4.4.3)/

Please help. This is rather puzzling.

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: 7.2 Fresh Install cannot send emails
« Reply #1 on: August 17, 2007, 06:46:56 PM »
Two shoots in dark:

1) server configurated as internal server only
    Try to reconfigure your server (by do login as admin on shell) and search if it´s configurated as server-only, server-gateway or server-internalonly

2) no DNS resolution
   Try to ping www.terra.com.br on shell... should try to ping 200.176.3.142 ... if you got no answers, edit your /etc/resolv.conf and add a line to a resolver.

...

Offline mmccarn

  • *
  • 2,653
  • +10/-0
Re: 7.2 Fresh Install cannot send emails
« Reply #2 on: August 18, 2007, 03:12:50 PM »
SME does not use maillog.

Outgoing emails will appear in /var/log/qmail/current

Incoming emails will appear in both /var/loq/qpsmtpd/current and /var/log/qmail/current

It's not very extensive, but here's a link on SME log files: http://wiki.contribs.org/Log_Files#E-mail_logfiles

Common reasons that SME users experience problems sending email off-site:
  • ISP is blocking port 25
  • Your SME is on a dynamic IP, and is listed in blocklists
In either of these cases, the solution is to configure your sme to send outgoing email through your ISP's mail server: http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13#Other_E-mail_Settings

Finally, here's the basic 'howto' for email setup.  There's nothing here that looks relevant to your situation, so once you figure out what's up register to edit the wiki and add your notes: http://wiki.contribs.org/Email