Scalix reply MAIL DELIVERY when amavis fails

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

Oscar
Posts: 60
Joined: Wed Nov 29, 2006 1:18 pm
Location: Terrassa (Spain)

Scalix reply MAIL DELIVERY when amavis fails

Postby Oscar » Wed Sep 24, 2008 3:42 am

Hi, last week my Scalix server had a service interrupt (probably because not enough RAM) and this caused this repeated error:

Code: Select all

Sep 21 22:47:42 scalix sendmail[16335]: m8LKlf51016335: Milter (milter-amavis): local socket name /var/amavis/amavisd-milter.sock unsafe
Sep 21 22:47:42 scalix sendmail[16335]: m8LKlf51016335: Milter (milter-amavis): to error state
Sep 21 22:47:42 scalix sendmail[16335]: m8LKlf51016335: Milter: initialization failed, temp failing commands


During that period of time, mails between internal users didn't arrive to the destination but the sender saw it in the "Sent" folder as correctly delivered. They didn't get a notification error. The messages are not in the queue, they just "dissapeared" without Sendmail reply a MAIL DELIVERY notification to the sender.

After adding more RAM to the server and restart it, Scalix works properly (no change at all in configuration files or web admin).

Well, the important thing here is that we cannot know how many mails from outside arrived to our Scalix server, couldn't be delivered to internal users, and the sender wasn't be notificated about problem delivering it. This is really an important issue.

Where could we look for more information? Thanks a lot.

PD: My Sendmail configuration looks like this:

Code: Select all

INPUT_MAIL_FILTER(`milter-amavis', `S=local:/var/amavis/amavisd-milter.sock, F=T, T=S:10m;R:10m;E:10m')dnl

AFAIK this is the correct configuration in order to ask Sendmail replying a MAIL DELIVERY notification in case a filter fails.

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Wed Sep 24, 2008 11:54 am

As you're saying sendmail for sending, I'm assuming you're using an IMAP client. Look in the /var/log/maillog to see what it was doing with the messages it was being handed.

Oscar
Posts: 60
Joined: Wed Nov 29, 2006 1:18 pm
Location: Terrassa (Spain)

Postby Oscar » Thu Sep 25, 2008 8:49 am

schmoe90 wrote:As you're saying sendmail for sending, I'm assuming you're using an IMAP client. Look in the /var/log/maillog to see what it was doing with the messages it was being handed.


I already pasted what /var/log/maillog says:

Code: Select all

Sep 21 22:47:42 scalix sendmail[16335]: m8LKlf51016335: Milter (milter-amavis): local socket name /var/amavis/amavisd-milter.sock unsafe
Sep 21 22:47:42 scalix sendmail[16335]: m8LKlf51016335: Milter (milter-amavis): to error state
Sep 21 22:47:42 scalix sendmail[16335]: m8LKlf51016335: Milter: initialization failed, temp failing commands


I've doing some tests and it seems that when amavisd-mind is not running then the log says nothing about the incoming mail, just the code already pasted. It's not good since it makes impossible to debug wich mails are sent during the service problem.


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 1 guest