[BlueOnyx:22355] Re: Smart Relay on port 587

neal pressman blueonyx at naitram.net
Wed Aug 29 08:12:34 -05 2018


thanks, just did this on a system that i had to manually reconfigure 
everytime there was an update

--
Open WebMail Project (http://openwebmail.org)


---------- Original Message -----------
From: Colin Jack <colin at mainline.co.uk>
To: BlueOnyx General Mailing List <blueonyx at mail.blueonyx.it>
Sent: Tue, 28 Aug 2018 19:48:51 +0000
Subject: [BlueOnyx:22353] Re: Smart Relay on port 587

> Replying to my own email because I have got it working (with help 
> from an email from Michael last year). I'm posting this so that if 
> anybody wants to do this these instructions will help.
> 
> 1. Edit */etc/sendmail.mc* and add the following line at the top 
> under the "divert(-1)dnl" line:
> 
> define(`RELAY_MAILER_ARGS', `TCP $h 587')dnl
> 
> 2. Rebuild sendmail.cf and restart sendmail using the following 
commands:
> 
> cd /etc/mail
> make all
> 
> 3. Add the Smart Relay FQDN using the GUI: "Network Services" /
> "Email", "Advanced"-tab and then "Smart Relay Server".
> 
> 4. Protect the sendmail.mc file to avoid it being overwritten:
> 
> chattr +i /etc/mail/sendmail.mc
> 
> Job done!
> 
> -----Original Message-----
> From: Blueonyx <blueonyx-bounces at mail.blueonyx.it> on behalf of 
> Colin Jack <colin at mainline.co.uk> Reply-To: BlueOnyx General Mailing 
> List <blueonyx at mail.blueonyx.it> Date: Tuesday, 28 August 2018 at 17:21
> To: BlueOnyx General Mailing List <blueonyx at mail.blueonyx.it>
> Subject: [BlueOnyx:22352] Smart Relay on port 587
> 
>     We have a client who wants to relay their outbound mail via a 
> 3rd party Smart Relay on port 587.    There is nothing in the GUI to 
> allow this - authenticated smart relay.
> 
>     Plenty of info on the net about editing sendmail.mc to do this 
> but with BX this would get overwritten?
> 
>     What would be the best way forward?
> 
>     Thanks
> 
>     Colin
> 
>     _______________________________________________
>     Blueonyx mailing list
>     Blueonyx at mail.blueonyx.it
>     http://mail.blueonyx.it/mailman/listinfo/blueonyx
> 
> _______________________________________________
> Blueonyx mailing list
> Blueonyx at mail.blueonyx.it
> http://mail.blueonyx.it/mailman/listinfo/blueonyx
------- End of Original Message -------




More information about the Blueonyx mailing list