| Linode Forum https://forum.linode.com/ |
|
| [Resolved] Getting Postfix to work with Logwatch https://forum.linode.com/viewtopic.php?f=11&t=7720 |
Page 1 of 1 |
| Author: | TIA568B [ Sat Sep 10, 2011 6:08 pm ] |
| Post subject: | [Resolved] Getting Postfix to work with Logwatch |
So I setup a linode yesterday and this is my first real venture into setting everything up from scratch with linux. I followed this guide to setup logwatch which should allow me to email myself log files, it handled the postfix installation, but for some reason it doesn't work. I've tried google that suggested some things, but so far nothing I've tried has helped, any ideas? Code: root@TIA568B:/etc/postfix# logwatch --mailto testing <AT> tia568b.com The pages I found suggest fatal: open database /etc/postfix/virtual.db: No such file or directory can be dealt with via postmap /etc/postfix/virtual.db, but for whatever reason this doesn't work with me. Edit: I've tried creating an empty file at /etc/postfix/virtual.db before running postmap, but it postmap doesn't seem to do anything with it. Any ideas? I'm sure I'm just being a complete newb here, but it's completely new to me and my google-fu is failing me |
|
| Author: | Internat [ Sat Sep 10, 2011 6:37 pm ] |
| Post subject: | |
Quote: virtual_alias_maps = hash:/etc/postfix/virtual you need that file to exist, put your mappings in it. and then run postmap /etc/postfix/virtual which will in turn create /etc/postfix/virtual.db[/quote] |
|
| Author: | TIA568B [ Sat Sep 10, 2011 6:53 pm ] |
| Post subject: | |
Internat wrote: Quote: virtual_alias_maps = hash:/etc/postfix/virtual you need that file to exist, put your mappings in it. and then run postmap /etc/postfix/virtual which will in turn create /etc/postfix/virtual.db |
|
| Page 1 of 1 | All times are UTC-04:00 |
| Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |
|