Page 1 of 1

where mails are stored?

Posted: Thu Dec 31, 2009 3:31 am
by criptus
I did a stupid thing and (hope not) lost some mails.

I configured fetchail to download mails from server. Unfortunately as destination mail (mail here) I set mailbox which wasn't created (yet) in Scalix. So, mails were downloaded (/var/log/maillog) but due to non existing scalix mailbox, they dissapeared somewhere inside file system, scalix folders...

This is now the problem. Where are this mails stored? I searched them across file sistem, but no success. I even created mailbox in scalix after that, but mails did not appear.

Please - where are this mails stored and how to restore them under scalix?

Re: where mails are stored?

Posted: Thu Dec 31, 2009 7:59 am
by mikethebike
you could try looking a the ENU account (omshowenu), but my guess is the mail would have been rejected.

Try looking at the smtp logs, and the audit logs in Scalix to see if they were deleivered or rejected.

Mick

Re: where mails are stored?

Posted: Thu Dec 31, 2009 8:32 am
by criptus
maillog says this:

Dec 30 12:34:59 sx sendmail[31858]: nBUBC30R029890: to=<user@fqdn.domain>, delay=00:20:51, xdelay=00:00:18, mailer=relay,
pri=633746, relay=ISP, dsn=2.0.0, stat=Sent (Message received: 20091230112233.FPTT115.mail-10.ISP@fqdn.domain)

This shows that message was delivered. It sleeps somewhere inside scalix I suppose...

Which scalix log to check for additional info?

Re: where mails are stored?

Posted: Thu Dec 31, 2009 12:12 pm
by mikethebike
criptus,

check the logs in ~scalix/logs....most likley called audit.log

you will see records in there for router and local delivery, its a plain text log so you can search for sender, recipient or message-id

Mick