OK, typical i find an answer just as i post, seems modifying sendmail.c is one option that will work for me, albeit need to be aware for upgrades.
Would be good if an option to specify a port could be rolled into a future version. On Tuesday, December 13, 2016 at 11:40:23 AM UTC, flippery_fish wrote: > > Hi, > > Google Compute Engine does not allow outbound connections on ports 25, > 465, and 587. > > As recommended by GCE, I have setup mailjet on 2525 which works fine for > outbound mail relay. > > Is there a way to send the OSSEC email notifications to send on specific > port (i.e. in.mailjet.com:2525 in my case)? > > If not, is there a workaround? Of course i could do something like write > the OSEC notifications to json file, parse that and send manually, but was > hoping to avoid doing that. > > > > -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
