著者: Peter Bowyer 日付: To: exim users 題目: Re: [exim] Need help getting list of email account on a Linux
server running CPanel and Exim
On 01/03/07, Grant Griffith <ggriffith@???> wrote: > Hello Everyone,
>
> I am new to Exim as it is part of CPanel and I need a way to pull all
> email addresses and domains from the server and create a text file that
> has all email accounts listed for use on external MX Gateways. We have
> gateway servers that run to try and help fight the spam battle and need
> to be able to block invalid emails at that point. Can anyone help me
> find a script that I can run daily on this box to generate those 2 files
> for me?
That would depend on how CPanel stores the information - might be
better asking in a CPanel forum, since the expertise here is mostly
based on generic Exim. But if you post your configuration, a stab
could probably be made.
Are your gateway MXs also running Exim? If so, they're capable of
doing recipient callouts to your internal server, enabling them to
reject unknown recipients at SMTP time with no need to export data to
them.