Delete from mailq where subject matches
Postfix does not have a utility like exigrep, so you will need to grep the queue files for the subject and then pipe the queue id to postsuper to delete them
Postfix does not have a utility like exigrep, so you will need to grep the queue files for the subject and then pipe the queue id to postsuper to delete them
One consequence of removing the MTA is that mail generated by the system itself (usually sent to root), for example by Cron, Logwatch, rkhunter and others cannot be be delivered. So yes, an MTA is an integral part of any Unix-like system and I doubt Debian will let you uninstall the MTA without complaining and … Read more
Both approaches are valid, do know that this record will not show as the originating address. When you send an email to one of your configured addresses, the sending MTA will look up the MX record configured for your domain. It will get the IP from that domain and it will open an SMTP session … Read more
My question is: Is there any added benefit of sending automated email from an email address with a subdomain? I don’t think there are many technical reasons why a subdomain is required or necessarily better for deliverability of emails. That being said, having/using subdomains can sometimes make things easier for large organizations because: As an … Read more
FYI, 454 4.7.1 <someemail@example.com: Relay access denied; was the result of defer_unauth_destination. It’s slightly different with reject_unauth_destination, with reject means permanent error with code 550 and defer means temporary error with code 450. But wait…, I don’t have any parameter that use defer_unauth_destination. Where does the weird restriction come from? Actually, postfix has one hidden … Read more
Separate servers (either physical or virtual) for different functions is an EXCELLENT idea. If a server dies or has issues, it only affects that one service. If they are all on the same server, something that crashes the server takes out everything. It also means you can schedule updates more easily, since doing the updates … Read more
No. You can’t be reasonably sure your outgoing email will be delivered, as many destinations simply blacklist, firewall, or even null route all major cloud providers’ IP blocks due to the heavy abuse seen from those ranges – not just from email but via other services as well. And even if your mail is delivered … Read more
UPDATE 2021-04-18: mailq | tail -n +2 | grep -v ‘^ *(‘ | awk ‘BEGIN { RS = “” } { if ($8 ~ /@example\.com/ && $9 == “”) print $1 }’ | tr -d ‘*!’ | postsuper -d – Whereas $7=sender, $8=recipient1, $9=recipient2. You can also adapt the rule for other recipients ($9) to … Read more
This error is specifically regarding the ‘from’ address, not the sending mail server. As such, MX records are not relevant, and your MTA settings are probably not relevant. The issue is that you’re sending an e-mail from “bookings@debian70.vm”, which the recipient correctly determines cannot possibly be a valid e-mail address, since the debian70.vm domain does … Read more
I’m currently using the free hMailServer for SMTP, POP3, and IMAP. It has been pretty solid in the couple years that I’ve been using it. I’ve run it on Windows 2003 R2 and Windows 2008 Standard and Enterprise. I’m using SquirrelMail for webmail. This is PHP, but it wasn’t that hard to setup. This is … Read more