Agent doen't work

Feb 19, 2010 at 1:03 PM

Dear Support,

 

I have succesfully installed the agent. But the catchall doen't work.

 

 

[PS] C:\Windows\System32>get-transportagent
Identity                                           Enabled         Priority
--------                                           -------         --------
Transport Rule Agent                               True            1
Journaling Agent                                   True            2
AD RMS Prelicensing Agent                          False           3
Connection Filtering Agent                         True            4
Content Filter Agent                               True            5
Sender Id Agent                                    True            6
Sender Filter Agent                                True            7
CatchAll Agent                                     True            8
Recipient Filter Agent                             True            9
Protocol Analysis Agent                            True            10

[PS] C:\Windows\System32>get-transportagent

Identity                                           Enabled         Priority

--------                                           -------         --------

Transport Rule Agent                               True            1

Journaling Agent                                   True            2

AD RMS Prelicensing Agent                          False           3

Connection Filtering Agent                         True            4

Content Filter Agent                               True            5

Sender Id Agent                                    True            6

Sender Filter Agent                                True            7

CatchAll Agent                                     True            8

Recipient Filter Agent                             True            9

Protocol Analysis Agent                            True            10

 

I created a mailbox for the pop3 catch all. But when I send a test message from my gmail to an existing email adres the email is stored in the catchall mailbox and not in the users mailbox.

 

Coordinator
Feb 20, 2010 at 4:02 AM
Can you post the configuration file with the rules?

From: [email removed]
Sent: Friday, February 19, 2010 5:03 AM
To: [email removed]
Subject: Agent doen't work [catchallagent:85940]

From: zwap

Dear Support,

I have succesfully installed the agent. But the catchall doen't work.

[PS] C:\Windows\System32>get-transportagent
Identity Enabled Priority
-------- ------- --------
Transport Rule Agent True 1
Journaling Agent True 2
AD RMS Prelicensing Agent False 3
Connection Filtering Agent True 4
Content Filter Agent True 5
Sender Id Agent True 6
Sender Filter Agent True 7
CatchAll Agent True 8
Recipient Filter Agent True 9
Protocol Analysis Agent True 10

[PS] C:\Windows\System32>get-transportagent

Identity Enabled Priority

-------- ------- --------

Transport Rule Agent True 1

Journaling Agent True 2

AD RMS Prelicensing Agent False 3

Connection Filtering Agent True 4

Content Filter Agent True 5

Sender Id Agent True 6

Sender Filter Agent True 7

CatchAll Agent True 8

Recipient Filter Agent True 9

Protocol Analysis Agent True 10

I created a mailbox for the pop3 catch all. But when I send a test message from my gmail to an existing email adres the email is stored in the catchall mailbox and not in the users mailbox.

Feb 22, 2010 at 2:04 PM

 

<config>
  <domain name="zwep.eu" address="Pop3Connector@zwep.eu" />
</config>

<config>

  <domain name="zwep.eu" address="Pop3Connector(at)zwep.eu" />

</config>

 

Feb 22, 2010 at 2:05 PM
Hi,

I have post the configuration:
<config>
  <domain name="zwep.eu" address="Pop3Connector@zwep.eu" />
</config>


m.v.g Erik



2010/2/20 wilbertdg <notifications@codeplex.com>

From: wilbertdg

Can you post the configuration file with the rules?

From: [email removed]
Sent: Friday, February 19, 2010 5:03 AM
To: [email removed]
Subject: Agent doen't work [catchallagent:85940]

From: zwap

Dear Support,

I have succesfully installed the agent. But the catchall doen't work.

[PS] C:\Windows\System32>get-transportagent
Identity Enabled Priority
-------- ------- --------
Transport Rule Agent True 1
Journaling Agent True 2
AD RMS Prelicensing Agent False 3
Connection Filtering Agent True 4
Content Filter Agent True 5
Sender Id Agent True 6
Sender Filter Agent True 7
CatchAll Agent True 8
Recipient Filter Agent True 9
Protocol Analysis Agent True 10

[PS] C:\Windows\System32>get-transportagent

Identity Enabled Priority

-------- ------- --------

Transport Rule Agent True 1

Journaling Agent True 2

AD RMS Prelicensing Agent False 3

