Migrate production to new install (keep local copy and forward trough the MTA)

borisb borislav.balgaranov at broadsign.com
Thu Sep 8 21:37:16 CEST 2011


Dear all,

We have an old Kolab 2.0.4 and we are currently in a process of
migrating it to the latest one.

The problem of migration arises from the fact that during the transition
we would like to have both server (the old and the new one) to run
simultaneously and both to be able to handle the mail for the users.

This would be the ideal scenario for a couple of reasons, which I find
very important:
 - Gradual move of departments to the new server. (There are users that
would need personal attention in configuring their mail clients.)
 - Keep at all times the old production machine as a working backup in
case something goes wrong with the new installation.
 - After all users are migrated to the new server change of the MX
record pointing to the new Kolab.

I know it is doable on a mailbox filtering level, but is it possible on
a MTA level.

Here is a brief explanation of the method I am using and a postfix log.


GOALS:
- Deliver mail to the mailboxes on production server mail02
- Forward a copy of each mail to the new Server mail00 on a MTA level


CONDITIONS:
mail02.domain.com		Old kolab 2.0.4 currently in production
hostname acc. hosts:
	127.0.0.1	localhost
	192.168.35.39	mail02 mail02.domain.com

mail00.domain.com		New kolab 2.3.2 
hostname acc. hosts:
	127.0.0.1	localhost mail00
	192.168.35.86   mail00 mail00.domain.com 


Accounts and mailboxes are migrated.
The domain for the new Kolab is domain.com
The two machines are in the DMZ same subnet, diff. IP's
mail02 is using the primary DNS server
mail00 is using a decoy DNS server with an MX record pointing to itself


METHOD DESCRIPTION:
Local delivery and forwarding part on the production box mail02.
I use the aliases file on mail02 to forward the mail to the local and
remote machines and transport maps to define a transport for the mail in
the mailQ reffered to mail00:

(<<aliases>>)
user:	user at domain.com,user at mail00.domain.com

(<<transport>>)
mail00.domain.com	smtp:[192.168.35.86]	


Now comes the tricky part delivery to the new box - mail00
I am trying to use trivial rewrite and rewrite the recipient address
with practically no success...

Here is the method I use, but I can't get out of the "mail forwarding
loop"


(<<main.cf>>) changes marked with +@ and -@:
#   local host
myhostname = mail00.broadsign.com
mydomain = broadsign.com
myorigin = $mydomain

# 
masquerade_domains = broadsign.com
#       Kolab Server does _not_ want to forward to local machines by
default,
#       so we can add "envelope_recipient" to masquerade_classes:
masquerade_classes = envelope_sender, envelope_recipient,
                     header_sender, header_recipient

# See kolab/issue3549 (append_dot_mydomain allows circumventing
kolabfilter-verify-from-header)
append_dot_mydomain = no
-@ #remote_header_rewrite_domain = domain.invali
+@ remote_header_rewrite_domain = mail00.broadsign.com

#   relaying
mynetworks = xxx,yyy,zzz ......
mydestination = broadsign.com
relay_domains = 


+@ ## !!!!!
+@ # Header rewrite, using trivial-rewrite. It should rewrite the domain
with 
+@ local_header_rewrite_clients = static:all
+@ remote_header_rewrite_domain = broadsign.com





(<<canonical>>) changes:
user at mail00.domain.com		user at domain.com


RESULT:

If mail arrives to mail00, trough smtp from mail02 it is bounced with
(mail forwarding loop)
If i use a telnet session on mail00 it is delivered to the mailbox.
Here below find some postfix log extracts case A. - telnet, case B.
forwarded from mail02.

