Thread: Redirect outbound mail for selected users to a local account.
hi,
i've setup ubuntu mail server using postfix/dovecot below excellent guide:
https://help.ubuntu.com/community/po...xclamsmtphowto
it's working well.
i've spent fair amount of time looking way can 're-route' outbound email selected users mangers internal inbox, review purposes, in sales environment.
dovecot/sieve plugin looks might work, there other solutions?
looks postfix alone might task threads advise against route script becomes unwieldy maintain.
enough of waffling.
input appreciated. dovecot beast i'm after?
thanks
john
no, it's imap/pop server handles messages after they've been sent. if option, i'd use simple procmail recipe based on from: header.
problem difficult one, think. i've spent few minutes mulling on possible solutions, , can think of require custom programming. you'd need implement called "store-and-forward" method outgoing messages put in queue, program extracts messages queue, , decides should delivered based on from: address. akin how mailscanner scanning spam , viruses. messages placed in custom queue, /var/spool/mqueue.in, perl script grabs each message queue, scans it, , takes appropriate actions. ones pass scanner sent along final destinations using instance of smtp server.
if asked me how handle problem consultant, i'd suggest using custom internal web application. salespersons fill out html form which, when submitted, notify manager pending message needs review. manager use application bring message, review it, , either click 1 button send intended recipient, or click button send sales person comments attached. 1 nice thing approach you'd archiving each of these messages in database.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Redirect outbound mail for selected users to a local account.
Ubuntu

Comments
Post a Comment