| |||||||||||||||||||||||||||||||
|
I am using P. 2.2.10-1ubuntu0.1 (i.e. from package at Ubuntu 6.06 LTS) as a mail gateway. Recently I started to observe very strange behavior on my production server: When I send an e-mail to user1, I expect the mail to be delivered from smarthost to user1. Instead, it is delivered to a list named user1g, where user1 is a member of... (which is obviously wrong). No matter how detailed logs I turned on, all I can see is proper addressing in "first round" (before content filtering) ... May 17 17:47:48 XXX postfix/smtp[4414]: 6729C2DEC6D: to=<user1>, relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 A0125AAF620 queued for delivery) no address processing in content filters (I swear) and when the e-mail is reinjected, and in Round Two myscript.pl is invoked immediately May 17 17:47:52 XXX postfix/smtpd[4617]: D369C2E5CA6: client=localhost.example.org[127.0.0.1] May 17 17:47:52 XXX postfix/cleanup[4162]: D369C2E5CA6: message-id=<464C791E.2090302> May 17 17:47:53 XXX postfix/qmgr[4069]: D369C2E5CA6: from=<daria.morgendorffer>, size=1158, nrcpt=1 (queue active) May 17 17:47:56 XXX myscript[4741]: running as UID 112 EUID 112 GID 112 112 EGID 112 112 ... some config snippets: ** main.cf: virtual_alias_maps = hash:/etc/postfix/virtual, hash:/etc/postfix/groups/virtual alias_maps = hash:/etc/postfix/aliases, hash:/etc/postfix/groups/aliases virtual_alias_domains = $virtual_alias_maps canonical_maps = pcre:/etc/postfix/canonical content_filter = scan:[127.0.0.1]:10023 ** virtual: user1 user1 ** groups/aliases: user1g: "|/usr/local/scripts/myscript.pl /etc/postfix/groups/user1g.list" ** groups/user1g.list: user1 ** canonical: /^user1$/ real.name Server is running and packaged Postfix depends on libdb4.3: 4.3.29-5build1 Berkeley v4.3 Database Libraries [runtime] Neither "postfix check" nor "postsuper -c" produce anything. Restarting Postfix doesn't produce anything interesting in mail.log. Although no error messages would indicate corrupted DB, I've tried to unlink all db's and rebuild them, rebooted the machine. Nothing helped. Is it me, Ubuntu or Postfix? Thanks thanks in advance!
| ||||||||||||||||||||||||||||||
© 2004-2008 readlist.com