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,How to separate Spamassassin log files
Is there any way of getting Spamassassin logging into a separate file instead of putting it into syslog?
YES ! Here it is...
YES ! Here it is...
Pick an unused local facility ie local5.
Configure SA log to that facility by using the -s parameter.
spamd -s local5
Configure your syslogd to dump local5.* into a separate file, and exclude it from your other logs. Here's a quick syslog.conf example:
*.info;mail.none;authpriv.none;cron.none;local5.none; /var/log/messages
local5.*; /var/log/spamassassin
Subscribe to:
Posts (Atom)