Connection Filtering Agent True 4

Content Filter Agent True 5

Sender Id Agent True 6

Sender Filter Agent True 7

CatchAll Agent True 8

Recipient Filter Agent True 9

Protocol Analysis Agent True 10

I created a mailbox for the pop3 catch all. But when I send a test message from my gmail to an existing email adres the email is stored in the catchall mailbox and not in the users mailbox.

Read the full discussion online.

To add a post to this discussion, reply to this email (catchallagent@discussions.codeplex.com)

To start a new discussion for this project, email catchallagent@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Coordinator
Feb 22, 2010 at 4:51 PM
Can you enable tracing? The README.TXT file tell you how to do this.
And how do you submit a message? The agent only works for messages that came in through SMTP. Not through Store. (Outlook or OWA.)
-Wilbert

From: [email removed]
Sent: Monday, February 22, 2010 6:05 AM
To: [email removed]
Subject: Re: Agent doen't work [catchallagent:85940]

From: zwap

Hi,

I have post the configuration:
<config>
<domain name="zwep.eu" address="Pop3Connector@zwep.eu" />
</config>


m.v.g Erik



2010/2/20 wilbertdg <notifications@codeplex.com>

From: wilbertdg

Can you post the configuration file with the rules?

From: [email removed]
Sent: Friday, February 19, 2010 5:03 AM
To: [email removed]
Subject: Agent doen't work [catchallagent:85940]

From: zwap

Dear Support,

I have succesfully installed the agent. But the catchall doen't work.

[PS] C:\Windows\System32>get-transportagent
Identity Enabled Priority
-------- ------- --------
Transport Rule Agent True 1
Journaling Agent True 2
AD RMS Prelicensing Agent False 3
Connection Filtering Agent True 4
Content Filter Agent True 5
Sender Id Agent True 6
Sender Filter Agent True 7
CatchAll Agent True 8
Recipient Filter Agent True 9
Protocol Analysis Agent True 10

[PS] C:\Windows\System32>get-transportagent

Identity Enabled Priority

-------- ------- --------

Transport Rule Agent True 1

Journaling Agent True 2

AD RMS Prelicensing Agent False 3

Connection Filtering Agent True 4

Content Filter Agent True 5

Sender Id Agent True 6

Sender Filter Agent True 7

CatchAll Agent True 8

Recipient Filter Agent True 9

Protocol Analysis Agent True 10

I created a mailbox for the pop3 catch all. But when I send a test message from my gmail to an existing email adres the email is stored in the catchall mailbox and not in the users mailbox.

Read the full discussion online.

To add a post to this discussion, reply to this email (catchallagent@discussions.codeplex.com)

To start a new discussion for this project, email catchallagent@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Feb 22, 2010 at 7:03 PM
I have enabled tracing, can you check if I added the setting correctly?

