_Bool done;
-if ((done=isgoodfqdn(contact,parameter))==false)
+if ((done=isgoodfqdn(contact,parameter))==false) {
(void) eml_transmit(contact,true,"%d 5.5.4 %s.",BADPAR,DETAIL);
+ (void) setterminator(contact,"HELO parameter missing");
+ }
else
(void) linkready(contact,false);
return done;
case 0 : //Do we have a parameter
if ((done=isgoodfqdn(contact,parameter))==false) {
(void) eml_transmit(contact,true,"%d 5.5.4 %s.",BADPAR,DETAIL);
+ (void) setterminator(contact,"EHLO parameter missing");
phase=999; //Trouble trouble
}
break;
CREATE TABLE events (
creation DBTIMESTAMP //record creation
DFLT NOW(),
+ serial AUTOSERIAL, //record unique number
sessid TEXTUNIQUE, //Session id
start INTEGER, //Event log starting point
stop INTEGER //Event log ending point
CREATE INDEX event_id_ndx ON events(sessid);
CREATE INDEX event_date_ndx ON events(creation);
+
+//defining table about email aliases
+//list of aliases related to ONE email
+CREATE TABLE aliases (
+ email TEXT, //Email address
+ alias TEXT //One aliases
+ );
+CREATE INDEX aliases_id_ndx ON aliases(email);
+
//--------------------------------------------------------------
//Defining TRIGGER fonctions according database type
//--------------------------------------------------------------