Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Hi :) I want to create an email account which will accept image attachments. download the attachments, process the images with the batch script I have ... please tell me which email server I should use to do this ( Linux only ) and also please tell me if I can use gmail account to do this ?? thanks :D

share|improve this question
add comment

1 Answer 1

You can use Fetchmail to retrieve email messages from a Gmail (POP3/IMAP) account. It does require you have a MTA (Mail Transfer Agent) configured for at least local mail delivery. Most Linux distro's do this by default already (eg Postfix, Sendmail, Exim, etc).

Then you can use Procmail or Maildrop to apply filters to the incoming messages and pipe the message to your extracting program(s).

share|improve this answer
    
thanks..will work out :D –  ramesh Jul 16 '10 at 15:01
    
You can also use getmail instead of fetchmail; it will deliver directly to mdir (i.e. directory with one file per mail), or pipe it to a script. –  sleske Aug 12 '10 at 20:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.