Koozali.org: home of the SME Server

Mail delivery

Mats Thulin

Mail delivery
« on: April 13, 2000, 02:25:55 PM »
Hi !

I am running e-smith-3.1 and i have some problems......

1.
I want all mail not having a correct recipient to be delivered to one specific account.

ex. admin@mydomain.com

and not the non delivered massage to be sent.....

2.
and i want mail to be collected from ISP at regular intervals (30min--1h), except non office hours. Even better would be collecting at specified times...

can this be done ?

Charlie Brady

RE: Mail delivery
« Reply #1 on: April 14, 2000, 05:02:38 AM »
Mats Thulin wrote:

> I am running e-smith-3.1 and i have some problems......
>
> 1. I want all mail not having a correct recipient to be
> delivered to one specific account.
>
> ex. admin@mydomain.com
>
> and not the non delivered massage to be sent.....

Log in as "root" and do:

echo admin@mydomain.com > ~alias/.qmail-default
killall -HUP qmail-send

and all misdirected mail will be delivered to delivered to the admin email address.

> 2. and i want mail to be collected from ISP at regular
> intervals (30min--1h), except non office hours. Even better
> would be collecting at specified times...

E-smith 4 (currently in beta test if you want to try it) will give you more control on Internet access and mail fetching time and frequency.

Regards

Charlie