Server :: Configure Fetchmail To Use Passwd For Local Delivery?
Jul 6, 2011
The common wisdom seems to be to setup an SMTP server (say postfix) so that connections either coming from the same host or where the end delivery is local can do so without using any authentication mechanism.
This will for example allow fetchmail to deliver fetched mail locally on port 25 (without logging in) for any user.
However, what if I setup the SMTP server to force every incoming connection to be authenticated regardless if the end delivery is local or relayed and regardless where the connection comes from.
Is it possible to configure fetchmail to use a password when doing the local delivery?
(I haven't been able to find any such configuration options in fetchmail.)
I am having problem to collecting email from remote POP3 (all the emails for a domain is stored here) and distribute it after collecting to several users defined to Linux server. I have install postfix in Linux server for email distribution.
I want to setup sendmail to alert for Nagios, OSSEC, redmine, ...
I configure sendmail to work with Gmail smtp follow this guide. I disable local delivery in sendmail by adding the following lines in sendmail.mc:
Code: define(`MAIL_HUB', `xx.localdomain.')dnl define(`LOCAL_RELAY', `xx.localdomain.')dnl it works but this messages seems to be stuck in sendmail queue: Code: sendmail -bp ...
The problem is to make sendmail use different LDA for diferent users in the same domain. For example, deliver bob@some.domain with procmail and genry@some.domain with mail.local.
I have fedora running as our email server at work using sendmail. It used to have spamassassin and MailScanner installed, but one of those died over the weekend and killed the mail server. We do not need either of these as we are using a web based spam filter now (postini), so I tried removing these. I have discovered that the mail is in the mqueue waiting for delivery to the users mailboxes. I have tried using "sendmail -q -v":
Code: Running /var/spool/mqueue/n51Jx6Gg023820 (sequence 1 of 1174) <abaughman@grandproductsinc.com>... Connecting to local... <abaughman@grandproductsinc.com>... Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL
Running /var/spool/mqueue/n51JsuRe023619 (sequence 2 of 1174) <ksullivan@grandproductsinc.com>... Connecting to local... <ksullivan@grandproductsinc.com>... Deferred: local mailer (/usr/bin/procmail) exited with EX_TEMPFAIL .....
I do not have a procmail config file: /etc/procmailrc. I am not sure why, or what it should be, perhaps that is the problem. I guess I don't exactly know how this server runs all that well. I was able to get it up and running but never understood it enough to now find what is not working correctly.
Using ubuntu 10.04 32-bit. I'm unable to get a gmail connection: Polling code in .fetchmailrc:
Code: poll pop.gmail.com with proto POP3 user 'tim042849' there with password 'xxxxxx' is 'tim' here options ssl sslcertck sslcertpath /home/tim/.certs/ Relevant log messages:
fetchmail: Server certificate verification error: unable to get local issuer certificate 4034:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:s3_clnt.c:980: fetchmail: SSL connection failed. fetchmail: socket error while fetching from tim042849@pop.gmail.com fetchmail: Query status=2 (SOCKET)
Code: wget -O equifax.pem [URL] Both of the certificate files have permissions of 644 and user is tim Unless I'm wrong, the key message is Server certificate verification error: unable to get local issuer certificate
i'm having a hard time to configure sendmail or fetchmail, so that i can send email from a CentOS 5.3 server, is anyone familiar with that? i have a second email server that i believe that Centos server can authenticate to in order to use as relay but i have no clue how to accomplish that.
Last week I successfully configured a local repository for CentOS. I did it because I'm teaching a course with this distro. I am also teaching another course with opensuse, sadly, I could not configure a local repository for opensuse. I thought this would be easier. Local internet connection is very slow, so I need to configure the local repository. I have searched for information on the novell site and find nothing.
I recently set up a ldap server for user authentication and I want to be able to configure the passwd utlity to automatically update the password for the local account AND on the ldap server. How would I go about this?
we know that /etc/passwd - is a replica of /etc/passwd file and acts as a backup in any damage done to /etc/passwd file..i have observed a strange thing in RHEL 5.4....for example... if /etc/passwd has 100 accounts.. then /etc/passwd - is having only 99 accounts....when i add 101 useraccount with "useradd" then /etc/passwd has 101 accounts and /etc/passwd is having the 100th account of /etc/passwd - ..when i delete /etc/passwd and recover it with /etc/passwd - from runlevel 1 the lastly created user is not having his account after recovery.. what is the solution? this is same case even with /etc/shadow and /etc/shadow -
We're building an Email Marketing web site for internal staff who needs to send emails to thousands of customers.but we're wondering if it's possible to control the MTA delivery rate, such as:
1. for @xxxx.com, only allows 5 con-current smtp connections and 100 emails/minutes?
2. how to bind multiple IPs and send emails in round-robin mechanism?
3. how to pause (such as: 10ms) between every delivery?
if you are familiar with Ironport's product, you may already know what we want to achieve.
I configured a Postfix Server to relay the messages to an Exchange Server. To keep it simple I configured all my users locally and I setup local .forward files in their home folders, specifying their local Exchange address.
Everything seemed to work fine (for years now), until I upgraded postfix in October, 23rd 2010.
Alas, lately I noticed that, since then, even if I just realized it now, sometimes the server seems not to use the .forward file and tries to use the local delivery using cyrus, which does not find a local mail folder (obviously, since I never created them as I didn�t want to) and replies to the sender with a "550-Mailbox unknown" error. Today I enabled the "-v" mode for "local" in master.cf the debugging the problem a bit better, to see what's the problem.
If I was sure about the problem being the postfix version (2.3.3, which is way too old now!), I'd give it a try and substitute it with the latest 2.8.2 (even if the server is a production server and is almost untouchable).
Following the error and my main.cf and master.cf setup files:
I am setting up an FC7 box to replace a currently dying server and I'm having an issue with the mail setup. I am using sendmail and dovecot and system users for credentials. I won't include all of their configurations, because that would get long, but I can copy and paste any sections if they are needed.
The problem is all mail is being delivered to the root mailbox in /var/spool/mail/. I setup a laptop on a local network with the server to test things. And just brought up Evolution with one of my test accounts. I was able to authenticate and tried to send a test email to myself. The email went out fine but did not come back in.
I'm running postfix with virtual domains and want to modify the delivery path. Right now, I have one path for each user that's found with a database lookup.Before mail hits Postfix, it will have an x-spam-header: yes/no/uncertain field. When mail with x-spam-header: yes the lookup for the path would return /var/mail/domain/username/.Inbox/.spam.
What I think I'd like to do is parse the x-spam-header value in postfix, populate a variable, then use the variable to modify the path lookup in the database. header_checks has a FILTER option, but that's just beyond my skillset at the moment.Or, maybe I'm better off modifying the path with a procmail recipe? Currently, my mailbox_command = procmail -a "$EXTENSTION"
I got a system with RHEL 5.3 Server with dovecot, sendmail, and thunderbird. I have found tons of stuff online about configuring a mail server, but little of it tells me how to get mail from a client to the server. I've tried to work with Postfix, Pine, Sendmail, Thunderbird, and the list goes on. I'm probably so confused now that I'm not even going to convey this properly, but let me try...... I got a system called wks90 which I decided would be my mail server. I installed dovecot, sendmail, and thunderbird. Then did some basic configuration via stuff I found online. Now the test, from the command line I use the simple "mail" command which succeeds. I bring up thunderbird and eureka!!! there is a message in /var/spool/mail/george.
Now here is where I get confused and things fall apart. I go to another system named wks50. I try some similar setup in sendmail trying to point it to wks90 as the server, I assumed dovecot was not needed, made and entry in /etc/aliases, and will use my thunderbird on wks90. So at the wks50 command line I mail -v to george@mydomain.priv. The message seems to work ok, but still goes to wks50's /var/spool/mail. How in the name of sanity do I get the mail to go to /var/spool/mail on wks90? OR somewhere that is centrally located. I tried to mount /var/spool/mail to wks50, but then wks50's mail to root started queueing up and going nowhere.
I guess I got the whole concept of mail wrong somewhere in my thinking. I just want the mail from any client to wind up at one server (wks90) and in a central location on wks90 so that any client like wks50, wks60, and wks70, using thunderbird, can read the mail from that central location. To me this sounds like I need to mount that central location to each client, but how do I then deal with the queuing root mail? Or is sounds like a need something like that old "movemail" command to take it and move it. I have another server that is the HOME server (server1). The physical location of all $HOMEs is here i.e. /home/george.
554 Your access to this mail system has been rejected due to the sending MTA's poor reputation. If you believe that this failure is in error, please contact the intended recipient via alternate means.
2 round robin dns servers x.x.x.1 mydomain.com (hostname) x.x.x.2 mydomain.com (hostname)
My problem is that when I try and send an email that is part of the domain, it ends up trying to deliver it locally. I realize it is supposed to, but I don't want that for non-users of the server.
I want to be able to deliver certain emails []@mydomain.com remotely. (info@mydomain.com)
exim4 setup "internet site; mail is sent and received directly using SMTP". This works well as long as it is not an email from mydomain.com.
Is there a way to have exim check the users first and then deliver based on local user or not?
Next question. Is having the domain name as the hostname the best way to setup a round robin? (web server)
I have mail server (for example.com) locally configured in my office and one email address (e.g. mail@example.com) in my ISP will catch all email to a domain (e.g. example.com). How to fetch all email from my ISP (mail@example.com) and distribute to all email user of my office.
using these fetchmail and postfix for fetching mail and sending mail ...... Instead of using incoming and outgoing like smtp and pop3 in outlook , why we use fetchmail and postfix mail server in linux and forward this to local windows client Outlook ..