Case A.
Telnet session on mail00
Sep 08 15:14:10 mail00 <info> postfix/smtpd[12089]: <
unknown[192.168.35.39]: rcpt to:<user at mail00.domain.com>
Sep 08 15:14:10 mail00 <info> postfix/smtpd[12089]: extract_addr: input:
<user at mail00.domain.com>
Sep 08 15:14:10 mail00 <info> postfix/smtpd[12089]: smtpd_check_addr:
addr=user at mail00.domain.com
Sep 08 15:14:10 mail00 <info> postfix/smtpd[12089]: ctable_locate: move
existing entry key user at mail00.domain.com
Sep 08 15:14:10 mail00 <info> postfix/smtpd[12089]: extract_addr: in:
<user at mail00.domain.com>, result: user at mail00.domain.com
Sep 08 15:14:10 mail00 <info> postfix/smtpd[12089]: ctable_locate: leave
existing entry key user at mail00.domain.com
Sep 08 15:14:10 mail00 <info> postfix/smtpd[12089]: maps_find:
recipient_canonical_maps: user at mail00.domain.com: not found
Sep 08 15:14:10 mail00 <info> postfix/smtpd[12089]: mail_addr_find:
user at mail00.domain.com -> (not found)
Sep 08 15:14:10 mail00 <info> postfix/smtpd[12089]: maps_find:
canonical_maps: hash:/kolab/etc/postfix/canonical(0,lock|fold_fix):
user at mail00.domain.com = user at domain.com
Sep 08 15:14:10 mail00 <info> postfix/smtpd[12089]: mail_addr_find:
user at mail00.domain.com -> user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/qmgr[12057]: CDE7386DB01:
from=<test_user at gmail.com>, size=359, nrcpt=1 (queue active)
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: <
localhost[127.0.0.1]: MAIL FROM:<test_user at gmail.com>
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: extract_addr: input:
<test_user at gmail.com>
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: smtpd_check_addr:
addr=test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: send attr address =
test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: input attribute
value: test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: rewrite_clnt: local:
test_user at gmail.com -> test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: send attr address =
test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: input attribute
value: test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: resolve_clnt: `' ->
`test_user at gmail.com' -> transp=`smtp' host=`gmail.com'
rcpt=`test_user at gmail.com' flags= class=default
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: ctable_locate:
install entry key test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: extract_addr: in:
<test_user at gmail.com>, result: test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: <
localhost[127.0.0.1]: RCPT TO:<user at domain.com>
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: extract_addr: input:
<user at domain.com>
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: smtpd_check_addr:
addr=user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: send attr address =
user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: input attribute
value: user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: rewrite_clnt: local:
user at domain.com -> user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: send attr address =
user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: input attribute
value: user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: resolve_clnt: `' ->
`user at domain.com' -> transp=`local' host=`mail00.domain.com'
rcpt=`user at domain.com' flags= class=local
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: ctable_locate:
install entry key user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: extract_addr: in:
<user at domain.com>, result: user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: ctable_locate: leave
existing entry key user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: maps_find:
recipient_canonical_maps: user at domain.com: not found
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: maps_find:
recipient_canonical_maps: user: not found
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: mail_addr_find:
user at domain.com -> (not found)
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: maps_find:
canonical_maps: user at domain.com: not found
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: maps_find:
canonical_maps: user: not found
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: mail_addr_find:
user at domain.com -> (not found)
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]:
dict_ldap_lookup: /kolab/etc/postfix/ldapdistlist.cf: Searching with
filter
(&(objectClass=kolabGroupOfNames)(!(kolabDeleteFlag=*))(mail=user at domain.com))
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]:
dict_ldap_lookup: /kolab/etc/postfix/ldapvirtual.cf: Searching with
filter
(&(!(kolabDeleteFlag=*))(|(alias=user at domain.com)(mail=user at domain.com))(!(cn:dn:=external)))
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: dict_ldap_lookup:
Search returned user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: maps_find:
virtual_alias_maps: ldap:/kolab/etc/postfix/ldapvirtual.cf(0,lock|
fold_fix): user at domain.com = user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12117]: mail_addr_find:
user at domain.com -> user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/qmgr[12057]: 6056586DB22:
from=<test_user at gmail.com>, size=552, nrcpt=1 (queue active)
Sep 08 15:14:32 mail00 <info> postfix/smtp[12119]: input attribute
value: test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtp[12119]: input attribute
value: user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtp[12119]: input attribute
value: user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtp[12119]: input attribute
value: rfc822;user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtp[12119]: deliver_message: from
test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtp[12119]: >
127.0.0.1[127.0.0.1]:10024: MAIL FROM:<test_user at gmail.com> SIZE=552
Sep 08 15:14:32 mail00 <info> postfix/smtp[12119]: >
127.0.0.1[127.0.0.1]:10024: RCPT TO:<user at domain.com>
ORCPT=rfc822;user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtp[12119]: <
127.0.0.1[127.0.0.1]:10024: 250 2.1.0 Sender <test_user at gmail.com> OK
Sep 08 15:14:32 mail00 <info> postfix/smtp[12119]: <
127.0.0.1[127.0.0.1]:10024: 250 2.1.5 Recipient <user at domain.com> OK
Sep 08 15:14:32 mail00 <info> postfix/pipe[12115]: CDE7386DB01:
to=<user at domain.com>, orig_to=<user at mail00.domain.com>,
relay=kolabfilter, delay=52, delays=52/0/0/0.22, dsn=2.0.0, status=sent
(delivered via kolabfilter service)
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: <
localhost[127.0.0.1]: MAIL FROM:<test_user at gmail.com> BODY=7BIT
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: extract_addr: input:
<test_user at gmail.com>
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: smtpd_check_addr:
addr=test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: send attr address =
test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: input attribute
value: test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: rewrite_clnt: local:
test_user at gmail.com -> test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: send attr address =
test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: input attribute
value: test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: resolve_clnt: `' ->
`test_user at gmail.com' -> transp=`smtp' host=`gmail.com'
rcpt=`test_user at gmail.com' flags= class=default
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: ctable_locate:
install entry key test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: extract_addr: in:
<test_user at gmail.com>, result: test_user at gmail.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: <
localhost[127.0.0.1]: RCPT TO:<user at domain.com>
ORCPT=rfc822;user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: extract_addr: input:
<user at domain.com>
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: smtpd_check_addr:
addr=user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: send attr address =
user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: input attribute
value: user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: rewrite_clnt: local:
user at domain.com -> user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: send attr address =
user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: input attribute
value: user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: resolve_clnt: `' ->
`user at domain.com' -> transp=`local' host=`mail00.domain.com'
rcpt=`user at domain.com' flags= class=local
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: ctable_locate:
install entry key user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: extract_addr: in:
<user at domain.com>, result: user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: ctable_locate: leave
existing entry key user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: maps_find:
recipient_canonical_maps: user at domain.com: not found
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: maps_find:
recipient_canonical_maps: user: not found
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: mail_addr_find:
user at domain.com -> (not found)
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: maps_find:
canonical_maps: user at domain.com: not found
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: maps_find:
canonical_maps: user: not found
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: mail_addr_find:
user at domain.com -> (not found)
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]:
dict_ldap_lookup: /kolab/etc/postfix/ldapdistlist.cf: Searching with
filter
(&(objectClass=kolabGroupOfNames)(!(kolabDeleteFlag=*))(mail=user at domain.com))
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]:
dict_ldap_lookup: /kolab/etc/postfix/ldapvirtual.cf: Searching with
filter
(&(!(kolabDeleteFlag=*))(|(alias=user at domain.com)(mail=user at domain.com))(!(cn:dn:=external)))
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: dict_ldap_lookup:
Search returned user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: maps_find:
virtual_alias_maps: ldap:/kolab/etc/postfix/ldapvirtual.cf(0,lock|
fold_fix): user at domain.com = user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/smtpd[12121]: mail_addr_find:
user at domain.com -> user at domain.com
Sep 08 15:14:32 mail00 <info> postfix/qmgr[12057]: 8D63486DB01:
from=<test_user at gmail.com>, size=1107, nrcpt=1 (queue active)
Sep 08 15:14:32 mail00 <info> postfix/smtp[12119]: 6056586DB22:
to=<user at domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.22,
delays=0.06/0.01/0/0.14, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as
8D63486DB01)
Sep 08 15:14:32 mail00 <info> postfix/pipe[12123]: 8D63486DB01:
to=<user at domain.com>, relay=kolabmailboxfilter, delay=0.25,
delays=0.02/0.01/0/0.23, dsn=2.0.0, status=sent (delivered via
kolabmailboxfilter service)



