Can anyone help me with SMTP (Sending Mail) on NeXTStation?

Started by berskyboy, September 23, 2019, 10:10:17 PM

Previous topic - Next topic

berskyboy

Hi,

I have a NeXTStation Mono Turbo and also a few copies of previous running on a few macs.  I'm able to make recordings on each of these machines but wanted a way to email or ftp the sound files back to my Black hardware.  Does anyone know how to get SMTP working in NeXTStep 3.3?  I figured out how to use PopOver to get emails from my ISP, but I don't remember how I setup the SMTP side, so I can email files out.  Another option would be to FTP the files too.

Any help, or steering the right direction would be great,
thanks,
Mark
NeXTStation Mono Turbo

Rob Blessin Black Hole

Rob Blessin President computerpowwow ebay  [email protected] http://www.blackholeinc.com
303-741-9998 Serving the NeXT Community  since 2/9/93

eagle

Oh man, mail on the NeXT, now that's fun.  I used to use my NeXT as a mail server (it used a smart relay host), and it also accepted inbound email, so my NeXT-owning friends and I could exchange NeXT mail - that was super fun.  I should get that set up again.
My NeXTs:
NeXT Computer prototype (68030-25 x2, 68040-25)
Two NeXTstations (68040-25)
All mono

berskyboy

Hi Rob,

This looks great, but I just wanted to setup the other-side of my IMAP, or POP address.  I'm able to login with my credentials with PopOver, but I want to know where do I enter my credentials for the SMTP sending of mail.  Or will the pdf you pointed me to be the only way to make the sending mail an option.  My ISP is SHAW and on my Apple Newton (yes another OLD device) I have the following for SMTP setup:

got this working...
Incoming Mail Server Information:
Incoming Mail Server: imap.shaw.ca
Incoming Port: 143
SSL: No
Username: Shaw email address without the @shaw.ca
Password: Your email password

Need to figure out this...
Outgoing Mail Server Information:
Outgoing Mail Server: imap.shaw.ca
Outgoing Port: 25
SSL: No
Username: Shaw email address without the @shaw.ca
Password: Your email password
NeXTStation Mono Turbo

eagle

Quote from: berskyboy on September 24, 2019, 07:40:19 AMThis looks great, but I just wanted to setup the other-side of my IMAP, or POP address.  I'm able to login with my credentials with PopOver, but I want to know where do I enter my credentials for the SMTP sending of mail.
If memory serves, Sendmail does not support that. You will need to set up a relay mail server that has that functionality.  The way I did it was to set up a mail server on my home network using Postfix, then to have that relay for my NeXT.  The Postfix mail server only accepted mail from the NeXT, and the only thing it did with email (and it did this with all email) was to relay it through my ISP's mail server.  Postfix supports the needed credentialed SMTP functionality, and I configured Postfix to send with credentials.  Any Linux machine can run Postfix, and can be configured to do this.
My NeXTs:
NeXT Computer prototype (68030-25 x2, 68040-25)
Two NeXTstations (68040-25)
All mono

berskyboy

Quote from: eagle on September 25, 2019, 07:08:52 AMIf memory serves, Sendmail does not support that. You will need to set up a relay mail server that has that functionality.  The way I did it was to set up a mail server on my home network using Postfix, then to have that relay for my NeXT.  The Postfix mail server only accepted mail from the NeXT, and the only thing it did with email (and it did this with all email) was to relay it through my ISP's mail server.  Postfix supports the needed credentialed SMTP functionality, and I configured Postfix to send with credentials.  Any Linux machine can run Postfix, and can be configured to do this.

Hi eagle,
Yes that sound like a solution.  I have a Mac mini running high sierra all the time, that should do the trick.  Do you have configuration settings handy?  If not when I install it later, I might reach out for some help.  On a side note.  I'm actually enjoying running Previous emulator.  What a great piece of software, runs great!

thanks,
Mark
NeXTStation Mono Turbo

berskyboy

Quote from: eagle on September 25, 2019, 07:08:52 AMIf memory serves, Sendmail does not support that. You will need to set up a relay mail server that has that functionality.  The way I did it was to set up a mail server on my home network using Postfix, then to have that relay for my NeXT.  The Postfix mail server only accepted mail from the NeXT, and the only thing it did with email (and it did this with all email) was to relay it through my ISP's mail server.  Postfix supports the needed credentialed SMTP functionality, and I configured Postfix to send with credentials.  Any Linux machine can run Postfix, and can be configured to do this.

Hi Eagle,

I did a search for all things related to Postfix server.  There is a solution posted from  kb7sqi, but there doesn't seem to be the files mentioned.  Do you have these apps?  Or would I just have to get Postfix working on my Mac Mini and do some research on how to send those message to that server.  I'm glad I did get FTP working tho, so this way anything I create on the NeXT can live elsewhere.
NeXTStation Mono Turbo

eagle

I forget if the NeXT has m4. If it does, you want to do something like this on the NeXT side: https://rick.cogley.info/post/setup-smarthost-in-linux-sendmail/

The trick is the line

define(`SMART_HOST', `smtp-relay.gmail.com')dnl

If m4 doesn't exist, I think you want to search sendmail.cf for the "DM" line and set it to "DMsmartrelay.homenetwork.com" supplying the correct hostname.  You might need to add the hostname to NetInfo as well.

You'll want to point that to the relay on your home network.  Using an ISP (or gmail or iCloud) relay with postfix is easy, and web searches find it easily.
My NeXTs:
NeXT Computer prototype (68030-25 x2, 68040-25)
Two NeXTstations (68040-25)
All mono

berskyboy

Quote from: eagle on September 26, 2019, 07:32:23 AMI forget if the NeXT has m4. If it does, you want to do something like this on the NeXT side: https://rick.cogley.info/post/setup-smarthost-in-linux-sendmail/

The trick is the line

define(`SMART_HOST', `smtp-relay.gmail.com')dnl

If m4 doesn't exist, I think you want to search sendmail.cf for the "DM" line and set it to "DMsmartrelay.homenetwork.com" supplying the correct hostname.  You might need to add the hostname to NetInfo as well.

You'll want to point that to the relay on your home network.  Using an ISP (or gmail or iCloud) relay with postfix is easy, and web searches find it easily.

Getting 554 buildaddr: unknown mailer 10,

which is better than the 550 Unknown host.  I put and ip address after DM__ maybe it needs the qualified name?
NeXTStation Mono Turbo

eagle

Yes, it probably needs the hostname, and the hostname probably needs to be in NetInfo.
My NeXTs:
NeXT Computer prototype (68030-25 x2, 68040-25)
Two NeXTstations (68040-25)
All mono

jeronimo

Quote from: berskyboy on October 01, 2019, 09:43:49 PMGetting 554 buildaddr: unknown mailer 10,

which is better than the 550 Unknown host.  I put and ip address after DM__ maybe it needs the qualified name?

Hi i wanna know if you could send mail using mail app?