Jean Helou - Thanks for your help and suggestions, much appreciated! OK, I stopped the James server, deleted all log files for James, restarted the server, and then tried to send an email. Attached you will find the james-server-sample.log file that captured what happened. HTHs...
On Sat, Jul 8, 2023 at 12:14 AM Jean Helou <jean.he...@gmail.com> wrote: > Hello marc > > You wouldn't happen to have a session output and/or logs. > It makes diagnosing the problem much easier and would help pinpoint the > configuration setting that's incorrect. > > Have you changed the mailet container config by any chance ? > Yes, there has been some changes made, but nothing out of the ordinary, as far as I can remember, such as setting the postmaster email address etc., Tell you what, I will attach the mailetcontainer as well, with some sensitive information removed or obscured. Again, HTHs, and thanks for your thoughts and taking the time to reply.. Marc... > > >
2023-07-10 09:51:34,135 INFO | org.apache.james.container.spring.context.JamesServerApplicationContext | Refreshing org.apache.james.container.spring.context.JamesServerApplicationContext@229225e5: startup date [Mon Jul 10 09:51:34 PDT 2023]; root of context hierarchy 2023-07-10 09:51:36,970 INFO | org.apache.james.container.spring.context.JamesServerApplicationContext | Bean 'logprovider' of type [class org.apache.james.container.spring.lifecycle.LogProviderImpl] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2023-07-10 09:51:37,255 INFO | org.apache.james.container.spring.bean.factory.mailrepositorystore.MailRepositoryStoreBeanFactory | JamesMailStore init... 2023-07-10 09:51:37,261 INFO | org.apache.james.container.spring.bean.factory.mailrepositorystore.MailRepositoryStoreBeanFactory | Registering Repository instance of class org.apache.james.mailrepository.file.FileMailRepository to handle file protocol requests 2023-07-10 09:51:37,262 INFO | org.apache.james.container.spring.bean.factory.mailrepositorystore.MailRepositoryStoreBeanFactory | Registering Repository instance of class org.apache.james.mailrepository.jdbc.JDBCMailRepository to handle db protocol requests 2023-07-10 09:51:37,262 INFO | org.apache.james.container.spring.bean.factory.mailrepositorystore.MailRepositoryStoreBeanFactory | Registering Repository instance of class org.apache.james.mailrepository.jdbc.JDBCMailRepository to handle dbfile protocol requests 2023-07-10 09:51:37,382 INFO | org.apache.james.dnsservice.dnsjava.DNSJavaService | DNS Server is: 127.0.0.1 2023-07-10 09:51:37,382 INFO | org.apache.james.dnsservice.dnsjava.DNSJavaService | DNS Server is: 192.168.10.100 2023-07-10 09:51:37,382 INFO | org.apache.james.dnsservice.dnsjava.DNSJavaService | DNS Server is: 192.168.10.50 2023-07-10 09:51:37,397 INFO | org.apache.james.dnsservice.dnsjava.DNSJavaService | Registered cache, resolver and search paths as DNSJava defaults 2023-07-10 09:51:37,413 INFO | org.apache.james.domainlist.lib.AbstractDomainList | Set autodetect to: false 2023-07-10 09:51:37,413 INFO | org.apache.james.domainlist.lib.AbstractDomainList | Set autodetectIP to: true 2023-07-10 09:51:37,978 WARN | org.apache.activemq.broker.BrokerService | Memory Usage for the Broker (1024mb) is more than the maximum available for the JVM: 512 mb - resetting to 70% of maximum available: 358 mb 2023-07-10 09:51:39,945 INFO | org.apache.james.queue.activemq.EmbeddedActiveMQ | Started embedded activeMq 2023-07-10 09:51:40,318 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:40,330 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet PostmasterAlias instantiated. 2023-07-10 09:51:40,334 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher RelayLimit=30 instantiated. 2023-07-10 09:51:40,336 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet Null instantiated. 2023-07-10 09:51:40,339 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher HasMailAttribute=spamChecked instantiated. 2023-07-10 09:51:40,342 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet ToProcessor instantiated. 2023-07-10 09:51:40,342 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:40,350 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet SetMailAttribute instantiated. 2023-07-10 09:51:40,353 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher SMTPAuthSuccessful instantiated. 2023-07-10 09:51:40,353 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet ToProcessor instantiated. 2023-07-10 09:51:40,354 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:40,354 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet ToProcessor instantiated. 2023-07-10 09:51:40,511 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:40,522 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentObjectRepository Store 2023-07-10 09:51:40,539 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/error 2023-07-10 09:51:40,540 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentStreamRepository Store 2023-07-10 09:51:40,540 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/error 2023-07-10 09:51:40,544 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentObjectRepository Store 2023-07-10 09:51:40,544 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/error 2023-07-10 09:51:40,544 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentStreamRepository Store 2023-07-10 09:51:40,544 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/error 2023-07-10 09:51:40,545 INFO | org.apache.james.container.spring.bean.factory.mailrepositorystore.MailRepositoryStoreBeanFactory | added repository: org.apache.commons.configuration.SubnodeConfiguration@735fbd36->org.apache.james.mailrepository.file.FileMailRepository 2023-07-10 09:51:40,545 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet ToRepository instantiated. 2023-07-10 09:51:40,556 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher SMTPAuthSuccessful instantiated. 2023-07-10 09:51:40,558 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet SetMimeHeader instantiated. 2023-07-10 09:51:40,559 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher HasMailAttribute=org.apache.james.SMIMECheckSignature instantiated. 2023-07-10 09:51:40,559 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet SetMimeHeader instantiated. 2023-07-10 09:51:40,559 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:40,574 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet RecipientRewriteTable instantiated. 2023-07-10 09:51:40,576 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher SenderIsLocal instantiated. 2023-07-10 09:51:41,269 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet ToSenderFolder instantiated. 2023-07-10 09:51:41,271 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher RecipientIsLocal instantiated. 2023-07-10 09:51:41,273 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet AddDeliveredToHeader instantiated. 2023-07-10 09:51:41,273 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher RecipientIsLocal instantiated. 2023-07-10 09:51:41,277 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet LocalDelivery instantiated. 2023-07-10 09:51:41,279 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher HostIsLocal instantiated. 2023-07-10 09:51:41,279 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet ToProcessor instantiated. 2023-07-10 09:51:41,279 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:41,281 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet org.apache.james.jdkim.mailets.ConvertTo7Bit instantiated. 2023-07-10 09:51:41,281 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:41,476 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet org.apache.james.jdkim.mailets.DKIMSign instantiated. 2023-07-10 09:51:41,477 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:41,490 WARN | org.apache.james.transport.mailets.remote.delivery.DelaysAndMaxRetry | maxRetries is larger than total number of attempts specified. Increasing last delayTime with 22 attempts 2023-07-10 09:51:41,490 WARN | org.apache.james.transport.mailets.remote.delivery.DelaysAndMaxRetry | Delay of 500000 msecs is now attempted: 1 times 2023-07-10 09:51:41,575 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet RemoteDelivery instantiated. 2023-07-10 09:51:41,637 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:41,640 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet MetricsMailet instantiated. 2023-07-10 09:51:41,640 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:41,647 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet Bounce instantiated. 2023-07-10 09:51:41,648 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:41,649 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentObjectRepository Store 2023-07-10 09:51:41,649 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/over-quota-error 2023-07-10 09:51:41,649 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentStreamRepository Store 2023-07-10 09:51:41,650 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/over-quota-error 2023-07-10 09:51:41,650 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentObjectRepository Store 2023-07-10 09:51:41,650 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/over-quota-error 2023-07-10 09:51:41,650 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentStreamRepository Store 2023-07-10 09:51:41,650 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/over-quota-error 2023-07-10 09:51:41,650 INFO | org.apache.james.container.spring.bean.factory.mailrepositorystore.MailRepositoryStoreBeanFactory | added repository: org.apache.commons.configuration.SubnodeConfiguration@735fbd36->org.apache.james.mailrepository.file.FileMailRepository 2023-07-10 09:51:41,650 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet ToRepository instantiated. 2023-07-10 09:51:41,669 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:41,670 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentObjectRepository Store 2023-07-10 09:51:41,671 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/spam 2023-07-10 09:51:41,671 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentStreamRepository Store 2023-07-10 09:51:41,671 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/spam 2023-07-10 09:51:41,671 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentObjectRepository Store 2023-07-10 09:51:41,671 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/spam 2023-07-10 09:51:41,672 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentStreamRepository Store 2023-07-10 09:51:41,672 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/spam 2023-07-10 09:51:41,672 INFO | org.apache.james.container.spring.bean.factory.mailrepositorystore.MailRepositoryStoreBeanFactory | added repository: org.apache.commons.configuration.SubnodeConfiguration@735fbd36->org.apache.james.mailrepository.file.FileMailRepository 2023-07-10 09:51:41,672 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet ToRepository instantiated. 2023-07-10 09:51:41,683 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:41,684 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet SetMailAttribute instantiated. 2023-07-10 09:51:41,684 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher SMTPAuthSuccessful instantiated. 2023-07-10 09:51:41,684 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet Bounce instantiated. 2023-07-10 09:51:41,685 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:41,685 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet Null instantiated. 2023-07-10 09:51:41,705 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:41,706 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentObjectRepository Store 2023-07-10 09:51:41,706 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/address-error 2023-07-10 09:51:41,706 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentStreamRepository Store 2023-07-10 09:51:41,706 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/address-error 2023-07-10 09:51:41,707 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentObjectRepository Store 2023-07-10 09:51:41,707 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/address-error 2023-07-10 09:51:41,707 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentStreamRepository Store 2023-07-10 09:51:41,707 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/address-error 2023-07-10 09:51:41,707 INFO | org.apache.james.container.spring.bean.factory.mailrepositorystore.MailRepositoryStoreBeanFactory | added repository: org.apache.commons.configuration.SubnodeConfiguration@735fbd36->org.apache.james.mailrepository.file.FileMailRepository 2023-07-10 09:51:41,707 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet ToRepository instantiated. 2023-07-10 09:51:41,719 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:41,720 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentObjectRepository Store 2023-07-10 09:51:41,721 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/relay-denied 2023-07-10 09:51:41,721 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentStreamRepository Store 2023-07-10 09:51:41,721 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/relay-denied 2023-07-10 09:51:41,721 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentObjectRepository Store 2023-07-10 09:51:41,721 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentObjectRepository opened in ../var/mail/relay-denied 2023-07-10 09:51:41,721 INFO | org.apache.james.repository.file.AbstractFileRepository | Init org.apache.james.repository.file.FilePersistentStreamRepository Store 2023-07-10 09:51:41,722 INFO | org.apache.james.repository.file.AbstractFileRepository | org.apache.james.repository.file.FilePersistentStreamRepository opened in ../var/mail/relay-denied 2023-07-10 09:51:41,722 INFO | org.apache.james.container.spring.bean.factory.mailrepositorystore.MailRepositoryStoreBeanFactory | added repository: org.apache.commons.configuration.SubnodeConfiguration@735fbd36->org.apache.james.mailrepository.file.FileMailRepository 2023-07-10 09:51:41,722 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet ToRepository instantiated. 2023-07-10 09:51:41,734 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Matcher All instantiated. 2023-07-10 09:51:41,826 INFO | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Mailet DSNBounce instantiated. 2023-07-10 09:51:41,850 INFO | org.apache.james.mailetcontainer.impl.JamesMailSpooler | org.apache.james.mailetcontainer.impl.JamesMailSpooler init... 2023-07-10 09:51:41,850 INFO | org.apache.james.mailetcontainer.impl.JamesMailSpooler | org.apache.james.mailetcontainer.impl.JamesMailSpooler uses 20 Thread(s) 2023-07-10 09:51:41,851 INFO | org.apache.james.mailetcontainer.impl.JamesMailSpooler | Run org.apache.james.mailetcontainer.impl.JamesMailSpooler: dequeuer-0 2023-07-10 09:51:41,855 INFO | org.apache.james.mailetcontainer.impl.JamesMailSpooler | Queue=MailQueue:spool 2023-07-10 09:51:41,852 INFO | org.apache.james.mailetcontainer.impl.JamesMailSpooler | Run org.apache.james.mailetcontainer.impl.JamesMailSpooler: dequeuer-1 2023-07-10 09:51:41,856 INFO | org.apache.james.mailetcontainer.impl.JamesMailSpooler | Queue=MailQueue:spool 2023-07-10 09:51:41,915 INFO | org.apache.james.fetchmail.FetchScheduler | FetchMail Disabled 2023-07-10 09:51:41,979 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | SMTP Service bound to: 0.0.0.0:10025 2023-07-10 09:51:41,980 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | SMTP Service is running on: quasar 2023-07-10 09:51:41,980 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | SMTP Service handler hello name is: smtp.marcchamberlin.com 2023-07-10 09:51:41,980 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | SMTP Service handler connection timeout is: 360 2023-07-10 09:51:41,980 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | SMTP Service connection backlog is: 200 2023-07-10 09:51:41,980 INFO | org.apache.james.protocols.lib.netty.AbstractProtocolAsyncServer | This SMTP server does not require authentication. 2023-07-10 09:51:41,980 INFO | org.apache.james.protocols.lib.netty.AbstractProtocolAsyncServer | No maximum message size is enforced for this server. 2023-07-10 09:51:41,981 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | SMTP Service bound to: 0.0.0.0:10465 2023-07-10 09:51:41,981 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | SMTP Service is running on: quasar 2023-07-10 09:51:41,981 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | SMTP Service handler hello name is: smtp.marcchamberlin.com 2023-07-10 09:51:41,981 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | SMTP Service handler connection timeout is: 360 2023-07-10 09:51:41,981 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | SMTP Service connection backlog is: 200 2023-07-10 09:51:41,981 INFO | org.apache.james.protocols.lib.netty.AbstractProtocolAsyncServer | This SMTP server does not require authentication. 2023-07-10 09:51:41,981 INFO | org.apache.james.protocols.lib.netty.AbstractProtocolAsyncServer | No maximum message size is enforced for this server. 2023-07-10 09:51:41,981 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | SMTP Service bound to: 0.0.0.0:10587 2023-07-10 09:51:41,982 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | SMTP Service is running on: quasar 2023-07-10 09:51:41,982 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | SMTP Service handler hello name is: smtp.marcchamberlin.com 2023-07-10 09:51:41,982 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | SMTP Service handler connection timeout is: 360 2023-07-10 09:51:41,982 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | SMTP Service connection backlog is: 200 2023-07-10 09:51:41,982 INFO | org.apache.james.protocols.lib.netty.AbstractProtocolAsyncServer | This SMTP server does not require authentication. 2023-07-10 09:51:41,982 INFO | org.apache.james.protocols.lib.netty.AbstractProtocolAsyncServer | No maximum message size is enforced for this server. 2023-07-10 09:51:42,135 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Init SMTP Service done 2023-07-10 09:51:42,350 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Init SMTP Service done 2023-07-10 09:51:42,427 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Init SMTP Service done 2023-07-10 09:51:42,448 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | LMTP Service disabled by configuration 2023-07-10 09:51:42,458 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | POP3 Service bound to: 0.0.0.0:10110 2023-07-10 09:51:42,458 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | POP3 Service is running on: quasar 2023-07-10 09:51:42,458 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | POP3 Service handler hello name is: pop3.marcchamberlin.com 2023-07-10 09:51:42,458 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | POP3 Service handler connection timeout is: 1200 2023-07-10 09:51:42,458 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | POP3 Service connection backlog is: 200 2023-07-10 09:51:42,459 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | POP3 Service bound to: 0.0.0.0:10995 2023-07-10 09:51:42,459 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | POP3 Service is running on: quasar 2023-07-10 09:51:42,459 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | POP3 Service handler hello name is: pop3.marcchamberlin.com 2023-07-10 09:51:42,459 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | POP3 Service handler connection timeout is: 1200 2023-07-10 09:51:42,459 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | POP3 Service connection backlog is: 200 2023-07-10 09:51:42,547 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Init POP3 Service done 2023-07-10 09:51:42,630 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Init POP3 Service done 2023-07-10 09:51:42,808 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | IMAP Service bound to: 0.0.0.0:10143 2023-07-10 09:51:42,808 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | IMAP Service is running on: quasar 2023-07-10 09:51:42,808 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | IMAP Service handler hello name is: imap.marcchamberlin.com 2023-07-10 09:51:42,808 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | IMAP Service handler connection timeout is: 300 2023-07-10 09:51:42,808 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | IMAP Service connection backlog is: 200 2023-07-10 09:51:42,816 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | IMAP Service bound to: 0.0.0.0:10993 2023-07-10 09:51:42,816 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | IMAP Service is running on: quasar 2023-07-10 09:51:42,817 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | IMAP Service handler hello name is: imap.marcchamberlin.com 2023-07-10 09:51:42,817 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | IMAP Service handler connection timeout is: 300 2023-07-10 09:51:42,817 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | IMAP Service connection backlog is: 200 2023-07-10 09:51:42,877 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Init IMAP Service done 2023-07-10 09:51:42,935 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Init IMAP Service done 2023-07-10 09:51:42,953 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Manage Sieve Service disabled by configuration 2023-07-10 09:51:43,158 INFO | org.apache.james.app.spring.JamesAppSpringMain | Apache James Server is successfully started in 9103 milliseconds. 2023-07-10 09:51:53,909 INFO | org.apache.james.protocols.netty.BasicChannelUpstreamHandler | Connection established from 192.168.10.10 2023-07-10 09:51:54,389 WARN | org.apache.james.dnsservice.dnsjava.DNSJavaService | Error determining result java.lang.IllegalStateException: Lookup of localhost A isn't done at org.xbill.DNS.Lookup.checkDone(Lookup.java:595) at org.xbill.DNS.Lookup.getResult(Lookup.java:632) at org.apache.james.dnsservice.dnsjava.DNSJavaService.lookup(DNSJavaService.java:374) at org.apache.james.dnsservice.dnsjava.DNSJavaService.lookupNoException(DNSJavaService.java:396) at org.apache.james.dnsservice.dnsjava.DNSJavaService.getAllByName(DNSJavaService.java:484) at org.apache.james.domainlist.lib.AbstractDomainList.getDomainIpStream(AbstractDomainList.java:215) at org.apache.james.domainlist.lib.AbstractDomainList.lambda$getDomainsIpStream$1(AbstractDomainList.java:209) at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) at org.apache.james.domainlist.lib.AbstractDomainList.detectIps(AbstractDomainList.java:178) at org.apache.james.domainlist.lib.AbstractDomainList.getDomains(AbstractDomainList.java:163) at org.apache.james.domainlist.lib.AbstractDomainList.containsDomain(AbstractDomainList.java:151) at org.apache.james.smtpserver.fastfail.ValidRcptHandler.isLocalDomain(ValidRcptHandler.java:101) at org.apache.james.protocols.smtp.core.fastfail.AbstractValidRcptHandler.doRcpt(AbstractValidRcptHandler.java:42) at org.apache.james.protocols.smtp.core.RcptCmdHandler.callHook(RcptCmdHandler.java:234) at org.apache.james.protocols.smtp.core.RcptCmdHandler.callHook(RcptCmdHandler.java:51) at org.apache.james.protocols.smtp.core.AbstractHookableCmdHandler.processHooks(AbstractHookableCmdHandler.java:116) at org.apache.james.protocols.smtp.core.AbstractHookableCmdHandler.onCommand(AbstractHookableCmdHandler.java:77) at org.apache.james.protocols.smtp.core.AbstractHookableCmdHandler.onCommand(AbstractHookableCmdHandler.java:52) at org.apache.james.protocols.api.handler.CommandDispatcher.dispatchCommandHandlers(CommandDispatcher.java:179) at org.apache.james.protocols.api.handler.CommandDispatcher.onLine(CommandDispatcher.java:157) at org.apache.james.protocols.netty.BasicChannelUpstreamHandler.messageReceived(BasicChannelUpstreamHandler.java:155) at org.apache.james.smtpserver.netty.SMTPChannelUpstreamHandler.messageReceived(SMTPChannelUpstreamHandler.java:60) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(SimpleChannelUpstreamHandler.java:124) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) 2023-07-10 09:51:54,390 ERROR | org.apache.james.domainlist.lib.AbstractDomainList | Cannot get IP address(es) for Domain : localhost 2023-07-10 09:51:54,394 WARN | org.apache.james.dnsservice.dnsjava.DNSJavaService | Error determining result java.lang.IllegalStateException: Lookup of localhost A isn't done at org.xbill.DNS.Lookup.checkDone(Lookup.java:595) at org.xbill.DNS.Lookup.getResult(Lookup.java:632) at org.apache.james.dnsservice.dnsjava.DNSJavaService.lookup(DNSJavaService.java:374) at org.apache.james.dnsservice.dnsjava.DNSJavaService.lookupNoException(DNSJavaService.java:396) at org.apache.james.dnsservice.dnsjava.DNSJavaService.getAllByName(DNSJavaService.java:484) at org.apache.james.domainlist.lib.AbstractDomainList.getDomainIpStream(AbstractDomainList.java:215) at org.apache.james.domainlist.lib.AbstractDomainList.lambda$getDomainsIpStream$1(AbstractDomainList.java:209) at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) at org.apache.james.domainlist.lib.AbstractDomainList.detectIps(AbstractDomainList.java:178) at org.apache.james.domainlist.lib.AbstractDomainList.getDomains(AbstractDomainList.java:163) at org.apache.james.domainlist.lib.AbstractDomainList.containsDomain(AbstractDomainList.java:151) at org.apache.james.smtpserver.AuthRequiredToRelayRcptHook.isLocalDomain(AuthRequiredToRelayRcptHook.java:52) at org.apache.james.protocols.smtp.core.AbstractAuthRequiredToRelayRcptHook.doRcpt(AbstractAuthRequiredToRelayRcptHook.java:55) at org.apache.james.protocols.smtp.core.RcptCmdHandler.callHook(RcptCmdHandler.java:234) at org.apache.james.protocols.smtp.core.RcptCmdHandler.callHook(RcptCmdHandler.java:51) at org.apache.james.protocols.smtp.core.AbstractHookableCmdHandler.processHooks(AbstractHookableCmdHandler.java:116) at org.apache.james.protocols.smtp.core.AbstractHookableCmdHandler.onCommand(AbstractHookableCmdHandler.java:77) at org.apache.james.protocols.smtp.core.AbstractHookableCmdHandler.onCommand(AbstractHookableCmdHandler.java:52) at org.apache.james.protocols.api.handler.CommandDispatcher.dispatchCommandHandlers(CommandDispatcher.java:179) at org.apache.james.protocols.api.handler.CommandDispatcher.onLine(CommandDispatcher.java:157) at org.apache.james.protocols.netty.BasicChannelUpstreamHandler.messageReceived(BasicChannelUpstreamHandler.java:155) at org.apache.james.smtpserver.netty.SMTPChannelUpstreamHandler.messageReceived(SMTPChannelUpstreamHandler.java:60) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.messageReceived(SimpleChannelUpstreamHandler.java:124) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:70) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:564) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:791) at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.doRun(ChannelUpstreamEventRunnable.java:43) at org.jboss.netty.handler.execution.ChannelEventRunnable.run(ChannelEventRunnable.java:67) at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:314) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) 2023-07-10 09:51:54,394 ERROR | org.apache.james.domainlist.lib.AbstractDomainList | Cannot get IP address(es) for Domain : localhost 2023-07-10 09:51:54,394 INFO | org.apache.james.protocols.smtp.core.log.HookResultLogger | org.apache.james.smtpserver.AuthRequiredToRelayRcptHook: result= (DENY Connected) 2023-07-10 09:51:54,410 INFO | org.apache.james.protocols.netty.BasicChannelUpstreamHandler | Connection closed for 192.168.10.10 2023-07-10 09:52:05,637 INFO | org.apache.james.imapserver.netty.ImapChannelUpstreamHandler | Connection established from 87.236.176.32 2023-07-10 09:52:07,354 INFO | org.apache.james.metrics.logger.DefaultMetricFactory | Time spent in IMAP-CAPABILITY: 4 ms. 2023-07-10 09:52:10,907 INFO | org.apache.james.container.spring.context.JamesServerApplicationContext | Closing org.apache.james.container.spring.context.JamesServerApplicationContext@229225e5: startup date [Mon Jul 10 09:51:34 PDT 2023]; root of context hierarchy 2023-07-10 09:52:10,928 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose Manage Sieve Service 2023-07-10 09:52:10,928 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose Manage Sieve Service done 2023-07-10 09:52:10,928 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose IMAP Service 2023-07-10 09:52:10,931 INFO | org.apache.james.imapserver.netty.ImapChannelUpstreamHandler | Connection closed for 87.236.176.32 2023-07-10 09:52:10,934 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose IMAP Service done 2023-07-10 09:52:10,934 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose IMAP Service 2023-07-10 09:52:10,938 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose IMAP Service done 2023-07-10 09:52:10,938 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose POP3 Service 2023-07-10 09:52:10,944 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose POP3 Service done 2023-07-10 09:52:10,945 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose POP3 Service 2023-07-10 09:52:10,948 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose POP3 Service done 2023-07-10 09:52:10,948 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose LMTP Service 2023-07-10 09:52:10,949 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose LMTP Service done 2023-07-10 09:52:10,949 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose SMTP Service 2023-07-10 09:52:10,952 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose SMTP Service done 2023-07-10 09:52:10,952 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose SMTP Service 2023-07-10 09:52:10,956 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose SMTP Service done 2023-07-10 09:52:10,956 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose SMTP Service 2023-07-10 09:52:10,959 INFO | org.apache.james.protocols.lib.netty.AbstractConfigurableAsyncServer | Dispose SMTP Service done 2023-07-10 09:52:10,960 INFO | org.apache.james.mailetcontainer.impl.JamesMailSpooler | org.apache.james.mailetcontainer.impl.JamesMailSpooler dispose... 2023-07-10 09:52:10,960 INFO | org.apache.james.mailetcontainer.impl.JamesMailSpooler | org.apache.james.mailetcontainer.impl.JamesMailSpooler thread shutdown completed. 2023-07-10 09:52:10,961 INFO | org.apache.james.mailetcontainer.impl.JamesMailSpooler | Stop org.apache.james.mailetcontainer.impl.JamesMailSpooler : dequeuer-1 2023-07-10 09:52:10,961 INFO | org.apache.james.mailetcontainer.impl.JamesMailSpooler | Stop org.apache.james.mailetcontainer.impl.JamesMailSpooler : dequeuer-0
<?xml version="1.0"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!-- This template file can be used as example for James Server configuration DO NOT USE IT AS SUCH AND ADAPT IT TO YOUR NEEDS --> <!-- See http://james.apache.org/server/3/config.html for usage --> <!-- This block is responsible for processing messages on the spool. --> <mailetcontainer enableJmx="true"> <!-- MailAddress used for PostMaster --> <context> <postmaster>postmas...@mydomain.com</postmaster> </context> <!-- Number of spool threads --> <spooler> <threads>20</threads> </spooler> <processors> <!-- The root processor is a required processor - James routes all mail on the spool --> <!-- through this processor first. --> <!-- --> <!-- This configuration is a sample configuration for the root processor. --> <processor state="root" enableJmx="true"> <!-- This mailet redirects mail for the user 'postmaster' at any local domain to --> <!-- the postmaster address specified for the server. The postmaster address --> <!-- is required by rfc822. Do not remove this mailet unless you are meeting --> <!-- this requirement through other means (e.g. a --> <!-- XML/JDBCRecipientRewriteTable defined in recipientrewritetable-store.xml) --> <mailet match="All" class="PostmasterAlias"/> <!-- Important check to avoid looping --> <mailet match="RelayLimit=30" class="Null"/> <!-- Check attachment extensions for possible viruses --> <!-- The "-z" option requests the check to be non-recursively applied --> <!-- to the contents of any attached '*.zip' file. --> <!-- <mailet match="AttachmentFileNameIs=-d -z *.exe *.com *.bat *.cmd *.pif *.scr *.vbs *.avi *.mp3 *.mpeg *.shs" class="Bounce" onMatchException="error"> <inline>heads</inline> <attachment>none</attachment> <passThrough>false</passThrough> <prefix>[REJECTED]</prefix> <notice> The Security Policy of XXX does not allow to forward messages containing attachments having any of the extensions .exe, .com, .bat, .cmd, .pif, .scr, .vbs, .avi, .mp3, .mpeg, .shs, therefore your message has been rejected. Please don't reply to this e-mail as it has been automatically sent by the antivirus system. Regards, Postmaster XXX.YYY ..................................... </notice> </mailet> --> <!-- sample SMIME mailets configuration --> <!-- <mailet match="IsSMIMEEncrypted" class="SMIMEDecrypt"> <keyStoreType>pkcs12</keyStoreType> <keyStoreFileName>c:/path.pfx</keyStoreFileName> <keyStorePassword>myKeyStorePass</keyStorePassword> <keyAlias>myKeyAlias</keyAlias> <keyAliasPassword>myKeyPass</keyAliasPassword> </mailet> <mailet match="IsSMIMESigned" class="SMIMECheckSignature"> <keyStoreType>pkcs12</keyStoreType> <keyStoreFileName>c:/path.pfx</keyStoreFileName> <keyStorePassword>myKeyStorePass</keyStorePassword> <strip>false</strip> <onlyTrusted>true</onlyTrusted> </mailet> --> <!-- Anti-spam processing --> <!-- The following two entries avoid double anti-spam analysis --> <!-- for forwarded messages. --> <!-- Has spam checking already been done? --> <mailet match="HasMailAttribute=spamChecked" class="ToProcessor"> <processor>transport</processor> </mailet> <!-- Spam checking will not be done twice --> <mailet match="All" class="SetMailAttribute"> <spamChecked>true</spamChecked> </mailet> <!-- White List: If you use block lists, you will probably want to check for known permitted senders. This is particularly true if you use more aggressive block lists, such as SPEWS, that are prone to block entire subnets without regard for non-spamming senders. --> <!-- Messages from authenticated senders never are spam --> <mailet match="SMTPAuthSuccessful" class="ToProcessor"> <processor>transport</processor> </mailet> <!-- Messages signed by trusted users never are spam --> <!-- Uncommenting the following entry, messages with valid signatures will never be considered spam. --> <!-- This can be a valid policy *if* SMIMECheckSignature was invoked --> <!-- with<onlyTrusted>true</onlyTrusted>set --> <!-- <mailet match="HasMailAttribute=org.apache.james.SMIMECheckSignature" class="ToProcessor"> <processor>transport</processor> </mailet> --> <!-- specific known senders --> <!-- <mailet match="SenderIs=goodboy@goodhost" class="ToProcessor"> <processor>transport</processor> </mailet> --> <!-- End of White List --> <!-- Sample matching to kill a message (send to Null) --> <!-- <mailet match="RecipientIs=badboy@badhost" class="Null"/> --> <!-- <mailet match="CompareNumericHeaderValue=X-MessageIsSpamProbability >0.90" class="SetMailAttribute" onMatchException="noMatch"> <isSpam>true</isSpam> </mailet> <mailet match="CompareNumericHeaderValue=X-MessageIsSpamProbability >0.90" class="SetMimeHeader" onMatchException="noMatch"> <name>X-MessageIsSpam</name> <value>true</value> </mailet> <mailet match="CompareNumericHeaderValue=X-MessageIsSpamProbability >0.99" class="ToProcessor" onMatchException="noMatch"> <processor>spam</processor> <notice>Spam not accepted</notice> </mailet> --> <!-- Send remaining mails to the transport processor for either local or remote delivery --> <mailet match="All" class="ToProcessor"> <processor>transport</processor> </mailet> </processor> <!-- The error processor is required. James may internally set emails to the --> <!-- error state. The error processor is generally invoked when there is an --> <!-- unexpected error either in the mailet chain or internal to James. --> <!-- --> <!-- By default configuration all email that generates an error in placed in --> <!-- an error repository. --> <processor state="error" enableJmx="true"> <!-- If you want to notify the sender their message generated an error, uncomment this --> <!-- <mailet match="All" class="Bounce"/> --> <!-- If you want to notify the postmaster that a message generated an error, uncomment this --> <!-- <mailet match="All" class="NotifyPostmaster"/> --> <!-- Logs any messages to the repository specified --> <mailet match="All" class="ToRepository"> <repositoryPath>file://var/mail/error/</repositoryPath> <!-- An alternative database repository example follows. --> <!-- <repositoryPath>db://maildb/deadletter/error</repositoryPath> --> </mailet> </processor> <!-- Processor CONFIGURATION SAMPLE: transport is a sample custom processor for local or --> <!-- remote delivery --> <processor state="transport" enableJmx="true"> <!-- This is an example configuration including configuration for a list server. --> <!-- CHECKME: before uncommenting this, edit the configuration file's contents --> <!-- &listserverConfig; --> <mailet match="SMTPAuthSuccessful" class="SetMimeHeader"> <name>X-UserIsAuth</name> <value>true</value> <onMailetException>ignore</onMailetException> </mailet> <mailet match="HasMailAttribute=org.apache.james.SMIMECheckSignature" class="SetMimeHeader"> <name>X-WasSigned</name> <value>true</value> <onMailetException>ignore</onMailetException> </mailet> <!-- Add a server-side signature --> <!-- <mailet match="All" class="SMIMESign" onMailetException="ignore"> <keyStoreType>jks</keyStoreType> <keyStoreFileName>path.keystore</keyStoreFileName> <keyStorePassword>myKeyStorePass</keyStorePassword> <keyAlias>myKeyAlias</keyAlias> <keyAliasPassword>myKeyPass</keyAliasPassword> <signerName>XXX Trusted Server</signerName> <rebuildFrom>true</rebuildFrom> <postmasterSigns>true</postmasterSigns> <debug>true</debug> </mailet> --> <!-- Experimental quota Matcher --> <!-- Check if over quota --> <!-- <mailet match="IsOverQuota" class="ToProcessor"> <processor>over-quota</processor> </mailet> --> <!-- The RecipientRewriteTable will use the definitions found in recipientrewritetablexml --> <mailet match="All" class="RecipientRewriteTable" /> <!-- Place a copy in the user Sent folder --> <mailet match="SenderIsLocal" class="ToSenderFolder"> <folder>Sent</folder> <consume>false</consume> </mailet> <!-- Is the recipient is for a local account, deliver it locally --> <!-- mailet match="RecipientIsLocal" class="Sieve" --> <mailet match="RecipientIsLocal" class="AddDeliveredToHeader"/> <mailet match="RecipientIsLocal" class="LocalDelivery"/> <!-- If the host is handled by this server and it did not get --> <!-- locally delivered, this is an invalid recipient --> <mailet match="HostIsLocal" class="ToProcessor"> <processor>local-address-error</processor> <notice>550 - Requested action not taken: no such user here</notice> </mailet> <!-- CHECKME! --> <!-- This is an anti-relay matcher/mailet combination --> <!-- --> <!-- Emails sent from servers not in the network list are --> <!-- rejected as spam. This is one method of preventing your --> <!-- server from being used as an open relay. Make sure you understand --> <!-- how to prevent your server from becoming an open relay before --> <!-- changing this configuration. See also<authorizedAddresses>in SMTP Server --> <!-- --> <!-- This matcher/mailet combination must come after local delivery has --> <!-- been performed. Otherwise local users will not be able to receive --> <!-- email from senders not in this remote address list. --> <!-- --> <!-- If you are using this matcher/mailet you will probably want to --> <!-- update the configuration to include your own network/addresses. The --> <!-- matcher can be configured with a comma separated list of IP addresses --> <!-- wildcarded IP subnets, and wildcarded hostname subnets. --> <!-- e.g. "RemoteAddrNotInNetwork=127.0.0.1, abc.de.*, 192.168.0.*" --> <!-- --> <!-- If you are using SMTP authentication then you can (and generally --> <!-- should) disable this matcher/mailet pair. --> <!-- <mailet match="RemoteAddrNotInNetwork=127.0.0.1" class="ToProcessor"> <processor>relay-denied</processor> <notice>550 - Requested action not taken: relaying denied</notice> </mailet> --> <!-- DKIM signing --> <mailet match="All" class="org.apache.james.jdkim.mailets.ConvertTo7Bit"/> <mailet match="All" class="org.apache.james.jdkim.mailets.DKIMSign"> <signatureTemplate>v=1; s=20200402; d=mydomain.com; c=relaxed/relaxed; h=Message-ID:Date:Subject:From:To:MIME-Version:Content-Type; a=rsa-sha256; bh=; b=;</signatureTemplate> <privateKey> -----BEGIN RSA PRIVATE KEY----- DELETED FOR SECURITY REASONS -----END RSA PRIVATE KEY----- </privateKey> </mailet> <!-- Attempt remote delivery using the specified repository for the spool, --> <!-- using delay time to retry delivery and the maximum number of retries --> <mailet match="All" class="RemoteDelivery"> <outgoing>outgoing</outgoing> <!-- Delivery Schedule based upon RFC 2821, 4.5.4.1 --> <!-- 5 day retry period, with 4 attempts in the first hour, two more within the first 6 hours, and then every 6 hours for the rest of the period. <delayTime>4 * 15 minutes, 2 * 3 hours, 18 * 6 hours</delayTime> --> <delayTime>5000, 100000, 500000</delayTime> <maxRetries>25</maxRetries> <!-- The max reties which will used if no A or MX record for the domain was found. --> <!-- If 0 it will fail on first time --> <maxDnsProblemRetries>0</maxDnsProblemRetries> <!-- The number of threads that should be trying to deliver outgoing messages --> <deliveryThreads>10</deliveryThreads> <!-- If false the message will not be sent to given server if any recipients fail --> <sendpartial>true</sendpartial> <!-- By default we send bounces to the "bounce" processor --> <!-- By removing this configuration James will fallback to hardcoded bounce --> <!-- notifications --> <bounceProcessor>bounces</bounceProcessor> <!-- JavaMail automatically converts quoted-printable mails to 8bit --> <!-- plain-text mail because RemoteDelivery class sets it to true --> <!-- at its run() method. added by Marc, see README Notes --> <mail.smtp.allow8bitmime>false</mail.smtp.allow8bitmime> <!-- A single mail server to deliver all outgoing messages. --> <!-- This is useful if this server is a backup or failover machine, --> <!-- or if you want all messages to be routed through a particular mail server, --> <!-- regardless of the email addresses specified in the message --> <!-- --> <!-- The gateway element specifies the gateway SMTP server name. --> <!-- If your gateway mail server is listening on a port other than 25, --> <!-- you can set James to connect to it on that port using the gatewayPort --> <!-- element. --> <!-- Although normally multiple addresses are implemented through proper --> <!-- DNS configuration, the RemoteDelivery mail does allow specifying --> <!-- multiple gateway elements, each of which may also have a port --> <!-- e.g., mygateway:2525 --> <!-- the gatewayPort element is used as a default --> <!-- <gateway>otherserver.mydomain.com</gateway> <gatewayPort>25</gatewayPort> --> <!-- If the gateway requires smtp authentication the following directives --> <!-- (gatewayUsername/gatewayPassword) can be used. --> <!-- <gatewayUsername>login</gatewayUsername> <gatewayPassword>pass</gatewayPassword> --> <!-- Set the HELO/EHLO name to use when connectiong to remote SMTP-Server --> <!-- <mail.smtp.localhost>myMailServer</mail.smtp.localhost> --> </mailet> </processor> <processor state="over-quota" enableJmx="true"> <mailet match="All" class="MetricsMailet"> <metricName>mailet-over-quota-error</metricName> </mailet> <mailet match="All" class="Bounce"> <message>The following recipients do not have enough space for storing the email you sent them.</message> <attachment>none</attachment> </mailet> <mailet match="All" class="ToRepository"> <repositoryPath>file://var/mail/over-quota-error/</repositoryPath> </mailet> </processor> <!-- Processor CONFIGURATION SAMPLE: spam is a sample custom processor for handling --> <!-- spam. --> <!-- You can either log these, bounce these, or just ignore them. --> <processor state="spam" enableJmx="true"> <!-- To place the spam messages in the user junk folder, uncomment this matcher/mailet configuration --> <!-- <mailet match="RecipientIsLocal" class="ToRecipientFolder"> <folder>Junk</folder> <consume>false</consume> </mailet> --> <!-- To destroy all messages, uncomment this matcher/mailet configuration --> <!-- <mailet match="All" class="Null"/> --> <!-- To notify the sender their message was marked as spam, uncomment this matcher/mailet configuration --> <!-- <mailet match="All" class="Bounce"/> --> <!-- To notify the postmaster that a message was marked as spam, uncomment this matcher/mailet configuration --> <!-- <mailet match="All" class="NotifyPostmaster"/> --> <!-- To log the message to a repository, this matcher/mailet configuration should be uncommented. --> <!-- This is the default configuration. --> <mailet match="All" class="ToRepository"> <repositoryPath>file://var/mail/spam/</repositoryPath> <!-- Changing the repositoryPath, as in this commented out example, will --> <!-- cause the mails to be stored in a database repository. --> <!-- Please note that only one repositoryPath element can be present for the mailet --> <!-- configuration. --> <!-- <repositoryPath>db://maildb/deadletter/spam</repositoryPath> --> </mailet> </processor> <!-- messages containing viruses. --> <processor state="virus" enableJmx="true"> <!-- To avoid a loop while bouncing --> <mailet match="All" class="SetMailAttribute"> <org.apache.james.infected>true, bouncing</org.apache.james.infected> </mailet> <!-- If the sender is authenticated, notify the infection --> <mailet match="SMTPAuthSuccessful" class="Bounce"> <inline>heads</inline> <attachment>none</attachment> <notice>Warning: We were unable to deliver the message below because it was found infected by virus(es).</notice> </mailet> <!-- In any other situation ghost it, --> <!-- as viruses almost always spoof the sender's address --> <mailet match="All" class="Null" /> </processor> <!-- This processor handles messages that are for local domains, where the user is unknown --> <processor state="local-address-error" enableJmx="true"> <!-- To avoid bouncing/archiving spam, uncomment this matcher/mailet configuration --> <!-- <mailet match="HasMailAttribute=isSpam" class="Null" onMatchException="noMatch"/> --> <!-- To notify the sender the address was invalid, uncomment this matcher/mailet configuration --> <!-- The original message is not attached to keep the bounce processor from deliverying spam --> <!-- <mailet match="All" class="Bounce"> <attachment>none</attachment> </mailet> --> <!-- To notify the postmaster that a message had an invalid address, uncomment this matcher/mailet configuration --> <!-- <mailet match="All" class="NotifyPostmaster"/> --> <mailet match="All" class="ToRepository"> <repositoryPath>file://var/mail/address-error/</repositoryPath> <!-- An alternative database repository example follows. --> <!-- <repositoryPath>db://maildb/deadletter/address-error</repositoryPath> --> </mailet> </processor> <!-- This processor handles messages that are for foreign domains, where relaying is denied --> <!-- As of James v2.2, this processor can be deprecated by using the<authorizedAddresses>tag in the SMTP Server, and rejecting the message in the protocol transaction. --> <processor state="relay-denied" enableJmx="true"> <!-- To notify the sender the address was invalid, uncomment this matcher/mailet configuration --> <!-- The original message is not attached to keep the bounce processor from deliverying spam --> <!-- <mailet match="All" class="Bounce"> <attachment>none</attachment> </mailet> --> <!-- To notify the postmaster that a relay request was denied, uncomment this matcher/mailet configuration --> <!-- <mailet match="All" class="NotifyPostmaster"/> --> <mailet match="All" class="ToRepository"> <repositoryPath>file://var/mail/relay-denied/</repositoryPath> <!-- An alternative database repository example follows. --> <!-- <repositoryPath>db://maildb/deadletter/relay-denied</repositoryPath> --> </mailet> </processor> <!-- This processor handle the bounces from RemoteDelivery: As of James v2.3, this is the new --> <!-- Default. --> <!-- --> <!-- DSNBounce properly create a DSN compliant bounce --> <processor state="bounces" enableJmx="true"> <mailet match="All" class="DSNBounce"> <passThrough>false</passThrough> <!-- optional subject prefix prepended to the original message --> <!-- <prefix>[bounce]</prefix> --> <!-- message, heads or none, default=message --> <!-- <attachment>heads</attachment> --> <!-- the message sent in the bounce, the first occurrence of the pattern [machine] is --> <!-- replaced with the name of the executing machine --> <!-- Default: Hi. This is the James mail server at [machine] ... --> <!-- <messageString>Here is [machine]. I'm not able to deliver this message.</messageString> --> </mailet> </processor> </processors> </mailetcontainer>
--------------------------------------------------------------------- To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org For additional commands, e-mail: server-user-h...@james.apache.org