Re: [webmin-devel] usermin, problems composing and sending mail

"Jamie Cameron" <[email protected]> Fri, 23 Jan 2009 15:55:36 -0800 (PST)
Newsgroups gmane.comp.web.webmin.devel
Message-ID <[email protected]>
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

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
-
Forwarded by the Webmin development list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-devel