Sponsored Content
Special Forums IP Networking postfix - reinject mail to postfix from hold queue directory Post 302337200 by coolatt on Thursday 23rd of July 2009 03:08:54 PM
Old 07-23-2009
postfix - reinject mail to postfix from hold queue directory

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 other ports (10025)
can anyone please advise how this can be done ?
thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mail command woth Postfix

Hi, maybe someone could help me. This is the thing. I usually use the command "mail" on my scripts to send me info about the linux box, something like: df -k | mail -s "disk usage" lalala@lalala.com. This works fine in all the linuxes that sendmail is installed, but there is one with Postfix... (1 Reply)
Discussion started by: piltrafa
1 Replies

2. Shell Programming and Scripting

postfix queue filling up

What is filling up my postfix queue (/var/spool/postfix/deferred/)? I had a perl script running via crontab to monitor my IP connection and send me a mail via sendmail. Now I have a huge queue of emails I keep getting. I've removed the crontab and the script. If I clear out... (0 Replies)
Discussion started by: kumakuma
0 Replies

3. UNIX for Dummies Questions & Answers

postfix queue filling up (from sendmail?)

What is filling up my postfix queue (/var/spool/postfix/deferred/)? I had a perl script running via crontab to monitor my IP connection and send me a mail via sendmail. Now I have a huge queue of emails I keep getting. I've removed the crontab and the script. If I clear out... (0 Replies)
Discussion started by: kumakuma
0 Replies

4. OS X (Apple)

postfix queue filling up (from sendmail?)

What is filling up my postfix queue (/var/spool/postfix/deferred/)? I had a perl script running via crontab to monitor my IP connection and send me a mail via sendmail. Now I have a huge queue of emails I keep getting. I've removed the crontab and the script. If I clear out... (1 Reply)
Discussion started by: kumakuma
1 Replies

5. Ubuntu

Reg:Postfix Mail Server

We have a redhat enterprise linux 4 server.we have configured postfix as our MTA.squirrel mail as webmail and apache is configured for webserver.We configured outlook as mail client.The mail server is working and our users ae saving a copy of mail in the linux server.Our problem is whenever the... (0 Replies)
Discussion started by: ramjimh
0 Replies

6. Red Hat

Mail solution for Linux - Postfix

Hi , I am a complete newbie to linux, I have been given a job to install a mail solution (postfix if possible) I would like to know how should I go about installing..) Can any one provide me some steps to go about it.. i have read about postfix and the installation steps, it seems there are... (1 Reply)
Discussion started by: anilhk
1 Replies

7. UNIX for Dummies Questions & Answers

Please help with Postfix config issue - How to allow remote Exchange server to relay to my postfix

Hi guys One of our clients have a problem with sending email to a certain domain. No matter what we try, the mails just dont get delivered. What I did then, is created a new connector on their Exchange server, pointing all mail sent to their client at "domain1" to relay to our Postfix mail... (0 Replies)
Discussion started by: wbdevilliers
0 Replies

8. Linux

Postfix problem with hold messages queue

Hello, I'm having a problem with my Postfix server, all new messages stay on hold in the queue, I always have to un-hold messages and then flush the mail queue so that all messages are delivered. I do not know how to make postfix to always send the messages automatic. Can anybody assist me on... (0 Replies)
Discussion started by: marques_rmc
0 Replies

9. UNIX for Dummies Questions & Answers

Sending Mail with Postfix

im able to install postfix on my ubuntu server. no issues. but ican't send mail. i dont know what to put for the "relayhost". i've googled this endlessly but i'm clueless. isn't there a general smart host i can use that'll allow me to send? i dont care for receiving mail. i just want to be... (1 Reply)
Discussion started by: SkySmart
1 Replies

10. UNIX and Linux Applications

Postfix: Active Directory and postfix alias

I have a mailserver with postfix i want to alias all mail for administrator@domain.fqdn to root@domain.fqdn I have the aliases configured,and i did newliases but doesn't work. How to did this?Postfix is configured for virtual domain on ad server. (2 Replies)
Discussion started by: Linusolaradm1
2 Replies
policyd-weight(8)					      System Manager's Manual						 policyd-weight(8)

