Not sure what to call this - I'm actually working out the details as I type this.
I want to have a valid username/password for an account for sending purposes - but when receiving this is an alias that broadcasts to several users.
Example: accountspayable@mydomain.com - is an alias for jane@mydomain.com, june@mydomain.com, and john@mydomain.com. However - any mails sent (from a particular client software) should all only show "accountspayable" as the sender.
How would I implement this? I'm asking here because Dovecot serves as the authentication mechanism for my SMTP server (Postfix) via LDAP lookups.
-- Daniel
On 11:59 AM, Daniel L. Miller wrote:
I want to have a valid username/password for an account for sending purposes - but when receiving this is an alias that broadcasts to several users.
Example: accountspayable@mydomain.com - is an alias for jane@mydomain.com, june@mydomain.com, and john@mydomain.com. However - any mails sent (from a particular client software) should all only show "accountspayable" as the sender.
How would I implement this? I'm asking here because Dovecot serves as the authentication mechanism for my SMTP server (Postfix) via LDAP lookups.
I would do this with a Mailman mailing list (of course I'm a Mailman developer, and as they say, when your only tool is a hammer, everything looks like a nail - YMMV)
If you had Mailman installed you just set up your accountspayable@mydomain.com list as a Mailman 'anonymous' list. Then any mail to accountspayable@mydomain.com is distributed to the list members From: accountspayable@mydomain.com.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark Sapiro wrote:
On 11:59 AM, Daniel L. Miller wrote:
I want to have a valid username/password for an account for sending purposes - but when receiving this is an alias that broadcasts to several users.
Example: accountspayable@mydomain.com - is an alias for jane@mydomain.com, june@mydomain.com, and john@mydomain.com. However - any mails sent (from a particular client software) should all only show "accountspayable" as the sender.
How would I implement this? I'm asking here because Dovecot serves as the authentication mechanism for my SMTP server (Postfix) via LDAP lookups.
I would do this with a Mailman mailing list (of course I'm a Mailman developer, and as they say, when your only tool is a hammer, everything looks like a nail - YMMV)
If you had Mailman installed you just set up your accountspayable@mydomain.com list as a Mailman 'anonymous' list. Then any mail to accountspayable@mydomain.com is distributed to the list members From: accountspayable@mydomain.com.
Thanks - but that wasn't my question. I already have the distribution side solved via simple alias expansion. The question is - and I'm probably overthinking this as usual - can I setup a user account for SMTP authentication purposes, which does not let me log in for IMAP/POP3 use?
-- Daniel
On 16.2.2010, at 22.11, Daniel L. Miller wrote:
Thanks - but that wasn't my question. I already have the distribution side solved via simple alias expansion. The question is - and I'm probably overthinking this as usual - can I setup a user account for SMTP authentication purposes, which does not let me log in for IMAP/POP3 use?
Maybe the same way http://wiki.dovecot.org/Authentication/RestrictAccess explains you could prevent IMAP access?
Daniel L. Miller schrieb:
[..]
Example: accountspayable@mydomain.com - is an alias for jane@mydomain.com, june@mydomain.com, and john@mydomain.com. However - any mails sent (from a particular client software) should all only show "accountspayable" as the sender.
If you yust want to appear like comming to your clients with 'From: <accountspayable@mydomain.com>' it might be the easiest to define a new identity in your MUA with accountspayable@mydomain.com for your email address.
Else you create accountspayable@mydomain.com as a normal user but prohibit him to login with imap or pop (like Timo suggested). In this case you can also implement a public mailbox with shared flags.
[..]
Dennis
participants (4)
-
Daniel L. Miller
-
Dennis Guhl
-
Mark Sapiro
-
Timo Sirainen