So my question is, where do I put .procmailrc? An examples I found on the net has the procmailrc in the users mail directory, but there are no user mail directories on the sendmail server. It is used purely to relay mail to the Exchange server.
I am using sendmail-8.13 & procmail as an MDA. Now as our mail users are increasing I need to put up mailbox quota limit for every user. I have gone through the search engine but could not found any effective help to configure mailbox quota with sendmail & procmail.
I have been trying to get procmail working on CentOS 5.2. I don't need anything fancy, just an auto reply for a "noreply@" account. Looking at the sendmail configuration, it appears procmail is the MDA. I have looked at many different tutorials and how-tos, but most are old, and/or the locations/paths and setups are markedly different from the defaults on my system. Can anyone recommend a good CentOS-based tutorial on Procmail w/ recipes? (I have an RHEL book and it's no help either.) Thank you for your time and consideration.
Built an MTA/LDA Slackware Server and seperate MDA (Dovecot 2.2) Slackware Server. Used the slackwiki Sendmail TLS SMTP-AUTH guide for the MTA/LDA Server.
http://www.slackwiki.org/index.php?t...TH&redirect=no The ../cf/cf/sendmail-slackware-tls-sasl.mc config file has Procmail sorting as: FEATURE(`local_procmail',`',`procmail -t -Y -a $h -d $u')dnl
I don't understand the arguments ($), but know the -Y forces mbox. The /var/mail directory is hardlinked to where ever the spool directory is. I want the Dovecot MDA server to use NFS or UNFS to grab user's mail from the MTA/LDA Server. Problem is the hardlink. Can't nfs share a hardlinked directory.
Is there a way to change the MTA sendmail mc config file above to have LDA promail send to /home/mail, so I can nfs that directory? And preferably in MAILDIR format? BTW: I can't find any procmailrc config file on this Slackware Server. I should have all the settings in my /etc/mail/sendmail.cf config.
I'm new to CentOS, having always used Slackware in the past. I'm trying to get Cyrus 2.3.7 IMAP working with Procmail 3.22, and having a slight issue. My current setup in sendmail.mc is as follows:
I have to configure sendmail to send messages only and not receiving any mails on a linux server when the mail server is on another server.how to configure sendmail?
I am trying to set up sendmail on my intranet (home) webserver, so that it will send mail via my ISP. I have searched for similar threads including this thread, but the responses do not seem to have solved the problem. All I want is to call sendmail from Perl, to post myself the responses to a test form I am building, using my normal internet mail address. I do not want to receive or relay mail from any host except the web server itself (127.0.0.1).
I have edited sendmail.mc to define SMART_HOST as my isp's mail server and MASQUERADE_AS to be my local network name (which is not a registered domain - it is just the name I have given my home intranet). I have run make and built a fresh sendmail.cf, then restarted sendmail.
Using my form, I am able to submit the message to sendmail, but after 40 seconds the mail log shows a message
So I have two servers in my environment, I have an app server that runs my Java App on it and then I have a utility server. Right now, I have that utility server acting as a simple mail gateway so when my app server needs to send an e-mail out, it forwards it to the utility server and the utility server sends it out to where-ever it's destined to. The Java server always sends as one specific user, let's call it bob@company.com.
This set-up is working just fine right now. Now, I also have my company.com e-mail hosted at an e-mail provider for all of my user's e-mail accounts and such. I also have a bob@company.com e-mail account so if e-mails ever bounce, they end up in this inbox. Again, this works fine.
My app is pretty email dumb so it can't authenticate itself or anything, that's why I am using sendmail on my utility server instead of my e-mail provider's SMTP server. What I would like to do is to configure sendmail to forward all outbound e-mails (and authenticate) to my e-mail provider's SMTP gateway using the bob@company.com account and credentials. Is it possible to configure sendmail to do this?
It seems my sendmail (running in slackware 13.0) cannot send out emails correctly. I guess I need to tell it what is the smtp server to use. And, I heard, gmail's smtp server is available to use for this purpose. How to configure my sendmail this way?
I have setup CentOS 5.2 with Nagios to monitor my network and have that configuration almost done. I have also setup Sendmail to forward all mail (really only Nagios notifications) out to my Exchange server using define('SMART_HOST', 'exchange.domain') in the sendmail configuration file and it seems to be working correctly.is there a way to configure Sendmail to forward all mail out through my Exchange server as it is now but send mail out to the internet itself if the exchange server is unavailable, somewhat like a failover configuration.
I want to use imap account settings in MS outlook 2003/2007 with backup end Sendmail server. When i configure imap settings in MS outlook 2007 it shows mails are coming from Sendmail server , but another local Personal folder attched with outlook client. I have changed my settings so that every send items mail are coming under imap send-items folder ,but that extra folder stilli in place. I do not see any option how to remove this extra folder from my PST list.? As this never comes with if we are using MS Exchange.. Is there any way i can change my local delivery bydefault with IMAP folder only and save my Contact in IMAP Folder?
I had configured my php to use sendmail as its mail agent. My server which is centOS 4.6 in this case runs in a lan.
What I need is that when i fire a mail function from php page hosted on my server in LAN, mail should get delivered to gmail or whatever destination address is..
But I am facing problem...When I open my php page which fires the mail, it takes long time to load say 1-2 minute in loading. After that it says Message sent successfully, but message not get delivered.
I had checked sendmail it is running... I also checked spam folder of destination email..
I am using webmin for my daily tasks. I have fedora 13, whenever I click on ''Sendmail M4 Configuration'' or Outgoing Addresses (generics)'' I get the following error message
Quote:
The Sendmail M4 configuration base directory /usr/share/sendmail-cf was not found on your system, or is not the correct directory. Maybe it has not been installed (common for packaged installs of Sendmail), or the module config is incorrect. I read documentation at sendmail.org, it seems that structure of directories for send mail has been changed in version sendmail-8.1.4 shipped with FC13. In webmin config module we have
Quote:
Sendmail M4 base directory = /usr/share/sendmail-cf
which is not there. I did a locate / sendmail-cf on the command line, it finds nothing
I have my .procmailrc file set up to pipe mail to a simple php script I've written. The only thing the script does at this point is echo back a "hello" message. However, procmail does not execute the script properly.
Here's my script (/home/webs/site.com/scripts/echo.php):
I recently modified sendmail.cf to use a third party SMTP server to send emails. It works great. But when I run sendmail from the command line, I have to specify the -C flag and force feed it the location of my sendmail.cf, or else it doesn't work.
So in other words, the following works great:
However, if I don't specify the -C flag, sendmail doesn't consider what's in the sendmail.cf and barfs:
I don't run sendmail as a daemon. I'm only using it to send emails. I know my modifications of sendmail.cf are correct because it works perfectly when I use the -C flag. I searched my disk to see if I could find another sendmail.cf on the machine and only the one in /etc/mail came up.
Why sendmail is not reading my sendmail.cf?
I'm running Sendmail version 8.14.2 on Fedora Core 8.
I am trying to set up mutt with fetchmail and procmail on server space that's not mine. I have access to /home/myusername but not to /var/spool/myusername. Everything seems to work well, but I have no idea where fetchmail (or procmail) is dropping off my mail.
Is it possible to have procmail make a decision based on the content of a attachment? My situation is the following, I dailty receive a email from a server on which a backup job of a Progress database is run. This job e-mails the results of the backup in an attachment, based on the result I would like to change the header of the message stating that the backup finished successfully or not.
We use procmail to reformat and filter email messages sent from many lead capture websites where the clients enter their reply email address manually.When we receive the message at our application we send a welcome email, and receive back the Undeliverable Email message where the clients entries are invalid, but I would like to be able to kill messages with undeliverable email addresses on our mail server before they are delivered to our application.I have found discussions on filtering masqueraded addresses, but since the IP of the sending system is not related to the entered client's email address, this does not appear to help. I would think that it should be able to query the email server to identify if the address is valid.
I have a apache server installed on my system which I use for testing out stuff like wordpress and forums. I use the server for learning stuff only. I would like to know what do I have to do so that these blogs, forums etc can send an email when someone registers. I guess most of these use sendmail to send email. So how do I configure sendmail so that it sends email using my gmail address and smtp. Also I think there is a php mail option (or something called like that) that allows us to send email without having sendmail installed.
I have Postfix and Spamassassin setup on Ubuntu Server 9.10. The mail is working perfectly. Spamassassin is correctly marking messages as spam. My problem is with the milter and procmail. On past servers I was able to reject spam based on score via the spamass-milter. For whatever reason I can not get it to work. I have also tried with procmail, again, it does not work. Here are the relative lines in their respective config files: