LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 03-23-2024, 07:31 PM   #1
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Muttrc syntax to enable mutt to send emails


I'm sure this is a Muttrc-related problem. Let me know if I'm off base.

Since converting a system to Debian, I cannot get mutt to send emails to internal users using the publicly defined email domain (that has been defined on my ISPs DNS as "mydomain.org"). mutt is being invoked from within scripts running on the Bookworm system and used to work by simply sending mail to "me@mydomain.org". (Inside the firewall, everything is "mydomain.net") Now... I am getting hourly emails telling me that "we're still trying" but mail never makes it to its destination and I get a message from the IMAP subsystem or postfix (not sure which at this point):.
Code:
####################################################################
# THIS IS A WARNING ONLY.  YOU DO NOT NEED TO RESEND YOUR MESSAGE. #
####################################################################

Your message could not be delivered for more than 1 hour(s).
It will be retried until it is 5 day(s) old.
and delivery attempt will continue over the next five days. And this is now happening for ALL of the test emails I tried to send. Oh joy.

I CAN send myself an email to "me@mydomain.org" from Thunderbird if that matters.

The IMAP and SMTP services are running on the same system if that makes any difference. It didn't (for years) before a recent switch to Bookworm that included an older release of mutt. Could it be that SMTP support was not compiled into the mutt binary?

I've minor luck sending an email using mailx but, sadly, that utility doesn't allow me to specify the mime type of the message (I'm sending html in some cases). At least I've not seen the means of specifying the mime type in mailx.

What this predicament results in is, perhaps, having to move cron jobs from one system -- along with the development directories that underlie those jobs (UGH!) -- to run on the mail server. A klugy solution at best.

Any ideas about how to proceed. Please let me know what, if any, additional information would help.

TIA...
 
Old 03-24-2024, 08:49 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,326
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
What sendmail are you using?

It's been a long time since I used Mutt, but I used smtp to send mail.
 
Old 03-30-2024, 01:42 PM   #3
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by frankbell View Post
What sendmail are you using?

It's been a long time since I used Mutt, but I used smtp to send mail.
Postfix. I haven't dealt with sendmail itself since my Tru64 and Solaris days.

I wound up binning the Debian install. It was a solution I was looking to as a solution given the impending death of openSUSE Leap. Sadly, I found way too many things about the software complement included with Bookworm that I was going nuts trying to fix previously working automation. Tumbleweed is running on that system now. Not the solution I was looking for but things are working again. (I had plans to install Debian on the missus's aging Win7 laptop that takes ten minutes to boot nowadays but that's off the table now. She'll probably get TW, too, though I don't relish having to tell her that there are 4000+ patches to install on some weeks. :^/ )

So this thread could be considered Solved, I guess.
 
  


Reply



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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Send emails from Linux Console Using Mutt,Mail & Telnet Command LXer Syndicated Linux News 0 05-06-2013 12:02 AM
Mutt experts - Mutt won't use the Maildir I specify in .muttrc moistTowelette Debian 2 08-24-2009 08:04 AM
MUTT reconfigure (no ~/.muttrc) blizunt7 Linux - Software 1 08-21-2005 01:33 AM
.muttrc example + IMAP Anibal Linux - Software 0 02-04-2004 03:50 AM
mutt will only send internal emails to other users on my computer, not external addrs denning Red Hat 1 01-05-2004 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration