Postfix/Procmail multiple recipent handling problem
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.
Postfix/Procmail multiple recipent handling problem
Hello everyone.
Before I start - i've RTFM'd and STFW'd - and i'm still lost!
I have set up a mail server, using Qpopper for client mail retrieval, Postfix for collection of Pop3 mail from my ISP and Procmail to pass mail to one of several user mailboxes in /var/mail.
Qpopper works fine, Procmail works fine, and postfix works fine - until someone tries to send a message with multiple recipients in the TO: field (or any other for that matter).
The ISP is demon, so it doesn't put an X-Envelope in the header - therefore i can't use the X-Envelope fix to deal with this issue.
The server is running Suse 9.2.
From what i've gathered - what i want to do can be done using aliases or virtual mailboxes - but I haven't the first clue how to.
Qpopper works no matter what - so i know the issue has nothing to do with that - so if someone could give me a step by step of how to set either Postfix or Procmail up to make it work correctly, i'd be extremely grateful.
my recipes are in the standard format:
:0:
^TO_x@xyz.com
user1
Any other information people need to work out what the issue is - please ask.
So, just so I understand correctly... you've got multiple users on the box already set up. An email to a single individual on the box works fine.. do you have a catchall procmail rule, like:
Code:
:0:
$DEFAULT
or are all your procmail rules specific to a user, such as your example, like:
I have a feeling that the issue stems from the procmail rules... but that is based mostly on a guess at this point. I guess I need to know more about how procmail's recipes are set, overall.
I don't have a catch-all recipe set up, just individual recipies for each user.
There are users set up for each mailbox.
And yes, e-mails to a single individual are working fine, however if you send one to say - user1@x.comuser2@x.com, user3@x.com, and user1 is covered by the first recipe, then user1 will get 3 copies of the same e-mail.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.