Re: Postfix and Postgrey

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 30.06.2012 12:45, schrieb jarmo:
> Has anyone managed get Postgrey working with postfix in F17?

yes, working fine since F12 here

> I have huge problems.
> postfix/smtpd[10641]: warning: connect to 127.0.0.1:10031: Connection
> refused Jun 30 10:22:05 oh1rdf postfix/smtpd[10641]: warning: problem
> talking to server 127.0.0.1:10031: Connection refused Jun 30 10:22:05

postgrey does not run!
however why are you using TCP here instead a socket?
AFAIk TCP is not default on Fedora and useless overhead

maybe there was a db4-update in the past
move files in "/var/spool/postfix/postgrey" somewhere else
while the service is stopped and try to start it again

this would mean psotgrey has to "learn" again, but it
is the fastest way for a clean db4-env and should help

> I have had this working with old Mandriva, now I chaged into F17.
> Earlier needed only line in /postfix/main.cf:
> smtpd_recipient_restrictions = permit_sasl_authenticated,
> permit_mynetworks, reject_unauth_destination, check_policy_service

this line is cutted!

this is the option i am usibng since years:
check_policy_service unix:/var/spool/postfix/postgrey/socket
_________________________

i am using a rebuild of postgrey since a very long time
with a different systemd-unit: which can be also placed
in /etc/systemd/system to get not overwritten be regular updates

CAUTION: systemctl disbale postgrey.service BEFORE and
systemctl enable postgrey.service AFTER changing unit-file
_________________________

[root@mail:~]$ cat /etc/sysconfig/postgrey
OPTIONS="--unix=/var/spool/postfix/postgrey/socket --auto-whitelist-clients=2 --max-age=35 --delay=300
--greylist-text=\"Greylisted for %s seconds\" --quiet"

[root@mail:~]$ cat /lib/systemd/system/postgrey.service
[Unit]
Description=Postfix Greylisting Service
Before=postfix.service

[Service]
Type=forking
ExecStart=/usr/sbin/postgrey --unix=/var/spool/postfix/postgrey/socket --daemonize
Restart=always
RestartSec=1

[Install]
WantedBy=multi-user.target


Attachment: signature.asc
Description: OpenPGP digital signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux