• Emails Pending

    From Simulant@1:103/705 to All on Tue Mar 6 06:55:48 2018
    Hi can anyone help me get external emails working properly? I already have Postfix running on my server for other mail accounts so ideally I'd like to use SBBS with this if possible?

    I have sent a few test emails and not received them externally and now they say Pending in my message list!

    I think on setup I disabled the SBBS built-in email as it was causing Postfix on my server to fail to startup on boot...

    Thanks again for any help :)

    ---
    * Synchronet * BBS for Amstrad computer users including CPC, PPC and PCW!
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Al@1:103/705 to Simulant on Tue Mar 6 02:11:50 2018
    Re: Emails Pending
    By: Simulant to All on Tue Mar 06 2018 06:55 am

    Hi can anyone help me get external emails working properly? I already have Postfix running on my server for other mail accounts so ideally I'd like to use SBBS with this if possible?

    I have sent a few test emails and not received them externally and now they say Pending in my message list!

    I think on setup I disabled the SBBS built-in email as it was causing Postfix on my server to fail to startup on boot...

    You'll need to choose one or the other. If you want to try using synchronet's mail server you can enable/disable it in ctrl/sbbs.ini and you'll need to disable your postfix server since they both need port 25.

    Ttyl :-),
    Al


    ... Love is grand. Divorce is fifty grand.

    ---
    * Synchronet * The Rusty MailBox - Penticton, BC Canada - trmb.synchro.net
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From KK4QBN@1:103/705 to Simulant on Tue Mar 6 07:30:36 2018
    Re: Emails Pending
    By: Simulant to All on Tue Mar 06 2018 06:55:48

    Hi can anyone help me get external emails working properly? I already have Postfix running on my server for other mail accounts so ideally I'd like to use SBBS with this if possible?

    afaik postfix has nothing to do with internet email.

    I have sent a few test emails and not received them externally and now they say Pending in my message list!

    are you speaking of Inernet Emails, or QWK/FTN Netmails?

    I think on setup I disabled the SBBS built-in email as it was causing Postfix on my server to fail to startup on boot...

    for emails. disable postfix on your BBS,a nd your local machine too.. it has no bearing on internet email that I know of. if you have a router have you opened all POP3/SMTP/Submission ports up on your router firewall and setup NAT to point to your BBS machine.

    It would help if you could post your setup, Please omit any passwords or any other private info.

    --

    Tim Smith (KK4QBN)
    KK4QBN BBS

    ---
    * Synchronet * KK4QBN BBS - kk4qbn.com - kk4qbn.synchro.net - Chatsworth GA USA
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to KK4QBN on Tue Mar 6 08:59:24 2018

    On 2018 Mar 06 07:30:36, you wrote to Simulant:

    Hi can anyone help me get external emails working properly? I already
    have Postfix running on my server for other mail accounts so ideally
    I'd like to use SBBS with this if possible?

    afaik postfix has nothing to do with internet email.

    hold! Hold! HOLD!

    you really should have a talk with uncle google... postfix is absolutely an email server...

    [quote="http://www.postfix.org/"]
    What is Postfix? It is Wietse Venema's mail server that started life at IBM research as an alternative to the widely-used Sendmail program. Now at Google, Wietse continues to support Postfix.

    Postfix attempts to be fast, easy to administer, and secure. The outside has a definite Sendmail-ish flavor, but the inside is completely different.
    [/quote]

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... At a Redneck Thanksgiving: Side dishes include Moon Pies.
    ---
    * Origin: (1:3634/12.73)
  • From KK4QBN@1:103/705 to mark lewis on Tue Mar 6 10:22:08 2018
    Re: Emails Pending
    By: mark lewis to KK4QBN on Tue Mar 06 2018 08:59:24

    afaik postfix has nothing to do with internet email.

    hold! Hold! HOLD!

    you really should have a talk with uncle google... postfix is absolutely an email server...

    I realized that after the message had went out, I never evem really know what postfix was, I thought it was another Network transport device like QWK or FTN, because I Have never used it. learn something new every day.

    Thanks.

    --

    Tim Smith (KK4QBN)
    KK4QBN BBS

    ---
    * Synchronet * KK4QBN BBS - kk4qbn.com - kk4qbn.synchro.net - Chatsworth GA USA
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Simulant on Tue Mar 6 14:18:05 2018
    Re: Emails Pending
    By: Simulant to All on Tue Mar 06 2018 06:55 am

    Hi can anyone help me get external emails working properly? I already have Postfix running on my server for other mail accounts so ideally I'd like to use SBBS with this if possible?

    So you want Synchronet to relay outbound mail through Postfix? That's possible (and rather simple), but you also want Postfix to receive incoming mail and relay those messages to Synchronet? Please clarify.

    I have sent a few test emails and not received them externally and now they say Pending in my message list!

    Does this help?
    http://wiki.synchro.net/faq:tcpip#send_mail

    I think on setup I disabled the SBBS built-in email as it was causing Postfix on my server to fail to startup on boot...

    Thanks again for any help :)

    Well you'll have to enable the mail server for it be able to send Internet email. You can change ports if you need to, to avoid conflict with Postfix.

    digital man

    Synchronet/BBS Terminology Definition #40:
    POP3 = Post Office Protocol version 3
    Norco, CA WX: 78.0oF, 10.0% humidity, 2 mph SE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Vk3jed@1:103/705 to Simulant on Wed Mar 7 08:18:00 2018
    Simulant wrote to All <=-

    I think on setup I disabled the SBBS built-in email as it was causing Postfix on my server to fail to startup on boot...

    Yes, they are both mail servers and will need to bind the same ports. You can have only one of these listening on the same IP/port. If you want to run both, you need multiple public IP addresses, and bind each server to a different IP. I do this to allow Mystic and Synchronet to run on the same machine on the same ports. Each has its own IP address.


    ... One accurate measurement is worth a thousand expert opinions.
    --- MultiMail/Win32 v0.49
    * Synchronet * Freeway BBS, Bendigo Australia. freeway.apana.org.au
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Vk3jed@1:103/705 to KK4QBN on Wed Mar 7 08:30:00 2018
    KK4QBN wrote to Simulant <=-

    afaik postfix has nothing to do with internet email.

    Umm, Postfix is one of the most popular Internet email servers out there!

    for emails. disable postfix on your BBS,a nd your local machine too..
    it has no bearing on internet email that I know of. if you have a
    router have you opened all POP3/SMTP/Submission ports up on your router firewall and setup NAT to point to your BBS machine.

    It would help if you could post your setup, Please omit any passwords
    or any other private info.

    Postfix is absolutely used for Internet mail. The obvious question here is what else is the machine used for? If it's also a general purpose/conventional mail server,m then Postfix is needed for that function. However, if it doesn't process email (outside of Synchronet), then why is Postfix running?

    The best advice can't be given until we know more about all of the jobs the machine has. But what I do know is you can't run Postfix and Synchronet's SMTP service on the same IP, because they require the same ports.

    If Postfix is not needed, disable Postfix and run Synchronet's SMTP service.

    If Postfix is needed, then an additional public IP is needed. Bind Postfix to one IP, and bind Synchronet to the other, I'd probably bind Postfix to localhost (127.0.0.1 for IPv4 and ::1 for IPv6) as well, in this instance.


    ... Epithaph on McCoy's Gravestone: I'm dead, Jim!
    --- MultiMail/Win32 v0.49
    * Synchronet * Freeway BBS, Bendigo Australia. freeway.apana.org.au
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From mark lewis@1:3634/12.73 to Digital Man on Wed Mar 7 13:41:44 2018

    On 2018 Mar 06 14:18:04, you wrote to Simulant:

    Hi can anyone help me get external emails working properly? I already
    have Postfix running on my server for other mail accounts so ideally
    I'd like to use SBBS with this if possible?

    So you want Synchronet to relay outbound mail through Postfix? That's possible (and rather simple), but you also want Postfix to receive incoming mail and relay those messages to Synchronet? Please clarify.

    this is pretty much how we've got our network set up over here... for $REASONS we had to configure an internal SMTP HUB to split email to internal hosts... the main $REASONS are no longer a factor but since it works, we're not going to
    change it ;)


    as an aside and FWIW: our current inbound email flow


    domain serviced by SMTP1
    ^
    | ---> max's SBBS
    | /
    WAN ---> DSPAM ---> SMTP1 ---> SMTP2 ---> other internal hosts
    / \
    / ---> another SBBS
    GIGO <--- SMTP3 <---
    |
    |
    v
    FTN BBS ---> other FTN systems



    DSPAM is on the perimeter firewall to filter *all* incoming email...

    technically speaking, DSPAM is the first SMTP server but it only handles inbound email for initial acceptance or rejection... DSPAM sends everything that passes initial filtering to SMTP1... SMTP1 is Weasel on OS/2 running in single domain mode... it keeps email to its domain and sends all other email to
    SMTP2... SMTP2 handles routing to all internal hosts and other internal SMTP servers... email to FTN systems is sent to SMTP3 which hands it to GIGO for processing and conversion to FTN PKTs...

    going the other way, ALL outbound mail from local accounts and from the FTN gateway goes to SMTP2 (postfix)... from there it splits to an internal host/SMTP or it is sent to our upstream smarthost... one reason we're doing it this way is because the postfix instance can easily handle outbound authenticated/secure connections to the smarthost whereas several internal tools that need to send email have no clue about authentication or secure email
    connections... we'd like to have DSPAM feed directly to SMTP2 but there's some account validation that goes on between DSPAM and Weasel before email is accepted or denied... that validation query cannot be chained down through intermediate SMTP servers to the destination host and the response cannot chained back through the servers to DSPAM... so we end up basically accepting everything that passes the DSPAM filters and then we reject it later if the destination user doesn't exist via the final SMTP server... AFAWK, we cannot chain account validation queries through multiple SMTP servers but we are open to being corrected about that ;)

    in the case of max's SBBS, the outbound emai flow is


    ---> destination internal host
    /
    SBBS -> SMTP2 ---> SMTP1 if destined to a FTN address
    \
    ---> WAN upstream smarthost


    so if the destination account doesn't exist on max's SBBS, SBBS will bounce back to SMTP2 which then decides which way to send the bounce... either to the originating internal host, to SMTP1 for gating the bounce to the originating FTN address or offsite to the smarthost...

    just adding something to the conversation pre-c0ffee...

    don't mind me O;)

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Boys you got some trouble... You committin' herbicide.
    ---
    * Origin: (1:3634/12.73)
  • From mark lewis@1:3634/12.73 to Vk3jed on Wed Mar 7 12:04:30 2018

    On 2018 Mar 07 08:18:00, you wrote to Simulant:

    I think on setup I disabled the SBBS built-in email as it was causing
    Postfix on my server to fail to startup on boot...

    Yes, they are both mail servers and will need to bind the same ports.
    You can have only one of these listening on the same IP/port. If you
    want to run both, you need multiple public IP addresses, and bind each server to a different IP.

    you don't need multiple IPs if you chain them... the first would accept mail for both domains... it would keep the mail for its domain and pass mail for the
    other domain to its server... the question is if SBBS' SMTP server can pass off
    to downstream SMTP servers... i guess it would be relaying for them... but then
    i remember that Mystic's SMTP and POP3 stuff was local only to the BBS so users
    could check for private messages without having to logon to the BBS... has g00r00 opened it up as a public SMTP/POP3 server in the new version?

    I do this to allow Mystic and Synchronet to run on the same machine on
    the same ports. Each has its own IP address.

    we're doing that using VMs O:)

    )\/(ark

    Always Mount a Scratch Monkey
    Do you manage your own servers? If you are not running an IDS/IPS yer doin' it wrong...
    ... Let your mind dwell upon the horror of McChilly.
    ---
    * Origin: (1:3634/12.73)
  • From Tony Langdon@3:633/410 to mark lewis on Thu Mar 8 07:31:00 2018
    mark lewis wrote to Vk3jed <=-

    you don't need multiple IPs if you chain them... the first would accept mail for both domains... it would keep the mail for its domain and pass mail for the other domain to its server... the question is if SBBS'
    SMTP server can pass off to downstream SMTP servers... i guess it would

    I know SBBS can pass off mail downstream. There is a howto on the wiki.

    be relaying for them... but then i remember that Mystic's SMTP and POP3 stuff was local only to the BBS so users could check for private
    messages without having to logon to the BBS... has g00r00 opened it up
    as a public SMTP/POP3 server in the new version?

    Not to my knowledge, though that is a much requested feature. In any case, I don't like running mail servers on oddball ports, and I have the IPs to do things the way I have. :)

    I do this to allow Mystic and Synchronet to run on the same machine on
    the same ports. Each has its own IP address.

    we're doing that using VMs O:)

    With a lot more overhead and power consumption (another big issue here). Mine are running together on the same Banana Pi. ;)


    ... Yes, but you're taking the universe out of context.
    === MultiMail/Win32 v0.49
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)
  • From Simulant@1:103/705 to Digital Man on Wed Mar 7 16:07:02 2018
    Re: Emails Pending
    By: Digital Man to Simulant on Tue Mar 06 2018 02:18 pm

    So you want Synchronet to relay outbound mail through Postfix? That's possib
    le
    (and rather simple), but you also want Postfix to receive incoming mail and relay those messages to Synchronet? Please clarify.
    Well you'll have to enable the mail server for it be able to send Internet email. You can change ports if you need to, to avoid conflict with Postfix.

    Yes that would be great if I can use postfix with Synchronet and relay the messages through postfix... If postfix can handle all incoming and outgoing external mail for synchronet that would be cool, unless there is no advantage to this? I'm just thinking postfix on my server has to stay anyway for other mail users, and anti-spam and such is set up on it. So I may as well use it for all the emails on the server including SBBS. I figured that would be more efficient, but I could be wrong?

    I'll start the mail server back up for Synchronet with different ports to see if that works. Maybe that is enough and I don't need to do any mail relaying at all or use postfix too? A few other users have suggested I need a second IP address due to the smtp port already being tied up though??

    The Amstrad BBS - amstrad.simulant.uk

    ---
    * Synchronet * BBS for Amstrad computer users including CPC, PPC and PCW!
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Simulant on Wed Mar 7 17:05:25 2018
    Re: Emails Pending
    By: Simulant to Digital Man on Wed Mar 07 2018 04:07 pm

    Re: Emails Pending
    By: Digital Man to Simulant on Tue Mar 06 2018 02:18 pm

    So you want Synchronet to relay outbound mail through Postfix? That's possib
    le
    (and rather simple), but you also want Postfix to receive incoming mail and relay those messages to Synchronet? Please clarify.
    Well you'll have to enable the mail server for it be able to send Internet email. You can change ports if you need to, to avoid conflict with Postfix.

    Yes that would be great if I can use postfix with Synchronet and relay the messages through postfix... If postfix can handle all incoming and outgoing external mail for synchronet that would be cool, unless there is no advantage to this?

    Possibly, but I certainly enhance the Synchronet mail server regularly to support the enhancements (e.g. anti-SPAM measures) that I see needed or are requested.

    I'm just thinking postfix on my server has to stay anyway
    for other mail users, and anti-spam and such is set up on it. So I may as well use it for all the emails on the server including SBBS. I figured that would be more efficient, but I could be wrong?

    I don't know about efficient (you're introducing another hop for mail messages to/from the BBS), but it's should be possible.

    I'll start the mail server back up for Synchronet with different ports to see if that works. Maybe that is enough and I don't need to do any mail relaying at all or use postfix too? A few other users have suggested I need a second IP address due to the smtp port already being tied up though??

    If you're not going to be expecting SMTP transmissions directly to the Synchronet mail server, then you don't need it listening on port 25. Any other port would do, but you'd have to teach Postfix about that port and the interface address the Synchronet SMTP server is listening on.

    You could also just have the Synchronet Mail server listening on the localhost interface (127.0.0.1) still use the standard ports (e.g. SMTP port 25). It's up to you.

    digital man

    This Is Spinal Tap quote #45:
    I don't really think the end can be assessed as of itself as being the end Norco, CA WX: 67.8oF, 26.0% humidity, 4 mph ESE wind, 0.00 inches rain/24hrs --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Simulant@1:103/705 to Digital Man on Fri Mar 9 16:52:32 2018
    Re: Emails Pending
    By: Digital Man to Simulant on Wed Mar 07 2018 05:05 pm

    Re: Emails Pending
    By: Simulant to Digital Man on Wed Mar 07 2018 04:07 pm

    Re: Emails Pending
    By: Digital Man to Simulant on Tue Mar 06 2018 02:18 pm

    So you want Synchronet to relay outbound mail through Postfix? That's possib
    le
    (and rather simple), but you also want Postfix to receive incoming mai
    l
    and relay those messages to Synchronet? Please clarify.
    Well you'll have to enable the mail server for it be able to send Internet email. You can change ports if you need to, to avoid conflict with Postfix.

    Yes that would be great if I can use postfix with Synchronet and relay th
    e
    messages through postfix... If postfix can handle all incoming and outgoi
    ng
    external mail for synchronet that would be cool, unless there is no advantage to this?

    Possibly, but I certainly enhance the Synchronet mail server regularly to support the enhancements (e.g. anti-SPAM measures) that I see needed or are requested.

    I'm just thinking postfix on my server has to stay anyway
    for other mail users, and anti-spam and such is set up on it. So I may as well use it for all the emails on the server including SBBS. I figured th
    at
    would be more efficient, but I could be wrong?

    I don't know about efficient (you're introducing another hop for mail messag
    es
    to/from the BBS), but it's should be possible.

    I'll start the mail server back up for Synchronet with different ports to see if that works. Maybe that is enough and I don't need to do any mail relaying at all or use postfix too? A few other users have suggested I ne
    ed
    a second IP address due to the smtp port already being tied up though??

    If you're not going to be expecting SMTP transmissions directly to the Synchronet mail server, then you don't need it listening on port 25. Any oth
    er
    port would do, but you'd have to teach Postfix about that port and the interface address the Synchronet SMTP server is listening on.

    You could also just have the Synchronet Mail server listening on the localho
    st
    interface (127.0.0.1) still use the standard ports (e.g. SMTP port 25). It's
    up
    to you.

    digital man

    Hi thanks, I've read the wiki again and although there are relay options available and I've looked back in the sbbs/ctrl/sbbs.ini file etc - I'm still non-the-wiser about how to actually set it up! The idea of relaying mail makes sense, and when I read the wiki it makes sense. But how do I actually apply it?

    I'm confused also about the ports. If I relay both incoming and outgoing mail do I leave the default ports or will they still conflict with postfix?

    Basically I'd just like to set the config up to send and receive email as simple as I can but leave postfix and its default ports in place.

    So to work "through postfix" would I have to setup an email box so that sbbs can use the username and password to send/recieve through an email box on my postfix server?

    You also mentioned I can just set the mail server to listen on 127.0.0.1, but does that mean I don't use any ports and would that then conflict with anything else already listening on 127.0.0.1

    Any help to get this setup would be really good as I'd like for users to be able to send and receive email to each other and it go out to their "external world" inboxes as well as collect in the BBS too.

    Thanks for any help.


    ------------------------------------------------------------------------------- The Amstrad BBS - amstrad.simulant.uk
    telnet port 464 | rlogin port 664 | ssh port 6128

    ---
    * Synchronet * BBS for Amstrad computer users including CPC, PPC and PCW!
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Simulant on Fri Mar 9 14:52:58 2018
    Re: Emails Pending
    By: Simulant to Digital Man on Fri Mar 09 2018 04:52 pm

    Hi thanks, I've read the wiki again and although there are relay options available and I've looked back in the sbbs/ctrl/sbbs.ini file etc - I'm still non-the-wiser about how to actually set it up! The idea of relaying mail makes sense, and when I read the wiki it makes sense. But how do I actually apply it?

    For relaying outbound mail, you would add "RELAY_TX" to the "Options" value of the [mail] section of your sbbs.ini file and then set the RelayServer, RelayPort fields according the requirement of your Postfix mailserver. If your Postfix server requires authentcation for relaying, then you'll need to add one of the RELAY_AUTH_* options and set the RelayUsername and RelayPassword values as well.

    For relyaing incoming mail, you would need to configure your Postfix server to recognize the domain of the BBS and forward that mail to your Synchronet SMTP mail server (whatever address and port it is configured to listen on).

    I'm confused also about the ports. If I relay both incoming and outgoing mail do I leave the default ports or will they still conflict with postfix?

    You can't have 2 services listening on the same TCP port on the same network interface address. So if you have Postfix configured to listen on your public Internet addres (for example), and the Synchronet SMTP server configured to listen on the localhost interface (127.0.0.1), then they could both use the same port number (e.g. 25) and it wouldn't be a problem.

    Basically I'd just like to set the config up to send and receive email as simple as I can but leave postfix and its default ports in place.

    The simplest thing would be to run the 2 mail servers on different IP addresses then.

    So to work "through postfix" would I have to setup an email box so that sbbs can use the username and password to send/recieve through an email box on my postfix server?

    No. You want Postfix to relay the mail (not store it).

    You also mentioned I can just set the mail server to listen on 127.0.0.1, but does that mean I don't use any ports and would that then conflict with anything else already listening on 127.0.0.1

    You would still use ports. And yes, if you already had something else listening on the same port on 127.0.0.1, they would conflict.

    Any help to get this setup would be really good as I'd like for users to be able to send and receive email to each other and it go out to their "external world" inboxes as well as collect in the BBS too.

    That's how it normally works.

    digital man

    This Is Spinal Tap quote #46:
    "Not an Exit" - we don't want an exit. Well that's true.
    Norco, CA WX: 69.6oF, 58.0% humidity, 10 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Simulant@1:103/705 to Digital Man on Sat Mar 10 16:27:37 2018
    Re: Emails Pending
    By: Digital Man to Simulant on Fri Mar 09 2018 02:52 pm

    For relaying outbound mail, you would add "RELAY_TX" to the "Options" value the [mail] section of your sbbs.ini file and then set the RelayServer, RelayPort fields according the requirement of your Postfix mailserver. If yo Postfix server requires authentcation for relaying, then you'll need to add of the RELAY_AUTH_* options and set the RelayUsername and RelayPassword valu as well.

    For relyaing incoming mail, you would need to configure your Postfix server recognize the domain of the BBS and forward that mail to your Synchronet SMT mail server (whatever address and port it is configured to listen on).

    I'm confused also about the ports. If I relay both incoming and outgoing mail do I leave the default ports or will they still conflict with postfi

    You can't have 2 services listening on the same TCP port on the same network interface address. So if you have Postfix configured to listen on your publi Internet addres (for example), and the Synchronet SMTP server configured to listen on the localhost interface (127.0.0.1), then they could both use the same port number (e.g. 25) and it wouldn't be a problem.

    Basically I'd just like to set the config up to send and receive email as simple as I can but leave postfix and its default ports in place.

    The simplest thing would be to run the 2 mail servers on different IP addres then.

    So to work "through postfix" would I have to setup an email box so that s can use the username and password to send/recieve through an email box on postfix server?

    No. You want Postfix to relay the mail (not store it).

    You also mentioned I can just set the mail server to listen on 127.0.0.1, but does that mean I don't use any ports and would that then conflict wit anything else already listening on 127.0.0.1

    You would still use ports. And yes, if you already had something else listen on the same port on 127.0.0.1, they would conflict.

    Any help to get this setup would be really good as I'd like for users to able to send and receive email to each other and it go out to their "external world" inboxes as well as collect in the BBS too.

    That's how it normally works.

    Hi thanks all the help and tips so far. The good news is I've now got the SBBS mail server running again and (hopefully) not conflicting with postfix and other servers also running already...

    Things are now kind of working. I changed the port for SMTP in sbbs.ini to 65001 (just a random custom port that wasn't being used) then I set up a relay rule in Postfix transport file: amstrad.simulant.uk smtp:amstrad.simulant.uk:65001

    I don't know if I've actually done this right or if the domain relay rule in postfix should be pointing the custom pop port for sbbs rather than the sbbs smtp port?

    I also set the sbbs.ini pop port to 65000

    Mail now seems to get delivered from the outside world (such as my gmail account) and into the BBS, then it forwards it back out to the user's external email again.

    The log says it is sending on port 25 though still, so not sure why that is...

    Thanks for any clarification or further adjustments needed if I've done this setup wrong or can make it work better.

    ---
    * The Amstrad BBS *
    * amstrad.simulant.uk *
    * telnet port 464 * rlogin port 664 * ssh port 6128 *
    ---
    * Synchronet * BBS for Amstrad computer users including CPC, PPC and PCW!
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Simulant on Sat Mar 10 13:47:45 2018
    Re: Emails Pending
    By: Simulant to Digital Man on Sat Mar 10 2018 04:27 pm

    The log says it is sending on port 25 though still, so not sure why that is...

    Your inbound and your outbound ports are different settings.

    You have 2 choices for outbound SMTP mail: "Direct Delivery" (the default) or "Relay".

    For direct delivery (when the "RELAY_TX" option is not set), you have no choice but to send on TCP port 25 - that's the Internet standard.

    When *relaying* your outbound mail (the "RELAY_TX" option is set), then the outbound SMTP port is configured through the "RelayPort" settings I mentioned before.

    digital man

    Synchronet "Real Fact" #17:
    "Vertrauen" (ver-trow-en) translates to "trust" in German, and was a band name. Norco, CA WX: 56.9oF, 95.0% humidity, 4 mph ENE wind, 0.04 inches rain/24hrs --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Simulant@1:103/705 to Digital Man on Sun Mar 11 12:47:01 2018
    Re: Emails Pending
    By: Simulant to Digital Man on Sat Mar 10 2018 04:27 pm

    For relyaing incoming mail, you would need to configure your Postfix serv recognize the domain of the BBS and forward that mail to your Synchronet mail server (whatever address and port it is configured to listen on).

    I'm confused also about the ports. If I relay both incoming and outgoi mail do I leave the default ports or will they still conflict with pos

    You can't have 2 services listening on the same TCP port on the same netw interface address. So if you have Postfix configured to listen on your pu Internet addres (for example), and the Synchronet SMTP server configured listen on the localhost interface (127.0.0.1), then they could both use t same port number (e.g. 25) and it wouldn't be a problem.

    Basically I'd just like to set the config up to send and receive email simple as I can but leave postfix and its default ports in place.

    The simplest thing would be to run the 2 mail servers on different IP add then.

    So to work "through postfix" would I have to setup an email box so tha can use the username and password to send/recieve through an email box postfix server?

    No. You want Postfix to relay the mail (not store it).

    You also mentioned I can just set the mail server to listen on 127.0.0 but does that mean I don't use any ports and would that then conflict anything else already listening on 127.0.0.1

    You would still use ports. And yes, if you already had something else lis on the same port on 127.0.0.1, they would conflict.

    Any help to get this setup would be really good as I'd like for users able to send and receive email to each other and it go out to their "external world" inboxes as well as collect in the BBS too.

    That's how it normally works.

    Hi thanks all the help and tips so far. The good news is I've now got the SB mail server running again and (hopefully) not conflicting with postfix and other servers also running already...

    Things are now kind of working. I changed the port for SMTP in sbbs.ini to 65001 (just a random custom port that wasn't being used) then I set up a rel rule in Postfix transport file: amstrad.simulant.uk smtp:amstrad.simulant.uk:65001

    I don't know if I've actually done this right or if the domain relay rule in postfix should be pointing the custom pop port for sbbs rather than the sbbs smtp port?

    I also set the sbbs.ini pop port to 65000

    Mail now seems to get delivered from the outside world (such as my gmail account) and into the BBS, then it forwards it back out to the user's extern email again.

    The log says it is sending on port 25 though still, so not sure why that is.

    Thanks for any clarification or further adjustments needed if I've done this setup wrong or can make it work better.

    Hi I'm still not really getting this sorry. You'll have to go slow with me!! (I know, you already are doing!!).

    So I've set postfix transport file to say: amstrad.simulant.uk smtp:amstrad.simulant.uk:65001

    I figured that would then mean any mail coming in to the amstrad.simulant.uk domain would then be transferred via smtp to the Synchronet BBS mail server smtp running on port 65001.

    But here is where I'm getting very confused. I always thought smptp is for *outgoing mail*... So if the mail is coming in to postfix why am I setting it as smtp and pointing it to the SBBS *outgoing* smtp port?

    and I've set sbbs.ini smtp port to 65001 to match this rule I've set up in postfix. But again, mail is being sent out on port 25 anyway as you said, it defaults to that. So why do I set it to 65001 if it is ignoring this custom port?

    But on the other hand mail is coming in from the outside world, so is that port somehow still working for listening and receiving (despite being smtp/outgoing) and working. but then still sending out on 25?? so using both??

    Sorry for all these questions. I just need to get it straight in my head, I hate having things set up wrong, or set and not doing something when you think they are doing something haha.

    At least it works though! So hooray!

    One thing I've noticed is when I sent an email from say Gmail to my SBBS email address, it comes in but then forwards back out. I do want this to happen, but it would be nice if the mail was still also stored on the BBS too. That way if you're accessing from an old 8bit machine and using the BBS as an email client to send and receive you don't need the forwarded emails. This would put our old hardware to good use and allow me to use my old Amstrad PPC640 luggable (not quite a laptop!!) in an cafe or restaurante and actually do work via email over wifi without needing a modern machine. Which is way cool!!

    So is there a config setting or such so I can set this up, that way a user still gets notified they have mail on the BBS and they then know to telnet in if they don't regularly, but if they *do* use the BBS a fair bit they still have access the past and present emails on the system until they choose to delete them. Or maybe a time limit can be set so messages over a year old are deleted or something like that?

    Thanks again.

    ---
    * The Amstrad BBS *
    * amstrad.simulant.uk *
    * telnet port 464 * rlogin port 664 * ssh port 6128 *
    ---
    * Synchronet * BBS for Amstrad computer users including CPC, PPC and PCW!
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Simulant on Sun Mar 11 13:46:09 2018
    Re: Emails Pending
    By: Simulant to Digital Man on Sun Mar 11 2018 12:47 pm

    Hi I'm still not really getting this sorry. You'll have to go slow with me!! (I know, you already are doing!!).

    So I've set postfix transport file to say: amstrad.simulant.uk smtp:amstrad.simulant.uk:65001

    I figured that would then mean any mail coming in to the amstrad.simulant.uk domain would then be transferred via smtp to the Synchronet BBS mail server smtp running on port 65001.

    I'm not familiar with Postfix, so I'll take your word on it.

    But here is where I'm getting very confused. I always thought smptp is for *outgoing mail*... So if the mail is coming in to postfix why am I setting it as smtp and pointing it to the SBBS *outgoing* smtp port?

    SMTP is how mail servers both send and receive mail. When one mail server is sending messages to another mail server, one is sending and the other is receiving and they're both communicating via SMTP.

    The only "ougoint SMTP port" you can configure in Synchronet is when you're relaying your outbound mail through an intermediary mail server, in which case, that mail server does not have to be using port 25.

    and I've set sbbs.ini smtp port to 65001 to match this rule I've set up in postfix. But again, mail is being sent out on port 25 anyway as you said, it defaults to that. So why do I set it to 65001 if it is ignoring this custom port?

    Nothing is being ignore. You're simply confusing inbound and outbound. If mail is being sent from the Synchronet mail server *to* SMTP port 25 on some other mail server its because either:

    1. You have the mail server configured for direct delivery (not RELAY_TX), or: 2. You have the mail server configured for relay, but the RelayPort is either set to port 25 or blank.

    But on the other hand mail is coming in from the outside world, so is that port somehow still working for listening and receiving (despite being smtp/outgoing) and working. but then still sending out on 25?? so using both??

    The incoming port configuration has nothing to do with mail sent from your BBS's mail server.

    Sorry for all these questions. I just need to get it straight in my head, I hate having things set up wrong, or set and not doing something when you think they are doing something haha.

    At least it works though! So hooray!

    One thing I've noticed is when I sent an email from say Gmail to my SBBS email address, it comes in but then forwards back out. I do want this to happen, but it would be nice if the mail was still also stored on the BBS too.

    Then disable the "forward to netmail" option on your user account.

    That way if you're accessing from an old 8bit machine and using the BBS
    as an email client to send and receive you don't need the forwarded emails. This would put our old hardware to good use and allow me to use my old Amstrad PPC640 luggable (not quite a laptop!!) in an cafe or restaurante and actually do work via email over wifi without needing a modern machine. Which is way cool!!

    So is there a config setting or such so I can set this up, that way a user still gets notified they have mail on the BBS and they then know to telnet in if they don't regularly, but if they *do* use the BBS a fair bit they still have access the past and present emails on the system until they choose to delete them. Or maybe a time limit can be set so messages over a year old are deleted or something like that?

    Yes, both.

    digital man

    This Is Spinal Tap quote #4:
    David St. Hubbins: He died in a bizarre gardening accident...
    Norco, CA WX: 66.9oF, 73.0% humidity, 0 mph ENE wind, 0.52 inches rain/24hrs --- SBBSecho 3.03-Win32
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)