Mail loops are a pain in any mail system. Some, like PMDF, have provisions to check for and deal with mail loops -- as far as I know, postfix does not. My suggestion would be to trap things like this with a procmail filter for any user who ends up in a situation like this.
On Wed, 5 Dec 2007, Drew Weaver wrote: > Hi there. > > I am a wee bit confused. Ever since implementing Policyd into my postfix > implementation last week (just for sender throttling) I have noticed that > seemingly at random I am getting this in my maillog for local system users. > That is, users whom have entries in /etc/password and are not listed in > /etc/aliases and who's mail is local to this server. > > Dec 2 09:47:34 mail policyd: rcpt=332998, throttle=new(a), > host=192.168.1.104, [EMAIL PROTECTED], [EMAIL PROTECTED], size=0/2048 > 0000, quota=0/250000000, count=1/150(1), rcpt=1/3600(1), threshold=0%|0%|0% > Dec 2 09:47:35 mail postfix/local[26023]: 43621687B0: to=<[EMAIL > PROTECTED]>, relay=local, delay=1, status=bounced (mail forwarding loop > for [EMAIL PROTECTED]) > -- > Dec 3 10:26:25 mail policyd: rcpt=454008, throttle=new(a), > host=192.168.1.111, [EMAIL PROTECTED], [EMAIL PROTECTED], s > ize=0/20480000, quota=0/250000000, count=1/150(1), rcpt=1/3600(1), > threshold=0%|0%|0% > Dec 3 10:26:27 mail postfix/local[1586]: 1EFD868283: to=<[EMAIL PROTECTED]>, > relay=local, delay=2, status=bounced (mail forwarding loop > for [EMAIL PROTECTED]) > -- > Dec 4 14:05:46 mail policyd: rcpt=615899, throttle=new(a), > host=192.168.1.140, [EMAIL PROTECTED], [EMAIL PROTECTED], size=0/20480000, > quot > a=0/250000000, count=1/150(1), rcpt=1/3600(1), threshold=0%|0%|0% > Dec 4 14:05:48 mail postfix/local[25228]: D9E61681F7: to=<[EMAIL > PROTECTED]>, relay=local, delay=2, status=bounced (mail forwarding loop > for [EMAIL PROTECTED]) > -- > Dec 4 15:43:17 mail policyd: rcpt=626392, throttle=clear(a), > host=192.168.13.60, [EMAIL PROTECTED], [EMAIL PROTECTED], size=0/20480000, quo > ta=0/250000000, count=1/150(3), rcpt=1/3600(3), threshold=0%|0%|0% > Dec 4 15:43:19 mail postfix/local[3293]: E1F8D6843B: to=<[EMAIL PROTECTED]>, > relay=local, delay=2, status=bounced (mail forwarding loop > for [EMAIL PROTECTED]) > -- > Dec 4 15:57:08 mail policyd: rcpt=627649, throttle=new(a), > host=192.168.1.73, [EMAIL PROTECTED], [EMAIL PROTECTED], size=0/20480000, q > uota=0/250000000, count=1/150(1), rcpt=1/3600(1), threshold=0%|0%|0% > Dec 4 15:57:09 mail postfix/local[3293]: 65A5C6816F: to=<[EMAIL PROTECTED]>, > relay=local, delay=1, status=bounced (mail forwarding loop > for [EMAIL PROTECTED]) > -- > Dec 4 15:57:33 mail policyd: rcpt=627694, throttle=clear(a), > host=192.168.13.168, [EMAIL PROTECTED], [EMAIL PROTECTED], size=0/20480000, qu > ota=0/250000000, count=1/150(9), rcpt=1/3600(9), threshold=0%|0%|0% > Dec 4 15:57:34 mail postfix/local[3292]: 5545D6842F: to=<[EMAIL PROTECTED]>, > relay=local, delay=1, status=bounced (mail forwarding loop > for [EMAIL PROTECTED]) > -- > Dec 4 16:11:19 mail policyd: rcpt=629007, throttle=new(a), > host=192.168.13.145, [EMAIL PROTECTED], [EMAIL PROTECTED], size=0/20480000, qu > ota=0/250000000, count=1/150(1), rcpt=1/3600(1), threshold=0%|0%|0% > Dec 4 16:11:20 mail postfix/local[3292]: 7E79168452: to=<[EMAIL PROTECTED]>, > relay=local, delay=1, status=bounced (mail forwarding loop > for [EMAIL PROTECTED]) > -- > Dec 5 07:18:11 mail policyd: rcpt=706493, throttle=new(a), > host=192.168.1.95, [EMAIL PROTECTED], [EMAIL PROTECTED], size=0/204800 > 00, quota=0/250000000, count=1/150(1), rcpt=1/3600(1), threshold=0%|0%|0% > Dec 5 07:18:16 mail postfix/local[6972]: 2720368440: to=<[EMAIL PROTECTED]>, > relay=local, delay=5, status=bounced (mail forwarding loop > for [EMAIL PROTECTED]) > > the weird thing is, you will see one of these mail forwarding loop msgs, then > you will see 3 messages get delivered and then you will see another mail > forwarding loop message. > > Does anyone have any advice? > > Thanks, > -Drew > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > policyd-users mailing list > policyd-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/policyd-users > ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ policyd-users mailing list policyd-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/policyd-users