If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below. ** If you are logged in, most ads will not be displayed. **

procmail problems

I'm very unfamiliar with any of the linux aspects of using fetchmail, qmail and procmail, but having spent two whole days working on this, I have got it close to where I need it to be - but, before I start procmail working, emails were dumped into a single directory which could be collected using a pop3 client (Thunderbird). However, when I enable procmail to distribute the email to different users, they are sucessfully delivered but when I attempt to collect them, they suddenly disappear into the "cur" folder, and my client tells me the email is no longer there.

I have checked options to try and keep the filename - but I just can't find why it keeps doing this.

That sounds like it may be the issue - but I understand Linux about as much as the history of the universe.....

Here's where I'm at.

I'm using Plesk to create the email accounts, so it auto creates the structure it needs to run, then manually configuring procmail to sort the emails and then using a client to collect the mail, but that's where the problem hits, as soon as it tries to collect it, it moves it to a different folder and says to the client that it's gone - that's where I'm stuck - I suspect your advice is correct but I know so little about it, I'm not sure if I've done it wrong.

I think I've pin pointed the problem, but the problem I have now is I have no idea where the issue originates from:

The filename in the mailbox of an non-procmail processed email is:

1171830788.20800.s15233989.onlinehome-server.info

When I use procmail to filter the main, this is what the filename ends up as:

1171830788.20800_0.s15233989.onlinehome-server.info

It appears that the _0 causes an issue - and it will change to _1 if the lock command is added - I just can't find any way of no adding this to the filename, it's extremely frustrating as this is the final piece before I have a fully working mail system!