From: Tony Earnshaw (no email)
Date: Sat Nov 01 2003 - 10:16:24 EST
David White wrote:
[...]
> I tried creating these as aliases in /etc/aliases, but Postfix bounces
> the mail as soon as it arrives, without bothering to send it through
> amavisd-new first. So that's no good. Another option was to create
> actual Linux accounts and home directories for each user, then use
> .forward files in each user's directory to redirect the mail after
> amavisd-new has processed it. That seemed to work, but I was hoping to
> avoid creating tons of accounts/home directories by providing this
> service. I'd rather them just exist as "virtual" users.
>
> Is there a better way to accomplish what I'm trying to do?
postfix-2.0.16-20030921, SASL, TLS, LDAP.
I checked this for you (this is a test/semi-production rig), since I
also have users who get mail forwarded, instead of reading mail from
their user directories. Nice if I could spam-scan the mail for them with
amavisd-new / SA 2.60 and possibly reject before forwarding.
The way I use is the one Wayne uses - alias_maps. Although I have two,
one for system aliases and one for mail redirects. I do not use .forward
files at all. Mail to the user is accepted, goes through an amavisd-new
/ SA 2.60 proxy content filter, goes to cleanup, which gives it a
different serial no. and give it to qmgr -> local -> smtp for
forwarding. According to my log.
If it works for me and Wayne, it should work for you too. The only thing
I can think of, is your sender and recipient restrictions in main.cf.
Like to post your postconf -n?
As I mentioned in a discussion with two or three others, scrolling back
through the log (I use 'tail -f' in an X terminal and can scroll back
4096 lines) will show exactly what's happening - and hopefully why.
--Tonni
-- Tony Earnshaw Do not CC me or your mail will probably be rejected. I don't like this, either. Blame it on Swen and a slow Internet connection. http://www.billy.demon.nl Mail: billy-at-billy.demon.nl
|
|
|