Case B.
forward from mail02
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: <
unknown[192.168.35.39]: MAIL FROM:<test_user at gmail.com> SIZE=1671
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: extract_addr: input:
<test_user at gmail.com>
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: smtpd_check_addr:
addr=test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: send attr address =
test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: input attribute
value: test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: rewrite_clnt: local:
test_user at gmail.com -> test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: send attr address =
test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: input attribute
value: test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: resolve_clnt: `' ->
`test_user at gmail.com' -> transp=`smtp' host=`gmail.com'
rcpt=`test_user at gmail.com' flags= class=default
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: ctable_locate:
install entry key test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: extract_addr: in:
<test_user at gmail.com>, result: test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: <
unknown[192.168.35.39]: RCPT TO:<user at mail00.domain.com>
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: extract_addr: input:
<user at mail00.domain.com>
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: smtpd_check_addr:
addr=user at mail00.domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: send attr address =
user at mail00.domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: input attribute
value: user at mail00.domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: rewrite_clnt: local:
user at mail00.domain.com -> user at mail00.domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: send attr address =
user at mail00.domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: input attribute
value: user at mail00.domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: resolve_clnt: `' ->
`user at mail00.domain.com' -> transp=`smtp' host=`mail00.domain.com'
rcpt=`user at mail00.domain.com' flags= class=default
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: ctable_locate:
install entry key user at mail00.domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: extract_addr: in:
<user at mail00.domain.com>, result: user at mail00.domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: ctable_locate: leave
existing entry key user at mail00.domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: maps_find:
recipient_canonical_maps: user at mail00.domain.com: not found
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: mail_addr_find:
user at mail00.domain.com -> (not found)
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: maps_find:
canonical_maps: hash:/kolab/etc/postfix/canonical(0,lock|fold_fix):
user at mail00.domain.com = user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12627]: mail_addr_find:
user at mail00.domain.com -> user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/qmgr[12057]: BB40586DB01:
from=<test_user at gmail.com>, size=1884, nrcpt=1 (queue active)
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: <
localhost[127.0.0.1]: MAIL FROM:<test_user at gmail.com>
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: extract_addr: input:
<test_user at gmail.com>
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: smtpd_check_addr:
addr=test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: send attr address =
test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: input attribute
value: test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: rewrite_clnt: local:
test_user at gmail.com -> test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: send attr address =
test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: input attribute
value: test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: resolve_clnt: `' ->
`test_user at gmail.com' -> transp=`smtp' host=`gmail.com'
rcpt=`test_user at gmail.com' flags= class=default
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: ctable_locate:
install entry key test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: extract_addr: in:
<test_user at gmail.com>, result: test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: <
localhost[127.0.0.1]: RCPT TO:<user at domain.com>
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: extract_addr: input:
<user at domain.com>
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: smtpd_check_addr:
addr=user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: send attr address =
user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: input attribute
value: user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: rewrite_clnt: local:
user at domain.com -> user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: send attr address =
user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: input attribute
value: user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: resolve_clnt: `' ->
`user at domain.com' -> transp=`local' host=`mail00.domain.com'
rcpt=`user at domain.com' flags= class=local
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: ctable_locate:
install entry key user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: extract_addr: in:
<user at domain.com>, result: user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: ctable_locate: leave
existing entry key user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: maps_find:
recipient_canonical_maps: user at domain.com: not found
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: maps_find:
recipient_canonical_maps: user: not found
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: mail_addr_find:
user at domain.com -> (not found)
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: maps_find:
canonical_maps: user at domain.com: not found
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: maps_find:
canonical_maps: user: not found
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: mail_addr_find:
user at domain.com -> (not found)
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]:
dict_ldap_lookup: /kolab/etc/postfix/ldapdistlist.cf: Searching with
filter
(&(objectClass=kolabGroupOfNames)(!(kolabDeleteFlag=*))(mail=user at domain.com))
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]:
dict_ldap_lookup: /kolab/etc/postfix/ldapvirtual.cf: Searching with
filter
(&(!(kolabDeleteFlag=*))(|(alias=user at domain.com)(mail=user at domain.com))(!(cn:dn:=external)))
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: dict_ldap_lookup:
Search returned user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: maps_find:
virtual_alias_maps: ldap:/kolab/etc/postfix/ldapvirtual.cf(0,lock|
fold_fix): user at domain.com = user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtpd[12632]: mail_addr_find:
user at domain.com -> user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/qmgr[12057]: D524B86DB25:
from=<test_user at gmail.com>, size=2077, nrcpt=1 (queue active)
Sep 08 15:24:58 mail00 <info> postfix/smtp[12634]: input attribute
value: test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtp[12634]: input attribute
value: user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtp[12634]: input attribute
value: user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtp[12634]: input attribute
value: rfc822;user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtp[12634]: deliver_message: from
test_user at gmail.com
Sep 08 15:24:58 mail00 <info> postfix/smtp[12634]: >
127.0.0.1[127.0.0.1]:10024: MAIL FROM:<test_user at gmail.com> SIZE=2077
Sep 08 15:24:58 mail00 <info> postfix/smtp[12634]: >
127.0.0.1[127.0.0.1]:10024: RCPT TO:<user at domain.com>
ORCPT=rfc822;user at domain.com
Sep 08 15:24:58 mail00 <info> postfix/smtp[12634]: <
127.0.0.1[127.0.0.1]:10024: 250 2.1.0 Sender <test_user at gmail.com> OK
Sep 08 15:24:58 mail00 <info> postfix/smtp[12634]: <
127.0.0.1[127.0.0.1]:10024: 250 2.1.5 Recipient <user at domain.com> OK
Sep 08 15:24:59 mail00 <info> postfix/pipe[12630]: BB40586DB01:
to=<user at domain.com>, orig_to=<user at mail00.domain.com>,
relay=kolabfilter, delay=0.25, delays=0.03/0/0/0.22, dsn=2.0.0,
status=sent (delivered via kolabfilter service)
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: <
localhost[127.0.0.1]: MAIL FROM:<test_user at gmail.com> BODY=7BIT
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: extract_addr: input:
<test_user at gmail.com>
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: smtpd_check_addr:
addr=test_user at gmail.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: send attr address =
test_user at gmail.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: input attribute
value: test_user at gmail.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: rewrite_clnt: local:
test_user at gmail.com -> test_user at gmail.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: send attr address =
test_user at gmail.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: input attribute
value: test_user at gmail.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: resolve_clnt: `' ->
`test_user at gmail.com' -> transp=`smtp' host=`gmail.com'
rcpt=`test_user at gmail.com' flags= class=default
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: ctable_locate:
install entry key test_user at gmail.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: extract_addr: in:
<test_user at gmail.com>, result: test_user at gmail.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: <
localhost[127.0.0.1]: RCPT TO:<user at domain.com>
ORCPT=rfc822;user at domain.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: extract_addr: input:
<user at domain.com>
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: smtpd_check_addr:
addr=user at domain.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: send attr address =
user at domain.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: input attribute
value: user at domain.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: rewrite_clnt: local:
user at domain.com -> user at domain.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: send attr address =
user at domain.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: input attribute
value: user at domain.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: resolve_clnt: `' ->
`user at domain.com' -> transp=`local' host=`mail00.domain.com'
rcpt=`user at domain.com' flags= class=local
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: ctable_locate:
install entry key user at domain.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: extract_addr: in:
<user at domain.com>, result: user at domain.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: ctable_locate: leave
existing entry key user at domain.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: maps_find:
recipient_canonical_maps: user at domain.com: not found
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: maps_find:
recipient_canonical_maps: user: not found
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: mail_addr_find:
user at domain.com -> (not found)
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: maps_find:
canonical_maps: user at domain.com: not found
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: maps_find:
canonical_maps: user: not found
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: mail_addr_find:
user at domain.com -> (not found)
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]:
dict_ldap_lookup: /kolab/etc/postfix/ldapdistlist.cf: Searching with
filter
(&(objectClass=kolabGroupOfNames)(!(kolabDeleteFlag=*))(mail=user at domain.com))
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]:
dict_ldap_lookup: /kolab/etc/postfix/ldapvirtual.cf: Searching with
filter
(&(!(kolabDeleteFlag=*))(|(alias=user at domain.com)(mail=user at domain.com))(!(cn:dn:=external)))
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: dict_ldap_lookup:
Search returned user at domain.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: maps_find:
virtual_alias_maps: ldap:/kolab/etc/postfix/ldapvirtual.cf(0,lock|
fold_fix): user at domain.com = user at domain.com
Sep 08 15:24:59 mail00 <info> postfix/smtpd[12637]: mail_addr_find:
user at domain.com -> user at domain.com
Sep 08 15:24:59 mail00 <info> postfix/qmgr[12057]: 183FB86DB01:
from=<test_user at gmail.com>, size=2557, nrcpt=1 (queue active)
Sep 08 15:24:59 mail00 <info> postfix/smtp[12634]: D524B86DB25:
to=<user at domain.com>, relay=127.0.0.1[127.0.0.1]:10024, delay=0.26,
delays=0.07/0.01/0/0.19, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as
183FB86DB01)
Sep 08 15:24:59 mail00 <info> postfix/local[12638]: 183FB86DB01:
to=<user at domain.com>, relay=local, delay=0.05, delays=0.02/0.01/0/0.01,
dsn=5.4.6, status=bounced (mail forwarding loop for user at domain.com)
Sep 08 15:25:01 mail00 <info> postfix/smtp[12640]: 21E8986DB26:
to=<test_user at gmail.com>,
relay=gmail-smtp-in.l.google.com[74.125.65.27]:25, delay=2.6,
delays=0.01/0.01/0.38/2.2, dsn=2.0.0, status=sent (250 2.0.0 OK
1315509901 n64si5126188yhj.127)





Thanks in advance for any shared ideas
Regadrs
BB











More information about the users mailing list