Re: [AMaViS-user] VERP addressing and maddr in SQL

This is a discussion on Re: [AMaViS-user] VERP addressing and maddr in SQL within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Alan, > I've been running with SQl enabled for a few weeks now. > > Looking at the maddr ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-20-2005
Mark Martinec
 
Posts: n/a
Default Re: [AMaViS-user] VERP addressing and maddr in SQL

Alan,

> I've been running with SQl enabled for a few weeks now.
>
> Looking at the maddr table it has thousands of VERP addressed mail records.
>
> I've searched for information on maintaining this table but have yet to
> find it.
>
> Is it intended that Admins delete these records manually or should some
> other process maintain this table?


These records are not deleted automatically, they should be removed
by some periodic maintenance script, e.g. by SQL clauses at the end
of docs file README.sql.

Specifically, the clause:

DELETE FROM maddr
WHERE NOT EXISTS (SELECT sid FROM msgs WHERE sid=id)
AND NOT EXISTS (SELECT rid FROM msgrcpt WHERE rid=id);

removes all unused records from table maddr.

Mark


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:43 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0