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.

How would I create a Bash script that simulates SMTP mail receipt and then drops the result into a Maildir-formatted directory (so that Evolution mail reader could read it)?

I just thought it would be a cool thing for PHP developers to have so that they could test SMTP outgoing mail without having to connect to a real mail server or be frustrated with complex Linux mail configs.

Note -- I'm not interested in the typical SMTP outgoing mail send CLI stuff that anyone can do with the telnet command. Instead, I'm interested in a Bash script that actually receives the STMP email connection from PHP's mail() command, and processes it into a Maildir-formatted directory.

share|improve this question

1 Answer 1

Wouldn't the easiest answer be to code a simple wrapper around http://quintanasoft.com/dumbster/ ?

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.