How to send email notifications from localhost?

I'm trying to setup email notifications for my TeamCity 8.1.5 instance via postfix on localhost (a Linux machine).

I'm able to send emails via postfix  using `sendmail <TO>` on the commandline. Postfix is configured to use a mailrelay in the local network.
I'll not be able to connect to SMTP port 25 from outsite the machine due to firewall restrictions in the machine's network, thus every network communication must be kept locally.

Is there a way to send the email notficiations directly via sendmail?

1 comment
Comment actions Permalink


Now it is not possible to configure TeamCity to send emails using sendmail. Please create a feature request in our tracker.


Please sign in to leave a comment.