Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all, I have an idea but I'm not sure what software supports what I'm trying to do:
I want to have e-mails come into my server and when a particular address (say, foo@bar.com) recieves a message, I want the POP3 server to catch that and send the contents of the message as arguments to a command-line application. Also, for security reasons, I want foo@bar.com to only be able to recieve e-mail from one address, dummy@somewhere.com. Is this possible? If so, what software should I be using. I just downloade SurgeMail (from the makers of DMail) and a look around suggests that it doesn't have this ability.
In a similar vein was an article in the most recent 2600 Magazine called "reverse remote access," which talked about a client executing a few commands when the proper email was received, allowing an SSH shell to open up, getting around their work's SSH blocks.
I know it's not exactly what you're looking for, but it may give you some ideas
In sendmail you can put an entry in the /etc/aliases file that pipes email addressed to foo to a program or script that can then parse the email. The line would look something like:
foo: "| myprogram"
I'm not sure how this would work with POP, though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.