10 msgMy Virtual users can't send messages to their o...
7 msgAND parameters of Postfix question ?

Px messing plain mail addresses, group members
\ daria.morgendorffer (28 May 2007)
. \ mouss (28 May 2007)

4 msgno logs
8 msgmyhostname
1 msghow to manage destination status cache
2 msgTemporary failure with Postfix and Cyrus
21 msg/usr/lib/sasl2 failed to open directory
1 msgCyrus and Postfix
3 msgreject_unknown_sender_domain problem
6 msgAutomatic message
14 msgmailbox_command prepends a 'From ' ?
3 msgvirtual and lmtp for virtual hosting
10 msgStill problems..
4 msgDouble transport
2 msgMUA with SSL/TLS Client Certificate support (SO...
3 msgRegarding S/MIME Messages
17 msgaddress_verify_sender
10 msgQuestion about Logs
9 msgproblem with bad syntax and Outlook 2007
Subject:Px messing plain mail addresses, group members
Group:Postfix-users
From:daria.morgendorffer
Date:28 May 2007


 
Hi list,

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