Working with qmail logs files

I have just sent a mail, can you check if mail has gone? A user ask me....Opps...How can i check this? which file should i check first?


Yeah, there many case when you need to check if mail has gone or not? Here qmail Log files which you need to check.


vi /var/qmail/supervise/qmail-send/log/main/current | tai64nlocal

this file logs all send mail & using tai64nlocal you can convert qmail log time to local time zone.

a sample output is here

.......
...
2005-02-12 18:17:18.381291500 delivery 16691: success: 68.17.2.4_accepted_message./Remote_host_said:_75_42.0.0_Message_recd_OK/
....
...

Above sample log tell the a message on date 12th Feb 2005 on 06:17 PM was sent to 68.17.2.4 IP ( a remote mail server IP) successfully.

How to disable the web access in Squirrel Mail?

Open the Vqadmin page, tick on "Disable web access" and "Disable IMAP access". Thats it. This will disable web access for that user.

Alternatively you can use squirrel mail plugins to do the same. Check for plugins like Lockout,