Add .gitignore file and update backend SMTP port to 2525

- Added comprehensive .gitignore file with .DS_Store and common ignores
- Updated backend/.env SMTP_PORT from 587 to 2525 for Gmail smuggler
- Updated Memory Bank documentation with Gmail smuggler implementation
- Removed smtp-relay-container directory (moved outside project)
This commit is contained in:
TheMaddax 2025-09-10 18:39:00 -06:00
parent 3c03aff295
commit 9023d35090
3 changed files with 76 additions and 2 deletions

47
.gitignore vendored Normal file
View file

@ -0,0 +1,47 @@
# macOS
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
# Node modules
node_modules/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Environment variables
.env.local
.env.development.local
.env.test.local
.env.production.local
# Logs
logs
*.log
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Coverage directory used by tools like istanbul
coverage/
# Build outputs
dist/
build/
.next/
# IDE
.vscode/
.idea/
*.swp
*.swo
# OS generated files
*~

View file

@ -4,7 +4,7 @@ REDIS_URL=redis://localhost:6379
# Email Configuration # Email Configuration
SMTP_HOST=smtp.gmail.com SMTP_HOST=smtp.gmail.com
SMTP_PORT=587 SMTP_PORT=2525
SMTP_SECURE=false SMTP_SECURE=false
RECIPIENT_EMAIL=eliza@deafgain.org RECIPIENT_EMAIL=eliza@deafgain.org
GOOGLE_EMAIL=system@deafgain.org GOOGLE_EMAIL=system@deafgain.org

View file

@ -1,6 +1,33 @@
# Active Context - Current Work Status # Active Context - Current Work Status
## Current Task: COMPLETED ✅ ## Current Task: GMAIL SMUGGLER FULLY OPERATIONAL ✅
**SMTP Relay Solution Successfully Implemented**:
- **DigitalOcean Server (chrishaulmark.com)**: SMTP ports 25, 465, 587 BLOCKED by DigitalOcean
- **Dedicated Server (74.80.182.50)**: All SMTP ports WORKING ✅
- **Gmail Smuggler Container**: DEPLOYED and RUNNING ✅ on port 2525 (unblocked)
**Solution**: DNS override + port 2525 SMTP relay bypasses DigitalOcean SMTP blocking completely.
### Gmail Smuggler Final Configuration
- **Container Name**: `gmail-smuggler`
- **Location**: `10.4.0.206:~/gmail-smuggler/` (internal VM)
- **Status**: Running with Docker Compose auto-restart
- **Port**: 2525 (external) → 587 (internal, forwarding to smtp.gmail.com:587)
- **Technology**: Alpine Linux + socat TCP relay
- **OPNsense**: Port forwarding 2525 → 10.4.0.206:2525
### Implementation Details
1. **DNS Override**: `74.80.182.50 smtp.gmail.com` in `/etc/hosts`
2. **Backend Configuration**: `SMTP_PORT=2525` in `backend/.env`
3. **Port Forwarding**: OPNsense forwards port 2525 to internal VM ✅
4. **Connection Verified**: DigitalOcean VPS → 74.80.182.50:2525 → Gmail ✅
### Email Flow
```
Court Docket Website → smtp.gmail.com:2525 → 74.80.182.50:2525 → 10.4.0.206:2525 → Gmail SMTP
```
## Previous Task: COMPLETED ✅
**DeafGain LLC Footer Addition** - Added "Designed by DeafGain LLC" footer to the court docket website. **DeafGain LLC Footer Addition** - Added "Designed by DeafGain LLC" footer to the court docket website.
## Previous Task: COMPLETED ✅ ## Previous Task: COMPLETED ✅