Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29770

procmail creat a new folder if not exist with name of send to address

$
0
0

can someone explain how to get the send to mail address with procmail and extract all up to @example.com and than creat a new folder with the name?

Example: I collect all mail in one acc. so the mail hello@example.com and welcome@example.com and so on are in one account.

Now i want to creat a subfolder with the senders name e.g. hello and welcome as soon as i receive a mail to this address.

my problem is, that i just get the senders address... but i like to get the receivers address.

In this post Automatic procmail filter based on username someone explains how to get senders address...


Viewing all articles
Browse latest Browse all 29770

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>