Where can I find the trace log file?
<configuration>
  <runtime>
    <gcServer enabled="true" />
    <generatePublisherEvidence enabled="false" />
  </runtime>
  <appSettings>
    <add key="AgentLogEnabled" value="true" />
    <add key="ResolverRetryInterval" value="30" />
    <add key="DeliverMoveMailboxRetryInterval" value="30" />
    <add key="ResolverLogLevel" value="Disabled" />
    <add key="ExpansionSizeLimit" value="1000" />
    <add key="MaxIdleTimeBeforeResubmit" value="12:00:00" />
    <add key="MailboxDeliveryQueueRetryInterval" value="00:05:00" />
    <add key="QueueGlitchRetryInterval" value="00:01:00" />
    <add key="QueueGlitchRetryCount" value="4" />
    <add key="PFReplicaAgeThresholdHours" value="48" />
    <add key="DeferredReloadTimeoutSeconds" value="5" />
    <add key="MaxDeferredNotifications" value="20" />
    <add key="MaxQueueViewerQueryResultCount" value="250000" />
    <add key="RoutingConfigReloadInterval" value="12:00:00" />
    <add key="DumpsterAllMail" value="false" />
    <add key="DumpsterAllowDuplicateDelivery" value="false" />
    <add key="DumpsterDeletionDelayAfterStartup" value="00:02:00" />
    <add key="DatabaseCheckPointDepthMax" value="20971520" />
    <add key="DatabaseMaxCacheSize" value="134217728" />
    <add key="DatabaseCacheFlushStart" value="3" />
    <add key="DatabaseCacheFlushStop" value="5" />
    <add key="QueueDatabaseBatchSize" value="40" />
    <add key="QueueDatabaseBatchTimeout" value="100" />
    <add key="QueueDatabaseMaxConnections" value="4" />
    <add key="QueueDatabaseLoggingFileSize" value="5242880" />
    <add key="QueueDatabaseLoggingBufferSize" value="524288" />
    <add key="QueueDatabaseMaxBackgroundCleanupTasks" value="32" />
    <add key="QueueDatabaseOnlineDefragEnabled" value="true" />
    <add key="QueueDatabaseOnlineDefragSchedule" value="1:00:00" />
    <add key="QueueDatabaseOnlineDefragTimeToRun" value="3:00:00" />
    <add key="QueueDatabasePath" value="C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Queue" />
    <add key="QueueDatabaseLoggingPath" value="C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Queue" />
    <add key="IPFilterDatabasePath" value="C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\IpFilter" />
    <add key="IPFilterDatabaseLoggingPath" value="C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\IpFilter" />
    <add key="TemporaryStoragePath" value="C:\Program Files\Microsoft\Exchange Server\TransportRoles\data\Temp" />
    <add key="EnableResourceMonitoring" value="true" />
    <add key="ResourceMonitoringInterval" value="00:00:02" />
    <add key="PercentageDatabaseDiskSpaceUsedHighThreshold" value="0" />
    <add key="PercentageDatabaseDiskSpaceUsedMediumThreshold" value="0" />
    <add key="PercentageDatabaseDiskSpaceUsedNormalThreshold" value="0" />
    <add key="PercentageDatabaseLoggingDiskSpaceUsedHighThreshold" value="0" />
    <add key="PercentageDatabaseLoggingDiskSpaceUsedMediumThreshold" value="0" />
    <add key="PercentageDatabaseLoggingDiskSpaceUsedNormalThreshold" value="0" />
    <add key="PercentagePrivateBytesUsedHighThreshold" value="0" />
    <add key="PercentagePrivateBytesUsedMediumThreshold" value="0" />
    <add key="PercentagePrivateBytesUsedNormalThreshold" value="0" />
    <add key="VersionBucketsHighThreshold" value="200" />
    <add key="VersionBucketsMediumThreshold" value="120" />
    <add key="VersionBucketsNormalThreshold" value="80" />
    <add key="PercentagePhysicalMemoryUsedLimit" value="94" />
    <add key="DehydrateMessagesUnderMemoryPressure" value="true" />
    <add key="VersionBucketsHistoryDepth" value="3" />
    <add key="PrivateBytesHistoryDepth" value="30" />
    <add key="CrashOnStopTimeout" value="false" />
    <add key="DnsFaultTolerance" value="Lenient" />
    <add key="PriorityQueuingEnabled" value="false" />
    <add key="MaxPerDomainHighPriorityConnections" value="3" />
    <add key="MaxPerDomainNormalPriorityConnections" value="15" />
    <add key="MaxPerDomainLowPriorityConnections" value="2" />
    <add key="HighPriorityMessageExpirationTimeout" value="8:00:00" />
    <add key="NormalPriorityMessageExpirationTimeout" value="2.00:00:00" />
    <add key="LowPriorityMessageExpirationTimeout" value="2.00:00:00" />
    <add key="HighPriorityDelayNotificationTimeout" value="00:30:00" />
    <add key="NormalPriorityDelayNotificationTimeout" value="4:00:00" />
    <add key="LowPriorityDelayNotificationTimeout" value="8:00:00" />
    <add key="MaxHighPriorityMessageSize" value="250KB" />
    <add key="ByteEncoderTypeFor7BitCharsets" value="1" />
  </appSettings>
    <connectionManagement>
      <add address="*" maxconnection="10" />
    </connectionManagement>
    <defaultProxy>
      <proxy usesystemdefault="false" autoDetect="true" />
    </defaultProxy>
  </system.net>
