How to setup SMTP relay mail server on Pogoplug V2?

Ask questions about Arch Linux ARM. Please search before making a new topic.

How to setup SMTP relay mail server on Pogoplug V2?

Postby jeajea » Mon May 06, 2013 9:51 pm

I have a router (Zyxel USG50) than can send an email when its log is full or for “alert” conditions. However, it doesn’t support a SSL connection. I would like the router to send the emails to the Pogoplug without SSL and for the Pogoplug to relay (forward) the emails to my Gmail account using SSL. If this can be done what packages do I need to install?
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl
jeajea
 
Posts: 121
Joined: Wed Aug 25, 2010 4:00 pm

Re: How to setup SMTP relay mail server on Pogoplug V2?

Postby pepedog » Mon May 06, 2013 10:11 pm

Maybe postfix. webmin may help you configure more easily
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: How to setup SMTP relay mail server on Pogoplug V2?

Postby WarheadsSE » Tue May 07, 2013 1:23 am

Postfix + Google as a forwarder is easy
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: How to setup SMTP relay mail server on Pogoplug V2?

Postby jeajea » Tue May 07, 2013 7:08 pm

Setting up postfix may be simple, but the examples I have found so far are fairly complicated because they assume you are setting up a complete mail server for a domain. So far I have verified openssl is already installed, installed postfix, and created a self-signed certificate. I also installed webmin but it doesn’t appear to know postfix.
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl
jeajea
 
Posts: 121
Joined: Wed Aug 25, 2010 4:00 pm

Re: How to setup SMTP relay mail server on Pogoplug V2?

Postby WarheadsSE » Tue May 07, 2013 7:16 pm

Yeah.. Not all of that is needed.

Google 'postfix relay Google smtp'
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: How to setup SMTP relay mail server on Pogoplug V2?

Postby jeajea » Thu May 09, 2013 10:33 pm

Thanks - I have trhe relay working :)

I found this sight which has good instructions/examples. :)

http://rtcamp.com/tutorials/ubuntu-postfix-gmail-smtp/

The only thing I had to change was the command to create the Cert from

cat /etc/ssl/certs/Thawte_Premium_Server_CA.pem | sudo tee -a /etc/postfix/cacert

to

cat /etc/ssl/certs/Thawte_Premium_Server_CA.pem | tee -a /etc/postfix/cacert.pem
Jim Anderson
3 Dockstars, 3 Pogoplug V2 and a Zyxel NSA325
Treasure Island, Fl
jeajea
 
Posts: 121
Joined: Wed Aug 25, 2010 4:00 pm

Re: How to setup SMTP relay mail server on Pogoplug V2?

Postby WarheadsSE » Fri May 10, 2013 11:14 am

In my case I didn't bother with the cert. It acts only as a client to Gmail, thus doesn't need it's own cert, and only listens on localhost :P
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 7 guests