cyrus imap - sieve vacation mail - empty from

cyrus imap - sieve vacation mail - empty from

Post by Helmut Sch » Thu, 04 Aug 2005 08:41:31


hello newsgroup,

the problem: vacation mails get bounced because sender-email is missing

------------ /var/log/email.log ----------
Aug 2 23:35:13 baer postfix/qmgr[2951]: 202CDBF04: from=<>, size=1129,
nrcpt=1 (queue active)
...
Aug 2 23:35:13 baer postfix/smtp[5974]: 202CDBF04:
to=< XXXX@XXXXX.COM >, relay=mgate.chello.at[213.46.255.2],
delay=0, status=bounced (host mgate.chello.at[213.46.255.2] said: 550
relaying mail to ch-christensen.dk is not allowed (in reply to RCPT TO
command))
------------------------------------------
...relaying mail ist not allowed because of missing from-email!


any idea how to "fill" from=<>? please help!



config:
debian sarge, postfix, amavis, cyrus2


--------------- sieve script ---------------------
require ["fileinto","vacation"];
if allof (header :contains "X-Amavis-Alert" "INFECTED") {
fileinto "INBOX.virus";
}
elsif allof (header :contains "X-Spam-Level" "*****") {
fileinto "INBOX.spam";
}
else {
vacation :days 2 :addresses [" XXXX@XXXXX.COM "] text:
i am not at home now
.
;
}
--------------------------------------------------

------------------ /etc/postfix/master.cf (partial)
cyrus unix - n n - - pipe
flags= user=cyrus argv=/usr/sbin/cyrdeliver -r ${sender} \
-m ${extension} ${user}
--------------------------------------------------

------------------ /etc/postfix/main.cf (partial)
mailbox_transport = cyrus
--------------------------------------------------

------------------ /etc/cyrus.conf ---------------
START {
recover cmd="/usr/sbin/ctl_cyrusdb -r"
delprune cmd="/usr/sbin/ctl_deliver -E 3"
tlsprune cmd="/usr/sbin/tls_prune"
}
SERVICES {
imap cmd="imapd -U 30" listen="imap" prefork=0 maxchild=100
pop3 cmd="pop3d -U 30" listen="pop3" prefork=0 maxchild=50
lmtpunix cmd="lmtpd" listen="/var/run/cyrus/socket/lmtp" prefork=0 \
maxchild=20
sieve cmd="timsieved" listen="localhost:sieve" prefork=0 \
maxchild=100
notify cmd="notifyd" listen="/var/run/cyrus/socket/notify" \
proto="udp" prefork=1
}
EVENTS {
checkpoint cmd="/usr/sbin/ctl_cyrusdb -c" period=30
delprune cmd="/usr/sbin/ctl_deliver -E 3" at=0401
tlsprune cmd="/usr/sbin/tls_prune" at=0401
}
--------------------------------------------------

--------------- /etc/imapd.conf (partial) --------
# turning this on, vacation does nothing!
# postmaster: XXXX@XXXXX.COM
defaultpartition: default
partition-default: /var/spool/cyrus/mail
altnamespace: no
lmtp_downcase_rcpt: yes
admins: cyrus
allowanonymouslogin: no
sendmail: /usr/sbin/sendmail
sieveusehomedir: false
lmtpsocket: /var/run/cyrus/socket/lmtp
idlesocket: /var/run/cyrus/socket/idle
notifysocket: /var/run/cyrus/socket/notify
--------------------------------------------------
 
 
 

cyrus imap - sieve vacation mail - empty from

Post by Helmut Sch » Thu, 04 Aug 2005 13:58:29

let me ask another question:

does cyrus-sieve-vacation (with postfix on debian sarge) work anywhere
out there?