OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Deferred Mails not leaving queue after delivery

From: John Farnsworth (sidarkness.nu)
Date: Thu May 01 2003 - 14:36:29 CDT


Greetings,
        I recently upgraded from 1.1.10 to 2.0.9 and had a little bug with
one of my filter pipes which caused emails to be deferred, unfortunately,
at the same time postfix also continued on and delivered the message, so I
got one deferral into the queue along with one delivered copy. Maillog is
as follows, repeated x number of times as the queue flushes, with the
exception of the incoming connection to smtpd is not repeated:

May 1 06:00:11 6C:challenger postfix/smtpd[23191]: connect from
riffraff.plig.net[195.40.6.40]
May 1 06:00:11 6C:challenger postfix/smtpd[23191]: 48A9C8460B9:
client=riffraff.plig.net[195.40.6.40]
May 1 06:00:15 6C:challenger postfix/cleanup[23209]: 48A9C8460B9:
message-id=<20030501110005.9FC57FA36Criffraff.plig.net>
May 1 06:00:15 6C:challenger postfix/smtpd[23191]: disconnect from
riffraff.plig.net[195.40.6.40]
May 1 06:00:16 6C:challenger postfix/qmgr[22672]: 48A9C8460B9:
from=<diablo-users-bouncesopenusenet.org>, size=13937, nrcpt=1 (queue active)
May 1 06:00:16 6C:challenger postfix/pickup[23137]: F07F78460BA: uid=2401
from=<diablo-users-bouncesopenusenet.org>
May 1 06:00:16 6C:challenger postfix/cleanup[23209]: F07F78460BA:
message-id=<20030501110005.9FC57FA36Criffraff.plig.net>
May 1 06:00:17 6C:challenger postfix/qmgr[22672]: F07F78460BA:
from=<diablo-users-bouncesopenusenet.org>, size=8630, nrcpt=1 (queue active)
May 1 06:00:17 6C:challenger postfix/pipe[23213]: 48A9C8460B9:
to=<sichallenger.darkness.nu>, orig_to=<sidarkness.nu>, relay=filter, delay=6,
status=deferred (Command failed: Permission denied: "/usr/local/anomy/filter.sh")
May 1 06:00:17 6C:challenger spamd[560]: connection from localhost
[127.0.0.1] at port 5497
May 1 06:00:17 6C:challenger spamd[23224]: processing message
<20030501110005.9FC57FA36Criffraff.plig.net> for root:60001.
May 1 06:00:21 6C:challenger spamd[23224]: clean message (-8.6/5.0) for
root:60001 in 4.3 seconds, 8578 bytes.
May 1 06:00:21 6C:challenger postfix/local[23228]: F07F78460BA:
to=<sichallenger.darkness.nu>, relay=local, delay=5, status=sent
("|/usr/local/bin/procmail")

postconf is:

[sichallenger adm]$ postconf -n
alias_maps = dbm:/etc/aliases
biff = no
body_checks = regexp:/etc/postfix/body_checks
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/libexec/postfix
debug_peer_level = 2
default_privs = nobody
local_recipient_maps = $virtual_maps
mail_owner = postfix
mailq_path = /usr/bin/mailq
manpage_directory = /usr/local/man
message_size_limit = 20480000
mydomain = darkness.nu
myhostname = challenger.darkness.nu
mynetworks = 127.0.0.0/8, 209.145.162.182/32, 207.246.201.0/29
newaliases_path = /usr/bin/newaliases
notify_classes = resource, software, protocol
queue_directory = /var/spool/postfix
readme_directory = no
relay_domains = $inet_interfaces, $mydestination, $virtual_maps,
darkness.nu, shadows.nu
sample_directory = /etc/postfix/.sample
sendmail_path = /usr/sbin/sendmail
setgid_group = postdrop
smtpd_banner = $myhostname ESMTP $mail_name
smtpd_client_restrictions = permit_mynetworks
smtpd_helo_required = yes
smtpd_recipient_restrictions = reject_invalid_hostname,
reject_non_fqdn_hostname, reject_non_fqdn_sender,
reject_unknown_sender_domain, reject_unknown_recipient_domain,
reject_unauth_pipelining, permit_mynetworks, reject_unauth_destination,
reject_rbl_client relays.ordb.org, reject_rbl_client sbl.spamhaus.org,
reject_rbl_client proxies.relays.monkeys.com, reject_rbl_client
opm.blitzed.org, reject_rbl_client ipwhois.rfc-ignorant.org,
reject_rbl_client relays.osirusoft.com, reject_rbl_client
blackholes.mail-abuse.org, reject_rbl_client relays.mail-abuse.org,
reject_rbl_client relays.visi.com, reject_rbl_client orbs.dorkslayers.com,
permit
unknown_local_recipient_reject_code = 450
[sichallenger adm]$