Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000240 [web-cp_net] Email major always 2005-08-22 14:11 2005-09-09 09:17
Reporter EdG View Status public  
Assigned To pdrake
Priority normal Resolution fixed  
Status resolved   Product Version 0.5.7
Summary 0000240: virtusertable errors - multiple entries for @domain + is makemap run?
Description In the virtual user table /etc/mail/virtusertable there are mutliple entries for two domains on our server, this causes makemap to report an error when run

makemap: /etc/mail/virtusertable: line 26: key @domain.net: duplicate key
makemap: /etc/mail/virtusertable: line 30: key @domain2.co.uk: duplicate key

webcp has put an error entry for @domain.net and a entry saying %1@domain.net


@www.domain.net %1@domain.net
@domain.net error:nouser Unknown E-Mail Address
@domain.net %1@domain.net

catch all is off for domain.net on both personal cp and domain cp

I am going to try turning it on and off to see if that helps...
It should not go like that though..so this is a bug.

UPDATE:

nope the error seems to be in the file already, but only for two of the domains, webcp only adds catchall info to the file above the do not edit lines, but the do not edit lines are wrong.

Here's the bottom half of the file:

## Catch-All to Users Mapping

### DO NOT MODIFY ###
@www.domain.net %1@domain.net
@domain.net error:nouser Unknown E-Mail Address
@domain.net %1@domain.net
@testy.domain.net %1@domain.net
@www.domain2.co.uk %1@domain2.co.uk
@domain2.co.uk error:nouser Unknown E-Mail Address
@domain2.co.uk %1@domain2.co.uk
@subdomain.domain2.co.uk %1@domain2.co.uk
@www.chitchathole.com %1@chitchathole.com
@chitchathole.com error:nouser Unknown E-Mail Address
@.chitchathole.com %1@chitchathole.com
@www.dom4.domain.net %1@dom4.catbeard.net
@dom4.domain.net error:nouser Unknown E-Mail Address
@www.dom5.net %1@dom5.net
@dom5.net error:nouser Unknown E-Mail Address


UPDATE:

Note on removing all of the DO NOT EDIT lines (I backed up the file then replaced it with a blank one and webcp put a new file there with just the top, no don't edit area) well on removing everything under do not edit, suddenly email aliases work! Well my so called admin alias now sends email to my normal address rather than bouncing back with mail could not be delivered from every email service I try, gmail, excite, hotmail, yahoo..

Perhaps somewhere webcp adds too many @ lines but it must be during domain setup, I will look into this.
Additional Information I am using sendmail.
Tags No tags attached.
Target Version 0.6.0
Attached Files

- Relationships
related to 0000243resolvedpdrake Sendmail errors, mail does not work, and server CRASHES. 

-  Notes
(0000847)
pdrake (administrator)
2005-09-09 09:17

I fixed this in both 0.5.7 and 0.6.0 by checking to ensure that duplicate entries are not created for @domain.tld.

- Issue History
Date Modified Username Field Change
2005-08-22 14:11 EdG New Issue
2005-08-22 14:17 EdG Description Updated
2005-08-22 14:44 EdG Description Updated
2005-08-22 14:44 EdG Status new => assigned
2005-08-22 14:44 EdG Assigned To => EdG
2005-09-09 09:16 pdrake Assigned To EdG => pdrake
2005-09-09 09:17 pdrake Status assigned => resolved
2005-09-09 09:17 pdrake Fixed in Version => 0.6.0
2005-09-09 09:17 pdrake Resolution open => fixed
2005-09-09 09:17 pdrake Note Added: 0000847
2005-09-09 09:23 pdrake Relationship added related to 0000243


Mantis 1.1.1[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker