Re: mail script




Not completely sure what you are doing, but it sounds like an
easy job using procmail to send the attachment to a file and then
further process it. As others already pointed out you would ease
up things if you use some *nix box as mail server.


The mail server has been in place for a long time and will not be
converted to a *nix box. Converting over several thousand email
accounts is something that I wouldn't consider trivial. These are
customer accounts and I wouldn't like to mess things up.

My old alias file process involved giving customers aliases so that
their real address would not be published. Usually about 20-50 new
aliases had to be added to the Mdaemon server nightly and a similar
number of expired aliases would be removed from this server.

I used to get a two column/several line (20 - 50) row flat file ftp'ed
to my solaris box nightly. I would also ftp the original alias file
from mdaemon to the solaris box so that I could strip out expired
aliases and merge the new aliases into the alias file. I would then
ftp the new alias file to the Mdaemon box.

The issue now is that I no longer get the list of aliases (in the flat
file) ftp'ed to me. The system that did this has been replaced. The
new method of obtaining aliases involves a crystal report server. The
server can email the list as an attachment to an email. I have set up
fetchmail to retrieve this email, but I am unsure of a way to handle
the attachment.

Others have suggested using munpack and mimedecode, and I will look
into this tonight at work. I have not tried using procmail but I will
check this out also.

thanks for your suggestions,

Mike D

.



Relevant Pages

  • Re: mail user
    ... > Peter T. Breuer wrote: ... you TELL procmail to do with it in a conf file for procmail. ... virtuser tables (and maybe aliases, ...
    (comp.os.linux.misc)
  • reply from correct address with a twist
    ... I have several email addresses on the same server. ... set up aliases so that I only have to check one account. ... this account when receiving mail or synchronizing" does ...
    (microsoft.public.outlook.general)
  • Re: mail script
    ... I used to ftp an alias file to it after processing it ... The aliases were created on one system, ... solaris box, then I used to upload the alias file nightly to the ... report file is an attachment and I don't see a way of ...
    (comp.unix.shell)
  • aliases and SMART_HOST
    ... I've spent a good deal of time reading comp.mail.sendmail archives, ... "local" where local means 'the server sendmail is running on' mail be ... I use virtusertables, aliases, and genericstables, and as long as the ... Not changing any firewall rules, IP addresses, etc, I add a smart host ...
    (comp.mail.sendmail)
  • Postfix config
    ... We have a server which is still running Sarge, but I don't think that's relevant here. ... I'm trying to set up a number of email accounts for the various domains we host. ... We used to run RedHat and Sendmail, so we're familiar with that (virtusertable, genericstable and aliases), but not with Postfix which seems not to use all of those files. ...
    (Debian-User)

Loading