mailsrv module - wb8tyw/D-Rats GitHub Wiki

What is the mailsrv module

The mailsrv module is d-rats running a limited POP3 and SMTP e-mail server so that you can use your favorite standard compliant e-mail program to send and receive at least a subset of d-rats messages.

Limitations

The e-mail client has to be on the same system that d-rats is running on.

Attachments received in d-rats are not passed through to the client. Since mail client pop3 client settings may by default delete the messages is pulls from the d-rats, this can cause silent data loss.

If you do not set the messages to be deleted when pulled, when you restart d-rats, your e-mail client will then pull new copies of the messages. This is due to a design issue, as d-rats is not assigning a permanent unique message ID to its messages, it generates new message IDs at the time the message is being downloaded.

Using the mailsrv module

Using the mailsrv module involves going into the preferences settings, then going to the Messages section.

Near the bottom of the page there are two boxes that are by default disabled.

You need to enable the two servers and make sure that the ports are not already in use.

Then on the mail client, you need to set up one or more account name.

The account name is used as a filter for pulling from d-rats messages. If it is the same as the callsign, your e-mail inbox will get all the messages currently in the d-rats inbox, otherwise it gets the messages currently in the d-rats outbox.

For sending, messages will be put from your e-mail client in the d-rats outbox. To have messages delivered to the other d-rats users, you need to specify '@d-rats.com' as the e-mail message, which will be stripped from the message in outbox.

Which of course you can not send any e-mail to the actual d-rats.com address through these accounts.