NAME
policyd-weight - weighted SMTP policy daemon STATUS
Beta, Documentation incomplete SYNOPSIS
policyd-weight [-option] [-option2 <arg>] command DESCRIPTION
policyd-weight(8) is a SMTP policy daemon written in perl(1) for postfix(1). It evaluates based on RBL/RHSBL results, HELO and MAIL FROM domain and subdomain arguments and the client IP address the possibility of forgery or SPAM. It is designed to be called before the SMTP DATA command at the RCPT TO stage. This way it is a) possible to reject a mail attempt before the body has been received and b) to keep multirecipient mail intact, i.e. provide the functionality of selective usage based on recipients. To make policyd-weight(8) work with postfix(1), it is required to add a system account for $USER (default: polw) Policyd-weight can operate in master.cf or daemon mode. In master.cf mode it uses postfix' spawn(8), which results in number of simultanous requests perl instances. In daemon mode it uses shared memory and forks on load, and only if all child processes are busy. At the time of writing the man-pages for policyd-weight assume a postfix installation. It has been reported that policyd-weight works with other MTAs like Exim, too. SETUP
master.cf mode: master.cf: policy unix - n n - - spawn user=polw argv=/usr/bin/perl /usr/local/bin/policyd-weight main.cf: smtpd_recipient_restrictions = permit_mynetworks, ... authenticated permits ... reject_unauth_destination, ... whitelists, role accounts, clients ... check_policy_service unix:private/policy daemon mode: start the daemon with policyd-weight start. Poliyd-weight then listens on $TCP_PORT (default: 12525) for policy requests. To make postfix talk to that port do following changes to main.cf: main.cf: smtpd_recipient_restrictions = permit_mynetworks, ... authenticated permits ... reject_unauth_destination, ... whitelists, role accounts, clients ... check_policy_service inet:127.0.0.1:12525 It is possible to have more than one postfix server talk to the daemonized policyd-weight by configuring each postfix machine to query the policy server with check_policy_service inet:IP:12525 where IP is the host on which policyd-weight runs. Please note that check_policy_service should come at last, or at least after reject_unauth_destination, or else you may become an open relay. COMMANDS
Following commands exist and are reserved for daemon mode only: start start the policy server stop stop the policy server restart restart the policy server reload tells the policy server to reload its configuration defaults prints the default settings to STDOUT and exits OPTIONS
-d operate in debug mode Not for use in master.cf. In debug mode everything is reported on STDOUT instead of syslog(3). Also an own debug cache daemon will be spawned. The socket-file is named after the value of $SPATH with ".debug" as suffix. -f /path/to/file Pass a configuration file to policyd-weight -h show help -k kill cache daemon Not for use in master.cf. Together with -d this kills the debug cache daemon. Without -d it kills the global running cache daemon. -s show cache entries Not for use in master.cf. -v show version LOGGING
Logging is done via syslog(3) with facility "mail" and priority "info". For a complete list of log entries and their correspondending con- figuration parameters refer to policyd-weight.conf(5). BUGS
Please report bugs to r.felber@ek-muc.de HISTORY
March 2005 Ralf Hildebrandt (Author of the Book of Postfix) is the spiritual father of policyd-weight. It was his idea to have a scored RBL evaluation, I've added the weighted MAIL FROM/HELO DNS-evaluation. For that purpose I used Meng Wong's spf.pl which was shipped with the postfix source as example. FILES
/etc/policyd-weight.conf, Policyd-weight configuration file /etc/postfix/main.cf, Postfix configuration parameters /etc/postfix/master.cf, Postfix daemon processes SEE ALSO
policyd-weight.conf(5), Policyd-weight configuration file master(5), Postfix master.cf file syntax postconf(5), Postfix main.cf file syntax access(5), Postfix SMTP access control table LICENSE
GNU General Public License AUTHOR
Robert Felber <r.felber@ek-muc.de> Autohaus Erich Kuttendreier 81827 Munich, Germany Aug 25th, 2006 policyd-weight(8)
All times are GMT -4. The time now is 03:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy