|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: amavisd-new, postfix, and forwarding messages
gagel
cnc.bc.ca
Date: Mon Nov 03 2003 - 10:26:00 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You could also use transport maps instead. My setup uses this. Follow
the link below and go to the Relay/Gateway link.
http://postfix.cnc.bc.ca/twiki/bin/view/Main/WebHome
----- Original Message Follows -----
> 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
>
------------------------------------------
Kevin W. Gagel
Postmaster for
College of New Caledonia
250) 562-2131 loc. 448
250) 561-5848 loc. 448
postmaster
cnc.bc.ca
http://www.cnc.bc.ca
--------------------------------------------------------------
The College of New Caledonia, Visit us at http://www.cnc.bc.ca
Virus scanning is done on all incoming and outgoing email.
--------------------------------------------------------------
- application/pgp-keys attachment: stored
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]