10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
1 Replies
2. Shell Programming and Scripting
We use Redhat server , we always use mailq to check any pending mail in mailq , when run the command mailq , it shows all existing pending mail would advise how to write a script to show the pending mails which are older than 24 hours , ( if possible , then send this pending mail info to... (9 Replies)
Discussion started by: ust3
9 Replies
3. Shell Programming and Scripting
I know the command mailq can check the pending mail in mqueue , and also have another command to check POSIX mail queue in server , now I will regularly check the mqueue manually , it is time consuming , would advise the script that could help to check the mail queue , and then send the details to... (3 Replies)
Discussion started by: ust3
3 Replies
4. UNIX for Advanced & Expert Users
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies
5. Shell Programming and Scripting
Hi Guys,
My mail queue is showing a mail.
I want to flush the queue.
Can you let me know how to flush the mail queue.
Regards,
Magesh (12 Replies)
Discussion started by: mac4rfree
12 Replies
6. IP Networking
hi all.
Am using smtpd_recipient_restrictions & check_recipient_access in postfix.
The hash file looks like this:
emailaddress1 HOLD
emailaddress2 HOLD
The aim is to place email from these recipients in the hold directory,check them then reinject them back in postfix on some... (0 Replies)
Discussion started by: coolatt
0 Replies
7. UNIX for Advanced & Expert Users
Hi,
I have some problems w/ the sendmail. I see that messages are queued in the /var/spool/mqueue
and they are never sent to the recipients. This problem just suddenly started without any modifications in the current configuration. I already started and stop the sendmail and it did not help.... (3 Replies)
Discussion started by: ktanya
3 Replies
8. Shell Programming and Scripting
Hi shell experts,
I would like to have a shell script running in a redhat server for monitoring the mailqueue status. I have already installed the qmHandle and I am using it to get a status of the mail queue in daily basis. I am executing the qmhandle in the cron.
Now I am planning to execute... (10 Replies)
Discussion started by: Nightman
10 Replies
9. Shell Programming and Scripting
Is there someone out there that has a script for cleaning up the mail queue after viruses such as MyDoom? (5 Replies)
Discussion started by: pmj1970
5 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I am trying to clear my mail queue with the following command:
rm /var/spool/mqueue/*
But when I do this I get this error:
/bin/rm: Argument list too long.
Can someone tell me what that error means and what I can do to correct it so I can clear my mail queue?
Thanks (2 Replies)
Discussion started by: Chet
2 Replies
POSTQUEUE(1) General Commands Manual POSTQUEUE(1)
NAME
postqueue - Postfix queue control
SYNOPSIS
postqueue [-c config_dir] -f
postqueue [-c config_dir] -p
postqueue [-c config_dir] -s site
DESCRIPTION
The postqueue program implements the Postfix user interface for queue management. It implements all the operations that are traditionally
available via the sendmail(1) command.
The following options are recognized:
-c config_dir
The main.cf configuration file is in the named directory instead of the default configuration directory. See also the MAIL_CONFIG
environment setting below.
-f Flush the queue: attempt to deliver all queued mail.
This option implements the traditional sendmail -q command, by contacting the Postfix qmgr(8) daemon.
-p Produce a traditional sendmail-style queue listing.
This option implements the traditional mailq command, by contacting the Postfix showq(8) daemon.
-s site
Schedule immediate delivery of all mail that is queued for the named site. The site must be eligible for the "fast flush" service.
See flush(8) for more information about the "fast flush" service.
This option implements the traditional sendmail -qRsite command, by contacting the Postfix flush(8) daemon.
-v Enable verbose logging for debugging purposes. Multiple -v options make the software increasingly verbose.
SECURITY
This program is designed to run with set-group ID privileges, so that it can connect to Postfix daemon processes.
DIAGNOSTICS
Problems are logged to syslogd(8) and to the standard error stream.
ENVIRONMENT
MAIL_CONFIG
Directory with the main.cf file.
In order to avoid exploitation of set-group ID privileges, it is not possible to specify arbitrary directory names.
A non-standard directory is allowed only if the name is listed in the standard main.cf file, in the alternate_config_directories
configuration parameter value.
Only the super-user is allowed to specify arbitrary directory names.
FILES
/var/spool/postfix, mail queue
/etc/postfix, configuration files
CONFIGURATION PARAMETERS
import_environment
List of names of environment parameters that can be imported from non-Postfix processes.
queue_directory
Top-level directory of the Postfix queue. This is also the root directory of Postfix daemons that run chrooted.
fast_flush_domains
List of domains that will receive "fast flush" service (default: all domains that this system is willing to relay mail to). This
list specifies the domains that Postfix accepts in the SMTP ETRN request and in the sendmail -qR command.
SEE ALSO
sendmail(8) sendmail-compatible user interface
qmgr(8) queue manager
showq(8) list mail queue
flush(8) fast flush service
LICENSE
The Secure Mailer license must be distributed with this software.
AUTHOR(S)
Wietse Venema
IBM T.J. Watson Research
P.O. Box 704
Yorktown Heights, NY 10598, USA
POSTQUEUE(1)