On 23/Jan/2009 08:52 TLD Wedmin wrote ..
> I've got the latest usermin (1.370) and am having two problems
> with the mail stuff.
>
> 1) The logged in users email address is not parsed correctly.
>
> This machine hosts several virtual domains. Any user who
> logs into the usermin interface to do mail, they're email
> addresses always begin with the unix username (which is
> not how the email is set up) and then the domain of
> www (which is the host name of the machine). I need some
> way to specify what email address each user uses so that
> they have a specific username and domain name. Is this
> possible?
Yes, this is possible - you can go to Webmin -> Usermin Configuration ->
Usermin Module Configuration -> Read Email, and in the 'From: address
mapping file' field, enter something like /etc/mail/virtusertable .
The important thing is that this file maps email addresses to usernames,
one per line, space-separated.
If you have a file that maps users to email addresses, you can also use
this. The 'Address mapping file format' field controls the type.
> 2) Every time I try to send mail, I get a failed error, citing
> permissions denied.
>
> Any idea what is causing this? The mail log files show
> nothing useful. And sometimes, the mail actually goes
> through, but the header is very wrong and doesn't include
> a proper From address.
Could you post the full error message? There are a number of different
possible sources, including Usermin, Sendmail and so on ..
- Jamie
|