This is a discussion on Postfix and access.db within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; Hi there I dont know why my postfix configuration does not work with my /etc/postfix/access.db In crontab ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi there
I dont know why my postfix configuration does not work with my /etc/postfix/access.db In crontab i do the following: 05 * * * * root rsync -avz de-mirror-1.uceprotect.net::UCE-PFSM-2 /etc/postfix 07 * * * * root cat /etc/postfix/myaccess.lst >>/etc/postfix/access 08 * * * * root postmap /etc/postfix/access < /etc/postfix/access the myaccess.lst looks: (this i use for testing a specific network from where i do sending some mails to adress) 213.165.64 571 Net 213.165.64.0/24 is Protected in /etc/postfix/myaccess.lst So i can add some more ip's in myaccess.lst and here my main.cf: (only the relevant stuff i hope) smtp_helo_required = yes smtp_client_restrictions = smtp_helo_restrictions = smtpd_sender_restrictions = reject_unknown_sender_domain, reject_non_fqdn_sender, reject_rhsbl_sender dsn.rfc-ignorant.org, permit_mynetworks, check_sender_access hash:/etc/postfix/access smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination, reject_invalid_hostname, reject_unknown_hostname, reject_non_fqdn_sender, reject_unknown_sender_domain, reject_non_fqdn_recipient, reject_unknown_recipient_domain, check_sender_access hash:/etc/postfix/access, check_recipient_access hash:/etc/postfix/access, reject_rbl_client relays.ordb.org, reject_rbl_client cbl.abuseat.org, reject_rbl_client list.dsbl.org, reject_rbl_client sbl.spamhaus.org, reject_rbl_client dnsbl.antispam.or.id, reject_rhsbl_client blackhole.securitysage.com, reject_rhsbl_sender blackhole.securitysage.com, reject_rhsbl_sender dsn.rfc-ignorant.org, reject_unverified_sender maps_rbl_domains = relays.osirusoft.com, blackholes.mail-abuse.org any hints??? Juerg |
|
|||
|
Am Mon, 16 Jul 2007 12:42:58 +0200 schrieb Juerg Schwarz:
> Hi there > > I dont know why my postfix configuration does not work with my > /etc/postfix/access.db What does that mean? "Does not work" is no valid problem description. > the myaccess.lst looks: (this i use for testing a specific network from > where i do sending some mails to adress) > > 213.165.64 571 Net 213.165.64.0/24 is Protected in > /etc/postfix/myaccess.lst What kind of output is that? Is that a result of a manual postmap quesry? > and here my main.cf: (only the relevant stuff i hope) `postconf -n" output is much more reliable. > any hints??? Please provide details from your mail log which show unexpected results. > Juerg Alexander |
|
|||
|
Alexander Dalloz schrieb:
> Am Mon, 16 Jul 2007 12:42:58 +0200 schrieb Juerg Schwarz: > >> Hi there >> >> I dont know why my postfix configuration does not work with my >> /etc/postfix/access.db > > What does that mean? "Does not work" is no valid problem description. > >> the myaccess.lst looks: (this i use for testing a specific network from >> where i do sending some mails to adress) >> >> 213.165.64 571 Net 213.165.64.0/24 is Protected in >> /etc/postfix/myaccess.lst > > What kind of output is that? Is that a result of a manual postmap quesry? > >> and here my main.cf: (only the relevant stuff i hope) > > `postconf -n" output is much more reliable. > >> any hints??? > > Please provide details from your mail log which show unexpected results. > >> Juerg > > Alexander Ok problem solved. It worked after i put the following line to the main.cf: here on this markers <<<<<<<<<<<<<<<<<< smtpd_sender_restrictions = reject_unknown_sender_domain, reject_non_fqdn_sender, reject_rhsbl_sender dsn.rfc-ignorant.org, permit_mynetworks, check_sender_access hash:/etc/postfix/access, check_client_access hash:/etc/postfix/access <<<<<<<<<<<<< Thanks anyway juerg |
![]() |
| Thread Tools | |
| Display Modes | |
|
|