LiNUxG0d wrote:
> Hey guys!
> 
> I have to admit, after running Spamassassin and Boxtrapper, seeing ASSP was
> like a total revelation... I nearly broke down and cried. :)  It's so
> amazing. :)
> 
> Needless to say, I'm in a bit of a pickle.
> 
> I've installed a package called "ASSP X" which bundles ASSP and other
> goodies with a cPanel/WHM frontend, and it doesn't seem to be running
> properly.  
> 
> I mean, all existing users are running smoothly, but when a user tries to
> add a new address at their domain, it gives me a invalid address rejected in
> my /usr/local/assp/logs/maillog.txt
> 
> Jul-11-07 14:27:18 41784386 1.2.3.4 <[EMAIL PROTECTED]> invalid address
> rejected: [EMAIL PROTECTED]
> Jul-11-07 14:27:18 41784386 1.2.3.4 <[EMAIL PROTECTED]> invalid address
> rejected: [EMAIL PROTECTED]
> 
> 
> In cPanel, there's a file called /etc/localdomains which contains all
> domains local to the server in question.  Every time a domain is added, it's
> added there to insure that Exim sees it as a localdomain.  The
> "theirdomain.com" entry shown above is in this flat file.  
> 
> The users $HOME contains a folder called mail/ which stores them per
> domain...
> 
> IE:  /home/someuser/mail/theirdomain.com/localpart/
> 
> We're using "maildir" as storage and Exim as an MTA.  It's really odd.  When
> a user creates a new address, it isn't deliverable and bounces back with:
> 
>   [EMAIL PROTECTED]
>     SMTP error from remote mail server after RCPT
> TO:<[EMAIL PROTECTED]>:
>     host theirdomain.com [2.3.4.5]: 550 5.1.1 User unknown:
>     [EMAIL PROTECTED]
> 
> The address is in the home mail directory, and it should be deliverable.  
> 
> I checked the /usr/local/assp/files/localemails and the @theirdomain.com
> isn't listed there... could this be why?  I mean, as per the "Validate Local
> Addresses" section, I see the "No-Valid-Local-User Reply" contains the error
> message I'm seeing on the bounce so I assumed this is where the missing link
> was. 
> 
> In that section I can then edit the "localemails" file, but when I do, and
> it saves, I try sending and it bounces, so I look it up and the
> @theirdomain.com is gone yet again!  I can see the file is being 
> 
> I'm just not sure what to do about this.  I feel as if my changes aren't
> being saved and short of "chattr +i" the file, I can't think of any
> options...  I'm too much of a newbie to this to know. ;)
> 
> I have about 7 years of server administration under my belt, so, talking
> tech is fine, I can handle it.
> 
> Let me know if you can help please, I'm really muddled.
> 
> This is why I have turned to you kind folks. :)
> 
> Warmest regards,
> 
> Jacob

ASSP has two ways to validate local users, LDAP and a flat text file 
under the variable "LocalAddresses_Flat".  My text file is named simply 
localaddresses.txt, yours will probably be different.  Look in your 
assp.cfg file for something like the following line:

LocalAddresses_Flat:=file:config\local addresses.txt

Not sure how cpanel handles that, but make sure you are modifying the 
right file this way.

We use a combination of LDAP and the flat text file for our company.

Doug

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Assp-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-user

Reply via email to