</configuration>
<configuration>
  <system.diagnostics>
    <trace autoflush="false" indentsize="4">
      <listeners>
        <add name="myListener" 
          type="System.Diagnostics.TextWriterTraceListener" 
          initializeData="traces.log" />
        <remove name="Default" />
      </listeners>
    </trace>
  </system.diagnostics>
</configuration>
m.v.g Erik



2010/2/22 wilbertdg <notifications@codeplex.com>

From: wilbertdg

Can you enable tracing? The README.TXT file tell you how to do this.
And how do you submit a message? The agent only works for messages that came in through SMTP. Not through Store. (Outlook or OWA.)
-Wilbert

From: [email removed]
Sent: Monday, February 22, 2010 6:05 AM
To: [email removed]
Subject: Re: Agent doen't work [catchallagent:85940]

From: zwap

Hi,

I have post the configuration:
<config>
<domain name="zwep.eu" address="Pop3Connector@zwep.eu" />
</config>


m.v.g Erik



2010/2/20 wilbertdg <notifications@codeplex.com>

From: wilbertdg

Can you post the configuration file with the rules?

From: [email removed]
Sent: Friday, February 19, 2010 5:03 AM
To: [email removed]
Subject: Agent doen't work [catchallagent:85940]

From: zwap

Dear Support,

I have succesfully installed the agent. But the catchall doen't work.

[PS] C:\Windows\System32>get-transportagent
Identity Enabled Priority
-------- ------- --------
Transport Rule Agent True 1
Journaling Agent True 2
AD RMS Prelicensing Agent False 3
Connection Filtering Agent True 4
Content Filter Agent True 5
Sender Id Agent True 6
Sender Filter Agent True 7
CatchAll Agent True 8
Recipient Filter Agent True 9
Protocol Analysis Agent True 10

[PS] C:\Windows\System32>get-transportagent

Identity Enabled Priority

-------- ------- --------

Transport Rule Agent True 1

Journaling Agent True 2

AD RMS Prelicensing Agent False 3

Connection Filtering Agent True 4

Content Filter Agent True 5

Sender Id Agent True 6

Sender Filter Agent True 7

CatchAll Agent True 8

Recipient Filter Agent True 9

Protocol Analysis Agent True 10

I created a mailbox for the pop3 catch all. But when I send a test message from my gmail to an existing email adres the email is stored in the catchall mailbox and not in the users mailbox.

Read the full discussion online.

To add a post to this discussion, reply to this email (catchallagent@discussions.codeplex.com)

To start a new discussion for this project, email catchallagent@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Read the full discussion online.

To add a post to this discussion, reply to this email (catchallagent@discussions.codeplex.com)

To start a new discussion for this project, email catchallagent@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe or change your settings on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com


Mar 17, 2011 at 3:55 PM
Edited Mar 17, 2011 at 3:59 PM

Erik,

You've to enclose the system.diagnostics within the main configuration section like below.

    ...
    </system.net>

    <system.diagnostics>
        <trace autoflush="false" indentsize="4">
            <listeners>
                <add name="myListener"
                    type="System.Diagnostics.TextWriterTraceListener"
                    initializeData="traces.log" />
               <remove name="Default" />
           </listeners>
       </trace>
    </system.diagnostics>
 </configuration>

Like you, I have the same problem where the CatchAll Agent is catching all mail for known and unknown recipients. Don't know it's relevant but the agent is installed on the Hub Transport server, as I only have a single server setup and lack a Edge Transport server.

Were you able to fix the problem in the meantime?

Thanks in advance for your (or someone else's) reply!

-Kaj

Mar 17, 2011 at 4:32 PM
Edited Mar 17, 2011 at 4:36 PM

After reviewing the C# code I've narrowed the problem down to the following:

In my (single server) setup I used the Exchange 2010 SP1 "/hosting"-switch for multi-tenant organization support, hence the missing Edge Transport role. The CatchAll Agent uses the address book for resolving recipients. Unfortunately it's only able to query the address book of the main organization and not the address books of the tenant organizations. Therefor it's unable to resolve local recipients from tenant organizations and delivers all mail to the specified catch-all mailbox. It's working fine for the main organization.

Am I missing something here? Is it possible for the CatchAll Agent to query the tenant organizations address books?

-Kaj