Server :: Sendmail - Disable Local Delivery And Queue Is Growing Up?
Jan 18, 2011
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
...
[Code].....
View 6 Replies
ADVERTISEMENT
Jun 9, 2010
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.
View 1 Replies
View Related
Jun 1, 2009
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.
View 1 Replies
View Related
Aug 18, 2009
i am facing a problem with my mail server,i get an error when sending mail to a specific domain group;
Aug 18 06:41:02 mycompany2 sendmail[16745]: n7I1Ab9m016743: mail.xyz.in.: SMTP DATA-2 protocol error: 571 Delivery not authorized, message refused
Aug 18 06:41:02 mycompany2 sendmail[16745]: n7I1Ab9m016743: to=<feedback@xyz.in>, delay=00:00:25, xdelay=00:00:24, mailer=esmtp, pri=166397, relay=mail.xyz.in. [xxx.xxx.xxx.xxx], dsn=5.5.0, stat=Remote protocol error
View 11 Replies
View Related
Jul 12, 2011
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.
View 3 Replies
View Related
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.)
View 2 Replies
View Related
Feb 18, 2010
how can i search mails in queue of sendmail /var/spool/mqueue by IP. This facility is available in qmail e.g. qmqtool -f '10.10.10.10' this search all mail messages by IP and we can delete all the message easily.
View 1 Replies
View Related
Nov 5, 2009
Is there a simple way to move the Sendmail queue folder? Presently it's at the default location on /var/spool/mqueue/ but when / recently ran out of space (my fault storing backups there), it was unable to receive any more mail. There is plenty of space at another partition. My /var/opt/scalix location lives on another set of discs with lots of room. I created a folder called /var/opt/scalix/sendmail/mailqueue/ but uncertain how to move the existing queue to it.
View 1 Replies
View Related
Sep 2, 2010
Messages are stuck in my server's /var/spool/mqueue/ folder beyond the lifetime I have specified in confTO_QUEUERETURN (5d). Any idea why this could be? The file permissions appear fine; files in the mqueue folder show rights of: Code:-rw------- 1 root smmspThis is causing an issue because the queues are slowly getting larger and larger. I'm seeing the queue size consistently growing. maillog shows entries like: Code:grew WorkList for /var/spool/mqueue to 28000Just thinking outloud -- could the queue runner not be completing it's job in time? Maybe I could check with time sendmail -q
View 1 Replies
View Related
May 14, 2011
Sendmail isn't sending mail for some reason and keeping it in the Queue. I attemped to flush them but it deferres the connection to the server in which it is trying to relay the message to. I have checked to see if there is a DNS error or anything like that. I attemped to flush the messages through webmin.
This is the result.
Code:
I am not finding anything in the logs to let me know their is an error. I can ping the mail servers that it is trying to send to. Now it has started delaying when ping MX servers. So I knew something was starting to mess with it. I have checked the /etc/hosts. It is correct. The server isn't black listed. Mail to root just gives me.
Code:
View 2 Replies
View Related
Sep 22, 2009
i have fedora5 installed on my machine MACH1, which acts as a linux server for few machines. Its over network and we have a dedicated mail server too which is globally accessible. I wanted to set up a local mail server on MACH1, so that i shall be able to send/receive mails from all the users as well as to our other global mail server(on internet).
View 3 Replies
View Related
Oct 28, 2010
In my network I only have one machine that is configured to send email outside the network. How do I instruct my local copy of sendmail to use that server as a relay?
View 3 Replies
View Related
Jan 28, 2009
I recently turned on sendmail in CentOS 5.2 and configured it to relay mail for its domain onto some other email account elsewhere. Anyway, it's kind of hit and miss, but I've got a few of these:
Jan 27 21:47:18 smhi sendmail[12176]: n0S3YLaX011994: to=<kevin@hiding.my.domain.com
>, delay=00:12:56, xdelay=00:00:03, mailer=esmtp, pri=120673, relay=mx.hiding.my.mailrelay.com
[65.87.230.26], dsn=4.0.0, stat=Deferred: 451 4.3.0 Greylisting is active,
please try again later.
I don't think I have any greylisting software installed, but it seems to be greylisting? What's up with that? And why would it be intermittent? how I turn this off?
I've previously configured sendmail on Fedora systems and CentOS 4 and haven't run into this before...
View 11 Replies
View Related
Apr 6, 2010
Ok for some reason my sendmail queue is not processing the mail that's in mailq it looks like it trys to process and times out or something and skips to the next one, is there any way I can find out why it's not sending the queue list that's in mailq. the mail that's in the queue list is from my websites registration form.
View 14 Replies
View Related
Oct 30, 2009
I dont know why, but my postfix dont delivery local users, the virtual users works fine.
This is my main.cf:
When i try echo "Test" | mail -s Test root ; tail -f /var/log/maillog | grep "root" i see this error:
View 1 Replies
View Related
Jul 27, 2010
I am directly creating "qf" & "df" files into the sendmail queue folder and then processing this queue by command line. This is the only way to export data and email from this old application I am stuck with.This works quite well in my test enviornment but I am really new to linux/sendmail and just looking for any feedback on this process. Is this direct creation of queue files safe and any pitfalls that I should be aware of?
View 2 Replies
View Related
Jan 10, 2011
I have a non-root account on a shared server, on which the system administrators do not support printing because of past experience with stalled and runaway jobs. For the same reason, they do not allow installation of a user-land spooler. How can I set up printing without a local queue?
View 4 Replies
View Related
Nov 1, 2010
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
View 17 Replies
View Related
Apr 21, 2010
I installed a raid1 on a debian lenny box with only 1 drive "--raid-devices=1" because I didn't have the other drive yet. When I got the other drive, I used "mdadm --grow /dev/md0 --raid-devices=2" and "mdadm --manage /dev/md0 --add /dev/sdb1" The original drive is sda1. I watched /proc/mdstat until it was completely synced, and after a reboot, the system will not reassamble the raid. It fails with "mdadm: no devices found for /dev/md0" This is where root is, therefore, I get nowhere. From a rescue cd I can disable the other drive and shrink back down to 1 device and it boots fine.
View 1 Replies
View Related
Jun 29, 2011
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.
View 1 Replies
View Related
Apr 13, 2011
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:
View 10 Replies
View Related
Apr 1, 2010
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.
View 1 Replies
View Related
Mar 26, 2010
I have the following problem and tried (almost) anything to fix it but without a full success.
We're running a server with CentOS 5.4. Every night a logwatch report is send. These mails are rejected by our mailserver because some invalid details. These mails are send to local user root which is redirected to another external mail address with /etc/aliases.
At first the mail was send from root@localhost.localdomain to root@localhost.localdomain. As you can imagine, our mailserver rejected this because the localhost.localdomain parts. So I changed the sendmail config with these options:
Code:
dnl EXPOSED_USER(`root')dnl
FEATURE(masquerade_envelope)
MASQUERADE_AS(`domainA.com')
MASQUERADE_DOMAIN(`localhost.localdomain')
MASQUERADE_DOMAIN(`slave02.domainA.com')
This solved my problem partially: Mail is now coming from root@domainA.com (which is OK), but is send to root@slave02.domainA.com (slave02 is the local hostname), which is not OK. I tried everything I could find to change that last part to, but nothing seems to work.
View 4 Replies
View Related
Jul 3, 2011
I've tried to configure the mail service in RHEL6 but seems both sendmail and postfix can't use local user located in /etc/passwd.
Like, user Tommy and Jake they got User Unknow from maillog
Tommy:x:506:507::/home/Tommy:/bin/bash
Jake:x:507:508::/home/Jake:/bin/bash
But IF I use users' home folder not located in /home then it can go throught.mailuser2:x:513:514::/rhome/mailuser/mailuser2:/bin/bash mailuser3:x:514:515::/rhome/mailuser/mailuser3:/bin/bash
[Code]...
View 1 Replies
View Related
Aug 31, 2010
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.
View 3 Replies
View Related
May 24, 2010
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"
View 6 Replies
View Related
Aug 20, 2009
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.
View 4 Replies
View Related
Apr 21, 2010
I found 2 previous posts, one from 2005 and one from 2006. The 2005 post was not very helpful and the 2006 threads are not exactly what I was expecting. So I wanted to ask the question to be sure. I have already stood up the new fedora 12 server. The old server is also fedora 12. I need to migrate local users and sendmail mailboxes. In the past couple of years the environment was small enough to create a copy of the users and then have the users mail themselves, but I want to start migrating users/mailboxes properly.
On a unix level I am a jr admin, but I have extensive senior level experience as a windows engineer and network engineer. I do feel comfortable with using the unix command line, but usually operate the unix systems thru webmin because I am not familular with more complex commands. Ideally a software solution to migrate users and/or mailboxes from one server to another is what I am looking for, but in leiu of a software solution I still need to migrate user accounts and their mailboxes. LDAP is not in place, but if the process becomes easier with LDAP I am willing to do what is needed to set up LDAP. (I have no previous experience setting up LDAP)
I do not want to change my mail server from sendmail to different software. At least right now. Both systems are up and running. They can connect to each other via public ipv4 address' only. The new server has already been installed and configured with all the software to match the old server. How do I migrate users and sendmail mailboxes from one fedora 12 server to another fedora 12 server?
View 3 Replies
View Related
Nov 11, 2010
send email i got bouncing error .see below error;
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.
View 1 Replies
View Related
Feb 9, 2011
i have a domain where i can send emails to any domain ,unfortunately i cant receive email from any domain . am getting the below error ;
T=remote_smtp: retry time not reached for any host after a long failure period
View 2 Replies
View Related