• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Input directsmtp - its a link from plesk for linux to other SMTP (i.e. MS-Exchange w. SMTP connector )

hitd

Basic Pleskian
A long time ago, a friend got MS-Exchange as his internal Server. Of course, there are some solutions like fetchmail to move some mails to a exchange site which is using smtp connector.

So i wrote a mailhandler for plesk. This is push mode by plesk for linux side to exchange, not poll by exchange from linux.

you can enable this mailhandler for single mail-accounts or whole domains.

Let's look at the maillog

Mar 15 01:26:44 puck983 postfix-local[32466]: D09775CC0DBF: hitd-renattach: stderr: PASS
Thats from hitd-renattach --> see other thread about renattatch

Mar 15 01:26:45 puck983 postfix-local[32466]: D09775CC0DBF: hitd-directsmtp: stderr: LOG DIRECTSMTP recipient [email protected]
Mar 15 01:26:45 puck983 postfix-local[32466]: D09775CC0DBF: hitd-directsmtp: stderr: LOG DIRECTSMTP 250 2.6.0 <M36265721L35013117Q38012774E@ozselqw> [InternalId=1106] Queued mail for delivery

That's message from exchange, what told us, to accept mail for delivery

Mar 15 01:26:46 puck983 postfix-local[32466]: D09775CC0DBF: hitd-directsmtp: stderr: LOG DIRECTSMTP 221 2.0.0 Service closing transmission channel
Mar 15 01:26:46 puck983 postfix-local[32466]: D09775CC0DBF: hitd-directsmtp: stderr: LOG DIRECTSMTP connection was secured by TLSv1_2
Mar 15 01:26:46 puck983 postfix-local[32466]: D09775CC0DBF: hitd-directsmtp: stderr: LOG DIRECTSMTP result: STOP
Mar 15 01:26:46 puck983 postfix-local[32466]: D09775CC0DBF: hitd-directsmtp: stderr: STOP
Mar 15 01:26:46 puck983 postfix-local[32466]: message discarded by a mail handler
Mar 15 01:26:46 puck983 postfix/pipe[32465]: D09775CC0DBF: to=<[email protected]>, relay=plesk_virtual, delay=3.2, delays=1.6/0.01/0/1.6, dsn=2.0.0, status=sent (delivered via plesk_virtual service)

NOTE: there is no SMTP-Auth! Security concept is: only accepting incoming mail from linux server running plesk by fix IP, So we don't need to store a password here.

SSL or TLS is enabled up to max level by default and reported in maillog.
Another feature is to be able using a dyndns target. dns resolving is done for each transmission

regards
Peter
 

Attachments

  • hitd-directsmtp.tar.bz2.zip
    5 KB · Views: 0
Additional note: There is a bug in MS-Server 2008 R2

[smtp]
smtpserver=target.mailserver-xxxxx.de
smtpport=25
enabled=1
# Windows 2008R2 need forcing to TLSv1 as long unpatched
# there are registry patches to enable TLSv1_1 and TLSV1_2
# otherwise connection will be closed immediately
sslversion=TLSv1

must used as long Windows ist unpatched.
 
Back
Top