Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

Your Answer


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