PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Warnung per Mail bei Mails in Mail Queue von Postfix - Geht das?



ThyMaster
24.01.05, 09:38
Hi,

ich habe das Problem, dass die User meines Postfix-Emailservers ab und an Mails mit sehr großen ZIP-Attachments bekommen. Diese ZIP_Attachments beherbergen dann 3000+ Dateien.
Bei der Virenprüfung dieser Attachments würde der Rechner jedoch komplett in Knie gehen, so dass Amavis diese Mails nicht bearbeitet und in die Postfix Mail Queue zurückstellt (wo sie dann natürlich auf ewig loopen).

Jetzt meine Frage:
Gibt es eine Möglichkeit, die betroffenen Empfänger zumindest via Mail davon in Kenntnis zu setzen, dass eine an sie gerichtete Mail in der Mail Queue fest"hängt"?
Wenn ja, wie?

Vielen Dank im Voraus.
Gruß
Falko

Tomek
24.01.05, 11:18
Ich denke, sowas ist nicht möglich. Begrenze die erlaubte Mailgröße in Postfix oder konfiguriere amavisd so, dass er ausgehende Mails nicht scannt.

ThyMaster
24.01.05, 14:59
Ganz so schwarz isses denn nicht:
Zumindest mit
postqueue -p läßt sich erfahren, ob Mails in der Queue stecken oder nicht.

Gruß
Falko

Tomek
24.01.05, 15:04
Das ist mir klar.. mailq gibts auch noch und ist kürzer. :)

zini2001
24.01.05, 16:44
Ich denke, sowas ist nicht möglich. Begrenze die erlaubte Mailgröße in Postfix oder konfiguriere amavisd so, dass er ausgehende Mails nicht scannt.

kannst du mir kurz sagen wo ich im amavis die einstellung mache das er ausgehende mails nicht mehr scannt??

Tomek
24.01.05, 19:47
# Lookup list of local domains (see README.lookups for syntax details)
#
# NOTE:
# For backwards compatibility the variable names @local_domains (old) and
# @local_domains_acl (new) are synonyms. For consistency with other lookups
# the name @local_domains_acl is now preferred. It also makes it more
# obviously distinct from the new %local_domains hash lookup table.
#
# local_domains* lookup tables are used in deciding whether a recipient
# is local or not, or in other words, if the message is outgoing or not.
# This affects inserting spam-related headers for local recipients,
# limiting recipient virus notifications (if enabled) to local recipients,
# in deciding if address extension may be appended, and in SQL lookups
# for non-fqdn addresses. Set it up correctly if you need features
# that rely on this setting (or just leave empty otherwise).
#
# With Postfix (2.0) a quick reminder on what local domains normally are:
# a union of domains specified in: $mydestination, $virtual_alias_domains,
# $virtual_mailbox_domains, and $relay_domains.
#
# @local_domains_acl = ( ".$mydomain" ); # $mydomain and its subdomains
# @local_domains_acl = qw(); # default is empty, no recipient treated as local
# @local_domains_acl = qw( .example.com );
# @local_domains_acl = qw( .example.com !host.sub.example.net .sub.example.net );

# or alternatively(A), using a Perl hash lookup table, which may be assigned
# directly, or read from a file, one domain per line; comments and empty lines
# are ignored, a dot before a domain name implies its subdomains:
#
#read_hash(\%local_domains, '/etc/amavis/local_domains');

#or alternatively(B), using a list of regular expressions:
# $local_domains_re = new_RE( qr'[@.]example\.com$'i );
#
# see README.lookups for syntax and semantics