-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
I'm at a loss here. Details of my setup:
OS: Solaris 10 gcc version: 3.4.3 postfix version 2.5.2 dovecot version 1.1.2 dovecot sieve version 1.1.5
How I installed:
Postfix: make makefiles CCARGS='-DUSE_SASL_AUTH \-DDEF_SERVER_SASL_TYPE=\"dovecot\" -DUSE_TLS -I/opt/csw/include' \AUXLIBS="-R/opt/csw/lib -L/opt/csw/lib -lssl -lcrypto -ldb" make make upgrade
Dovecot: ./configure --prefix=/userM/mail-services/dovecot make make install
Sieve: ./configure --prefix=/userM/mail-services/dovecot
- --with-dovecot=../dovecot-1.1.2 make make install
dovecot -n # 1.1.2: /userM/mail-services/dovecot/etc/dovecot.conf Warning: fd limit 256 is lower than what Dovecot can use under full load (more than 3072). Either grow the limit or change login_max_processes_count and max_mail_processes settings base_dir: /userM/mail-services/dovecot/var/run/dovecot/ protocols: imap imaps pop3 pop3s ssl_cert_file: /userM/mail-services/dovecot/etc/ssl/dovecot.pem ssl_key_file: /userM/mail-services/dovecot/etc/ssl/privkey.pem ssl_parameters_regenerate: 0 ssl_cipher_list: MEDIUM:!LOW disable_plaintext_auth: no login_dir: /userM/mail-services/dovecot/var/run/dovecot/login login_executable(default): /userM/mail-services/dovecot/libexec/dovecot/imap-login login_executable(imap): /userM/mail-services/dovecot/libexec/dovecot/imap-login login_executable(pop3): /userM/mail-services/dovecot/libexec/dovecot/pop3-login login_greeting: Cyrus ready. login_max_processes_count: 1024 max_mail_processes: 1024 mail_location: mbox:~/:INBOX=/userM/mail/%u mail_debug: yes mmap_disable: yes mail_nfs_index: yes mail_executable(default): /userM/mail-services/dovecot/libexec/dovecot/imap mail_executable(imap): /userM/mail-services/dovecot/libexec/dovecot/imap mail_executable(pop3): /userM/mail-services/dovecot/libexec/dovecot/pop3 mail_plugin_dir(default): /userM/mail-services/dovecot/lib/dovecot/imap mail_plugin_dir(imap): /userM/mail-services/dovecot/lib/dovecot/imap mail_plugin_dir(pop3): /userM/mail-services/dovecot/lib/dovecot/pop3 auth default: mechanisms: plain login verbose: yes debug: yes passdb: driver: pam passdb: driver: passwd args: blocking=yes userdb: driver: passwd args: blocking=yes socket: type: listen client: path: /userM/mail-services/postfix/var/private/auth mode: 432 user: postfix group: postfix
.dovecot.sieve: require ["fileinto", "vacation", "reject"]; if address :is "from" "someaccount@yahoo.com" { reject "I don't like your email message"; }
When I send message from yahoo.com to my cjay@engr2.colostate.edu account on this server no rejection notice is being sent back. It looks like at the end of the log file section below that it is sending something back, but nothing shows up. Also see how the "From" is empty? I don't think this is postfix problem as I can send and receive mail through it fine.
SysLog:
Aug 5 08:46:09 mail2.engr.colostate.edu dovecot: [ID 107833 mail.info]
auth(def
ault): new auth connection: pid=11000
Aug 5 08:46:09 mail2.engr.colostate.edu postfix/smtpd[11000]: [ID
197553 mail.i
nfo] connect from pace.acns.colostate.edu[129.82.100.168]
Aug 5 08:46:09 mail2.engr.colostate.edu postfix/smtpd[11000]: [ID
197553 mail.i
nfo] setting up TLS connection from pace.acns.colostate.edu[129.82.100.168]
Aug 5 08:46:09 mail2.engr.colostate.edu postfix/smtpd[11000]: [ID
197553 mail.i
nfo] Anonymous TLS connection established from
pace.acns.colostate.edu[129.82.10
0.168]: TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)
Aug 5 08:46:09 mail2.engr.colostate.edu postfix/smtpd[11000]: [ID
197553 mail.i
nfo] CBD4059982: client=pace.acns.colostate.edu[129.82.100.168]
Aug 5 08:46:09 mail2.engr.colostate.edu postfix/cleanup[11016]: [ID
197553 mail
.info] CBD4059982: message-id=609785.52970.qm@web52402.mail.re2.yahoo.com
Aug 5 08:46:09 mail2.engr.colostate.edu postfix/smtpd[11000]: [ID
197553 mail.i
nfo] disconnect from pace.acns.colostate.edu[129.82.100.168]
Aug 5 08:46:09 mail2.engr.colostate.edu postfix/qmgr[23653]: [ID 197553
mail.in
fo] CBD4059982: from=someaccount@yahoo.com, size=1701, nrcpt=1 (queue
active)
Aug 5 08:46:10 mail2.engr.colostate.edu deliver(cjay): [ID 315030
mail.info] Lo
ading modules from directory: /userM/mail-services/dovecot/lib/dovecot/lda
Aug 5 08:46:10 mail2.engr.colostate.edu deliver(cjay): [ID 619685
mail.info] Mo
dule loaded:
/userM/mail-services/dovecot/lib/dovecot/lda/lib90_cmusieve_plugin.
so
Aug 5 08:46:10 mail2.engr.colostate.edu deliver(cjay): [ID 848615
mail.info] mb
ox: data=/top/admin/ENS/people/cjay/home/:INBOX=/userM/mail/cjay
Aug 5 08:46:10 mail2.engr.colostate.edu deliver(cjay): [ID 885103
mail.info] fs
: root=/top/admin/ENS/people/cjay/home, index=, control=,
inbox=/userM/mail/cjay
Aug 5 08:46:10 mail2.engr.colostate.edu deliver(cjay): [ID 223526
mail.info] cm
usieve: Using sieve path: /top/admin/ENS/people/cjay/home/.dovecot.sieve
Aug 5 08:46:10 mail2.engr.colostate.edu deliver(cjay): [ID 507699
mail.info] cm
usieve: Executing script /top/admin/ENS/people/cjay/home/.dovecot.sievec
Aug 5 08:46:10 mail2.engr.colostate.edu deliver(cjay): [ID 122265
mail.info] Se
nding a rejection to cjay: I don't like your email message
Aug 5 08:46:10 mail2.engr.colostate.edu deliver(cjay): [ID 351585
mail.info] ms
gid=609785.52970.qm@web52402.mail.re2.yahoo.com: rejected
Aug 5 08:46:10 mail2.engr.colostate.edu postfix/local[11020]: [ID
197553 mail.i
nfo] CBD4059982: to=cjay@engr2.colostate.edu, relay=local, delay=0.89,
delays=
0.44/0.07/0/0.38, dsn=2.0.0, status=sent (delivered to command:
/userM/mail-serv
ices/dovecot/libexec/dovecot/deliver)
Aug 5 08:46:10 mail2.engr.colostate.edu postfix/qmgr[23653]: [ID 197553
mail.in
fo] CBD4059982: removed
Aug 5 08:46:10 mail2.engr.colostate.edu postfix/pickup[25962]: [ID
197553 mail.
info] 5040F59988: uid=10946 from=<>
Aug 5 08:46:10 mail2.engr.colostate.edu postfix/cleanup[11016]: [ID
197553 mail
.info] 5040F59988:
message-id=
C. J. Keist Email: cj.keist@colostate.edu UNIX/Network Manager Phone: 970-491-0630 Engineering Network Services Fax: 970-491-5569 College of Engineering, CSU Ft. Collins, CO 80523-1301
All I want is a chance to prove 'Money can't buy happiness' -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFImGtRA29OFr7C6jcRAhEtAJwJD1Ypkx6/UF2LLPsfSXK8zNKrHACfegnj I2uf/L+CGDfuVVky0QLDgkY= =cfym -----END PGP SIGNATURE-----