Sendmail: using virtusertable/procmail to remove dependency on maintaining /etc/aliases

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Good morning folks,

I recently started using RT at my office to keep track of my sysadmin
tasks, and found it a wonderful tool. I’m a stickler for what I know,
and still use sendmail everwhere :slight_smile:

I’ve documented up my method in sendmail of removing the requirement of
keeping /etc/aliases up to date, by using the virtusertable map, and
procmail. It’s available on the wiki at
http://wiki.bestpractical.com/index.cgi?SendmailWithoutQueueAliases

It allows you to create queues, and not touch /etc/aliases. It also
allows you to mail queuename+action-action@rt.yourdomain.com, aslong as
you enable UnsafeEmailCommands.

Comments, thoughts, flames, etc are appreciated :slight_smile:

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEWIpo3rKdb192Vz8RAopQAJ9seCMze0whMhKPA1Zyajzx83Ix+wCgsRlB
kaAh+ZlD4PZfxiKEjD+UuaM=
=pIOe
-----END PGP SIGNATURE-----

looks good, but…

  • describe how to use it with some example
  • most probably UnsafeEmailCommands is not mandatory requirement so
    describe later in the same doc that the solution works with this
    option enabled and how to use extended actions
  • also, looks like this solution doesn’t depend on $rtname and
    $Organization options, don’t confuse reader drop it.On 5/3/06, Richard Harman rt-users@richardharman.com wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Good morning folks,

I recently started using RT at my office to keep track of my sysadmin
tasks, and found it a wonderful tool. I’m a stickler for what I know,
and still use sendmail everwhere :slight_smile:

I’ve documented up my method in sendmail of removing the requirement of
keeping /etc/aliases up to date, by using the virtusertable map, and
procmail. It’s available on the wiki at
Request Tracker Wiki

It allows you to create queues, and not touch /etc/aliases. It also
allows you to mail queuename+action-action@rt.yourdomain.com, aslong as
you enable UnsafeEmailCommands.

Comments, thoughts, flames, etc are appreciated :slight_smile:

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEWIpo3rKdb192Vz8RAopQAJ9seCMze0whMhKPA1Zyajzx83Ix+wCgsRlB
kaAh+ZlD4PZfxiKEjD+UuaM=
=pIOe
-----END PGP SIGNATURE-----


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

We’re hiring! Come hack Perl for Best Practical: Careers — Best Practical Solutions

Best regards, Ruslan.