Hi all,
I just setup postfix on my server thats running Centos 5.x with webmin. Now I can send email out of the server but I cant receive email. Server side I can telnet into the 110 and 25 port but coming from the outside of the box I can only telnet into the 110 port but not port 25. The... (1 Reply)
Guys
i have 2 SUSE Linux Enterprise Server 10 SP1 (i586) boxes.if i take a look into /etc/security/access.conf ,i see following lines at the eof
# All other users should be denied to get access from all sources.
#- : ALL : ALL
- : myID : ALL
now earlier i had written scripts where files... (1 Reply)
hi all,
please help me in this regard. I am VFP 9 programmer. I want to send the mail from within VFP 9 application. I have used CDO of microsoft which is working fine. however to be able to send the mail i have to setup the router gateway on user machine which enable him to surf through the... (0 Replies)
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)
Hi All,
I have a root access for one of the server. But, when i try to cd one particular directory i will get the access denied message. Even though that particular directory is created under root. What would be the cause for this? I really wonder if any one have answer for my... (20 Replies)
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)
I login to a server and get a Access Denied Prompt but I clearly lets me into the prompt with Putty.
I do a sudo -s enter my password tells me Access Denied but I am clearly now Root
Just wondering why this is so? what is misconfigured? I mean its not prohibiting me from anything, this is more... (3 Replies)
Whats the difference between mail and mailx?
I'm trying to troubleshoot a problem where I can send mail from server A with this `echo $MESSAGE | mail -s "$SUBJECT" -r $FROM $RECIPIENTS` command but executing the same command from server B throws me this error (Both servers are RHEL)
... (1 Reply)
Hello,
I am trying to setup a mail server (Postfix) on Ubuntu Server at my end but facing Relay access denied issue.
Mail Server DNS is mydomain.com and MX record is also added to the DNS server for the same. When i am sending out emails from outer domain to user1@mydomain.com, I configured... (2 Replies)
I'm unable to send email from my Linux server despite SMTP port 25 Active and Listening.
# hostname
TechX
I checked the mail log ( /var/log/maillog ) and found the below error.
I'm sharing all the ".cf" files seen in the error log.
1.
# more /etc/postfix/main.cf
# postfix... (0 Replies)
Discussion started by: mohtashims
0 Replies
LEARN ABOUT DEBIAN
policyd-weight
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)