• Linux mail setup w/Synchronet

    From poindexter FORTRAN@VERT/REALITY to All on Wednesday, December 04, 2019 14:37:21
    I'm planning to move my BBS to a Linux VPS, and am unsure how to best set up SMTP. I'd like to have Postfix running on port 25 on the box, and have it deliver mail to local folders for shell users. Mail for BBS users would stay in the BBS.

    I was thinking I could have Postfix configured to answer on port 25, set as MX for domain1.com (for shell users) and domain2.com (for BBS users). I could use a transport map to route mail to domain2.com on an alternate port for the BBS, and configure Synchronet's SMTP server to use that port.

    I'm not sure if I'm missing something here.

    How do you handle mail in a similar situation?

    ---
    þ Synchronet þ realitycheckBBS -- http://realitycheckBBS.org
  • From Oli@VERT to poindexter FORTRAN on Thursday, December 05, 2019 01:01:08
    I'm planning to move my BBS to a Linux VPS, and am unsure how to best
    set up SMTP. I'd like to have Postfix running on port 25 on the box,
    and have it deliver mail to local folders for shell users. Mail for
    BBS users would stay in the BBS.

    I was thinking I could have Postfix configured to answer on port 25,
    set as MX for domain1.com (for shell users) and domain2.com (for BBS users). I could use a transport map to route mail to domain2.com on an alternate port for the BBS, and configure Synchronet's SMTP server to
    use that port.

    I'm not sure if I'm missing something here.

    How do you handle mail in a similar situation?

    Sounds good and I don't know any other way to do it, if you have one IP address
    only. Postfix is the relay server for domain2 (relay_domains) and forwards mails to Synchronet.



    * Origin: kakistocracy (2:280/464.47)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Alterego@VERT/ALTERANT to poindexter FORTRAN on Thursday, December 05, 2019 11:58:15
    Re: Linux mail setup w/Synchronet
    By: poindexter FORTRAN to All on Wed Dec 04 2019 02:37 pm

    I'm planning to move my BBS to a Linux VPS, and am unsure how to best set up SMTP. I'd like to have Postfix running on port 25 on the box, and have it deliver mail to local folders for shell users. Mail for BBS users would stay in the BBS.

    So I do this - but not with postfix, with sendmail.

    (I've always used sendmail, never could understand postfix.)

    So you should be able to do it.

    could use a transport map to route mail to domain2.com on an alternate port for the BBS, and configure Synchronet's SMTP server to use that port.

    I dont mess with ports, however, as I use docker containers, where each container can listen on port 25, and then its just hostname resolution to get the mail to the right container.
    ...ëîå*

    ... He used to be fairly indecisive, but now he's not so certain.

    ---
    þ Synchronet þ Alterant | an SBBS in Docker on Pi!