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.
I wanted to simulate a server situation on my home machine setting up and testing a mail filter using sendmail + procmail + sanitizer + a virus scanner.
So far the mail filter seems to be OK on test messages generated with formail, however, I wanted to create more complex mails with attachments.
Could you please tell me what is the best way to send local mails with attachment from one user to another on a desktop machine?
P.S.
I tried to send local mails using kmail but those messages just sit in /var/spool/mqueue undelivered forever - a thing that I cannot understand since:
- kmail is set to use /usr/sbin/sendmail (path is OK)
- I tested with sendmail -bv that sendmail knows about the local recepients
- sendmail.cf contains the definition of procmail as the local mailer (and, procmail is OK, since 'cat filename I formail -s procmail' messages are always correctly delivered; so do local system messages to root).
- checked that kmail and procmail knows that the local user mailboxes are in /var/spool/mail
What is wrong then?
Kmail should be configured as if you marchine is an remote server (especially smtp setting). If you have problems with kmail use a different one: mailer from Mozilla, pan, console pine etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.