Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
03-17-2009, 02:55 PM
|
#1
|
Member
Registered: Sep 2003
Distribution: Slackware64 14.2
Posts: 54
Rep:
|
email subaddressing under CentOS 5.2/Postfix
Hello—
I want to enable subaddressing (plus addressing, detail addressing, address extensions, whatever you want to call it) on my mail server. I've found a few guides but they have all related specifically to IMAP servers. Many of my users don't bother with POP or IMAP. (I still use mail occasionally myself.)
Unfortunately, I know very little about how subaddressing actually works. It seems like it could just be a matter of setting a postfix configuration option to allow subaddressing, postfix will then dump everything with the appropriate username portion in the appropriate mailbox, and then users' procmail rules can handle it from there.
Any information at this point would be helpful, as I am completely out to sea here and my usual peers all looked at me blankly when I asked about it.
Thanks—
quiescere
|
|
|
03-18-2009, 11:57 PM
|
#2
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
The usual way is to enable the recipient delimiter parameter (typically recipient_deliter = +) and then you can use .forward+ to determine the action.
For example, on my system, amavisd adds user+badh to mail with bad headers. In my home directory, I have a file .forward+badh that contains
and mail is deliverd to the .Badh subdirectory.
|
|
|
03-19-2009, 12:09 AM
|
#3
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
From the postfix documentation page
Code:
recipient_delimiter (default: empty)
The separator between user names and address extensions (user+foo). See canonical(5), local(8), relocated(5) and virtual(5) for the effects this has on aliases, canonical, virtual, relocated and on .forward file lookups. Basically, the software tries user+foo and .forward+foo before trying user and .forward.
Example:
recipient_delimiter = +
|
|
1 members found this post helpful.
|
03-19-2009, 09:28 PM
|
#4
|
Member
Registered: Sep 2003
Distribution: Slackware64 14.2
Posts: 54
Original Poster
Rep:
|
Quote:
Originally Posted by billymayday
The usual way is to enable the recipient delimiter parameter (typically recipient_deliter = +) and then you can use .forward+ to determine the action.
|
Thanks much for this. The only other things I had to do were change the procmail command in /etc/postfix/main.cf:
Code:
mailbox_command = /usr/bin/procmail -a "$EXTENSION"
and of course, pull my hair out until I remembered to run postmap on the affected file.
Thanks much for your reply.
|
|
|
03-20-2009, 01:36 AM
|
#5
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
What did you need to run postmap on?
|
|
|
All times are GMT -5. The time now is 12:03 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|