Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Attachments are a problem since they are added to mail body.
For subject, type 'Subject:' after DATA line
For pop servers:
telnet somepopserver 110
USER username
PASS password
STAT - reports how many messages and size in bytes
LIST - lists your mail + size in bytes
RETR n - retrieves mail number n (only prints it in telnet window, doesn't save it anywhere)
TOP x y - on some servers prints header for mail number x and prints y lines of message
DELE n - marks mail number n for deletion _but_ doesn't delete until you type QUIT
RSET - undoes DELE
QUIT - logs you off and deletes any messages marked for delete
I guess it wouldnt be too hard to write something like this in code, maybe even a bash script.
By the way, I managed, with your advice, to send an HTML e-mail from Thunderbird using sendmail! It's not that hard. For some reason the guys at Thunderbird want to protect me from my own ignorance and make it insanely hard to configure different smtp servers for different accounts...until you know how. I wish they'd just let people configure their accounts like every other client does.
Do you happen to know how to tell sendmail to use a particular server in the helo handshake, instead of localhost or my IP? As usual, I'm googling all over for this but am finding amazingly complicated configuration instructions which don't quite seem applicable.
Do you happen to know how to tell sendmail to use a particular server in the helo handshake, instead of localhost or my IP?
Not sure what you mean here - HELO or EHLO will always report your ip no matter what domain you pass to it. It will always pick up if you are localhost or not, and I've no idea if it's possible to spoof this. But if you just want to make the mail from line set to a specific user@domain then that works. Just change the Mail From: part.
If you mean to make sendmail relay to another smtp server instead of sending out itself, there are a couple of settings in sendmail.cf to do this:
SMART_HOST, smtp.someotherserver.com and
DS smtp.anotherserver.com
I'm not sure what I mean myself. I really don't know a lot about how all this stuff works.
As I mentioned, I use a desktop server on Windows. A number of messages would always show error notices, such as "sender rejected", "service not available", and a couple of others. So I checked around in the documentation and found that there was a setting for helo, which let me name whatever server I wanted for the handshake, without actually using that server to send. So, instead of localhost, I typed mail.xyz.com (using the real server name of my host which matched the From: address). As mentioned, I can use that server anyway...just limited by their hourly allotment.
Most of the error messages stopped and messages were delivered.
Maybe, I haven't really looked into that too much to be honest. Might be interesting to try to log messages from thunderbird that it sends to an smtp server.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.