Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Minimal Mail
PostPosted: Sat Nov 18, 2006 12:04 pm 
Offline
Senior Newbie

Joined: Mon Nov 13, 2006 2:07 am
Posts: 15
Location: London, UK
Hello linoders ...

Right now, I want to use my linode for something quite simple.
No http or ftp (ports 80 and 25 closed), but I do need a very minimal email capacity.

I'm not planning to use a domain name here -- username@lixx-nnn.members.linode.com seems to be adequate for incoming mail. However I need to send email out.

This is how it would work:
1. Email to username@mydomain.org (mydomain.org is hosted elsewhere) gets thoroughly filtered for spam and irrelevance (combined sequence of SpamAssassin and procmail) and is then forwarded to username@lixx-nnn.members.linode.com

2. The 'username' mailbox is processsed periodically (cron job) by a Perl script, which does something and then replies to username@mydomain.org

3. username@mydomain.org then forwards the reply to the original sender.

So far (only been here a week) I haven't set up anything to send email. Can anyone recommend a good, lightweight method of handling this very simple requirement? Traffic is predicted to be fairly low.

Setup: linode 100 + Debian, apparently exim-ready.


Top
   
 Post subject:
PostPosted: Sat Nov 18, 2006 5:55 pm 
Offline
Senior Newbie

Joined: Mon Nov 13, 2006 2:07 am
Posts: 15
Location: London, UK
Answering my own question here ... there is nothing else to do, except add a .forward file ...
Code:
 | perl /home/<username>/<path_to_perl_script> 

The Perl script handles all the outgoing mail without a hitch.


Top
   
 Post subject: One more thing
PostPosted: Sat Nov 18, 2006 8:20 pm 
Offline
Senior Newbie

Joined: Mon Nov 13, 2006 2:07 am
Posts: 15
Location: London, UK
Also one edit in /etc/exim/exim.conf ...

qualify_domain = lixx-nnn.members.linode.com

The default is
qualify_domain = 1
which will cause message to have headers like
Return-Path: <username@1>


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group