[Postfixbuch-users] Mails rejecten vor Postgrey
Uwe Driessen
driessen at fblan.de
Di Jul 17 13:39:26 CEST 2007
R. Wilhelm schrieb:
> hi, da hab ich doch auch noch nen kleineres problem
>
> in der log steht :
>
> Jul 17 12:30:37 srv1 postfix/smtpd[16581]: fatal: parameter
> "smtpd_recipient_restrictions": specify at least one working instance of:
> check_relay_domains, reject_unauth_destination, reject, defer or
> defer_if_permit
> Jul 17 12:30:38 srv1 postfix/master[15526]: warning: process
> /usr/lib/postfix/smtpd pid 16581 exit status 1
> Jul 17 12:30:38 srv1 postfix/master[15526]: warning: /usr/lib/postfix/smtpd:
> bad command startup -- throttling
>
> so sieht meine main.cf aus
Poste mal ein postconf -n das berücksichtigt die Schreibfehler nicht
> myhostname = srv1.online-webservice24.de
> mydomain = srv1.online-webservice24.de
Mydomain kannste rauswerfen die ergibt sich aus dem myhostname
>
> myorigin = $mydomain
Hier habe ich den Domainnamen drin stehen bei dir online-webservice24.de
>
> mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
Kannste weglassen da du ja virtuelle Domains hast beist sich das ansonsten
> append_dot_mydomain = no
> append_at_myorigin = yes
> local_transport = local
Hier habe ich local_transport = local:$myorigin hash:/etc/postfix/transport
Stehen
Dazu dann noch
> virtual_transport = virtual
> transport_maps = hash:/etc/postfix/vhcs2/transport
> mail_spool_directory = /var/spool/mail
> mailbox_size_limit = 0
> mailbox_command = procmail -a "$EXTENSION"
>
> biff = no
>
> alias_database = hash:/etc/aliases
>
> local_destination_recipient_limit = 1
> local_recipient_maps = unix:passwd.byname $alias_database
>
> unknown_local_recipient_reject_code = 550
>
> #
> # VHCS Autoresponder parameters;
> #
>
> vhcs2-arpl_destination_recipient_limit = 1
>
> #
> # Delivering virtual messages parameters;
> #
>
> virtual_mailbox_base = /var/spool/mail/virtual
> virtual_mailbox_limit = 0
>
> virtual_mailbox_domains = hash:/etc/postfix/vhcs2/domains
> virtual_mailbox_maps = hash:/etc/postfix/vhcs2/mailboxes
>
> virtual_alias_maps = hash:/etc/postfix/vhcs2/aliases
>
> virtual_minimum_uid = 107
> virtual_uid_maps = static:107
> virtual_gid_maps = static:8
>
> #uncomment the next line to generate "delayed mail" warnings
> delay_warning_time = 2d
>
> #
> # SASL paramters;
> #
> smtpd_sasl_auth_enable = yes
> smtpd_sasl_security_options = noanonymous
> smtpd_sasl_local_domain = vhcs.net
> broken_sasl_auth_clients = yes
>
> smtpd_helo_required = yes
> #smtpd_client_restrictions =
> #smtpd_helo_restrictions =
> #smtpd_sender_restrictions =
> smtpd_recipient_restrictions =
> permit_mynetworks,
> permit_sasl_authenticated,
> # reject_unauth_destination,
> reject_unlisted_recipient,
> reject_unknown_sender_domain,
> reject_unknown_recipient_domain,
> reject_invalid_hostname,
> reject_unauth_pipelining,
> # reject_non_fqdn_sender,
> check_recipient_access hash:/etc/postfix/whilelist,
> # reject_non_fqdn_recipient,
> # reject_non_fqdn_hostname,
> check_sender_mx_access cidr:/etc/postfix/bogus_mx,
> check_client_access hash:/etc/postfix/dyn-host,
> check_policy_service inet:127.0.0.1:10028,
> # mime_header_checks=pcre:/etc/postfix/body_check,
>
>
> message_size_limit = 104857600
>
> #Amavis
> content_filter = smtp-amavis:[127.0.0.1]:10024
>
Mit freundlichen Grüßen
Drießen
--
Software & Computer
Uwe Drießen
Lembergstraße 33
67824 Feilbingert
Tel.: 06708 / 660045 Fax: 06708 / 661397
Mehr Informationen über die Mailingliste Postfixbuch-users