I notice that when someone sends a message from my Postfix server & it can't find the destination server or if there is a incorrect domain recipient entered by mistake, it sits in my Postfix queue for days. I think perhaps 4-5 days for some reason. I was wondering if I could shorten the time so the sender gets a delivery failure message kicked back to them in 24 hours rather than waiting 4 or so days.
On the postfix mailserver of our company I'm seeing several of these messages in the deferred queue (apologies for the terrible formatting, I couldn't get it any better) code...
looking at the headers, there is probably something wrong with our DNS-server, which we will investigate, but I still have some questions about the failure notice:
- why are the failure notices refused? Is that a fault on the sender side, for example sending the wrong return address?
- where does this mxcorp1.pacific.net.sg[192.169.41.21] come from anyway? I don't see it anywhere in the headers.
I am newbie to postfix. I added a new domain to my postfix server in the main.cf under mydestinations variable and the relay_domains file. Also, added this domain to my backend exchange server. When I send a test message from the new domain, my messages from that domain appear to be stuck in the "queue active". What does it mean when you are stuck in this queue? Does this mean that my backend email server (exchange 2003) isn't allowing messages from this new domain OR that the POSTFIX server still needs configuring.
I have been trying to increase the message_size_limit on my Debian 2.4.26 box with postfix 2.3.8. For example, I set message_size_limit and mailbox_size_limit to 104857600 (100m) and restart postfix. Running postconf -n confirms that it has changed. However when I send a test message it kicks it back saying the message size limit is 16777216 (16m, which is, incidentally, the default value of the berkeley_db_create_buffer_size parameter)
Following function obtains the system-maintained structure for a message queue:
Code:
And following function simply resizes a message queue to a user-defined value, namely, "size":
Code:
My question is if there is a theoretical limit on user-defined message queue sizes.
To put in other words, is it possible to increase the default message queue size to any user-defined value as long as that certain value does not exceed the size of system's physical memory ?
I would like to be able to schedule a limit for an IP connection for my kid's computers/iPods. Since I know the MAC addresses of their various hardware items, is there a way to shut down their connectivity at a particular time via the DHCP server or perhaps a firewall rule?
Running Ubuntu 10.04 and Shorewall is being used for the firewall.
Is there a way to limit the time an instance of a service can run? For example, I want to limit all telnet sessions to 30 mins. Users will be automatically logged out after 30 mins.
I'm wondering if it's possible to create mail packages and put them into the postfix queue simply by writing files to the hard drive.Currently I have a script which uses a socket connection to dump the data in, but if I could write it directly to the hard drive this would speed things up considerably. Is this possible?
I've just found that one of my email addresses with an auto-reply gets stuck in a loop when it receives email from senders who also have an auto-reply set up.Is there an easy way for me to set Postfix so that it only sends one auto-reply email or so that it only sends a maximum of 1 auto-reply message per day to the sender?
I have a VPS server with 512 MB memory. The php.ini is set so script memory limit = 16 MB. However, I have noticed in my top report, instances like the following:
The bold number of 6.4 is the % of sever memory this process is using. 6.4 % of 512 MB of memory is about 32 MB of memory, so it appears that this isn't being limited by php.ini. Am I correct? This leads to the next question: Is there some way to limit the amount of memory a single suphp process can use? (Basically, something like the setting in php.ini which limits suphp processes in the same way.)
I'm working on a few servers running centos and using postfix. I don't know what the exact problem is, but we are having problems with the disk space being maxed out at 100 gigs. What we think the problem is...is that postfix is either caching or logging all the emails we send out. We sent 250k emails (500kb apiece) over the weekend and we were having trouble with that quantity. It seems some of those email were queued up for retry sending...but we didn't have sufficient disk space for that? Something broke - I'm not sure what.
What I want to do is to find and change the config file that has to do with postfix email retrying - possibly limit this (not sure if this will fix my problem). Or, turn off /limit any way that postfix logs/caches emails so that it won't take up all the disk space when queued up for retry... Again, I'm totally lost here (on both what's going on, and how to fix it). I'm not sure what more information is needed to address this problem
I was wondering how to allow someone to use a user account for two hours a day. After this time, it will log them out, and not allow them to sign back in until the next day. How can I do this?
is it possible to get the length or even the items of both queues, the run queue and the swap queue? I've googled a lot but had no luck. Maybe I havn't used the correct search words...
Is there any header and/or code example to use structures or any API to get these information from the kernel or the scheduler?
Is there a way to create a guest account and have Ubuntu "automagically" limit the amount of time the user can access the Internet? So, for example, could she set up an account for her son and limit his Internet access to an hour at a time?
is there any HOWTO for configuring Webmin Postfix server with multiple postfix virtual hosts? Seems to be a tough challenge to set it up without any easy manual..
so i set out to change the default smtp port the server uses because my ISP blocks port 25 and i need the email to work in outlook. this morning i could receive email, but not send it. so i did some research and thought that i needed to edit the master.cf file in /etc/postfix/ by commenting out this line: smtp inet n - n - - smtpd -oand replace it with587 inet n - n - - smtpd (587 being the port i want to use)somewhere along the lines postfix server stopped running and now i cannot get it to start.if i try using SSH it crashes immediately and if i restart it in simple control panel nothing happens
I recently moved over user from an old box running postfix(v 2.0.16) over to rhel 6 running postfix (v mail_version = 2.6.6). ive tried to make sure all the files are of correct permissions and that the main.cf file is configured corectly. However there is something wrong as when i run postfix: service postfix server i get no error but when checking the status:service postfix status i get: master dead but pid file exists Looking into /var/log/mailog i find this line being the issue:
Linux bash inline command to execute a program and limit the resource.As I know, to limit the resource I can use ulimit command.But, the problem is when I set the CPU time limit 1 second, and then I want to execute another program with CPU limit 2s, the ulimit command return an error like this: bash: ulimit: CPU time: cannot modify limit: Operation not permitted and absolutely my program killed in 1 second.So, How can I make the second program running with the CPU time limit 2 seconds?
I was struggling how to phrase the question (in the subject) so let me clarify... I wish to install Windows 2000 and then do Ubuntu, on the same PC. I never had a dual boot before but I understand that it goes automatically (after a short time) to default Windows if Ubuntu is not chosen (on the boot up screen), correct? If so, if there's a "countdown" of sorts, is there a way to disable it? I wish to have control over that aspect, have unlimited time during that boot "choose one" screen.
Am wondering if looking at the CPU process queues, vs CPU% busy, are a better indication of whether an upgrade is needed.
Afterall, processes can still queue up to be processed even if "top" doesn't shown CPU 100%. Say if it's indicating 50% busy within the top output, it's only saying that 5 out of 10 times sampled, the CPU was busy. But a process may arrive to be processed at any time, and if it arrives just when the CPU is processing something it needs to wait in the queue. Am I making senses?
How many processes queued up would suggest an upgrade is required of the CPU? I've read online (believe it's Microsoft) that 2 is the figure.
I'm trying to send an e-mail to my g-mail address using Postfix on Ubuntu server but when I check the postq, it shows me that the connection to gmail on port 25 is timed out. I have a router that forward port 25 to the machine.
Mails are not going out of the queue. Removed all frozen mails and tried to flush queue using exim -qf command. Also checked queue after restarting exim. Still messages are not going out of the queue.
I have a web application installed on a Debian server that sends out a lot of e-mails. Is there a way to configure Postfix to retain the messages in a queue and send all of them at midnight for example
Anyone have an issue with Messages in Queue going crazy? and inside the emails is: Received: (qmail 13662 invoked by alias); 20 Aug 2010 10:07:14 -0700 Delivered-To: [URL]..
Don't really know what could be causing this, the other day my messages in queue was at like 5,000 or so, but now its up to 445,000 messages in queue!! All of them that exact message.
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.
make install then i got this error: postfix: fatal: chdir(/usr/libexec/postfix): No such file or directory make: *** [install] Error 1 I don't understand why it's checking the usr/libexec folder for the daemons although I've set the folder to /opt/product/postfix-2.6.5/libexec in the makefile. Here is also the cat of my makedefs.out: