Mail

Aサーバ

※courier系のパッケージがまだsarge

  • exim4 4.63-17
  • exim4-base 4.63-17
  • exim4-config 4.63-17
  • exim4-daemon-heavy 4.63-17
  • sa-exim 4.2.1-4
  • spamassassin 3.1.7-2
  • spamc 3.1.7-2
  • clamav 0.90.1dfsg-3etch10
  • clamav-base 0.90.1dfsg-3etch10
  • clamav-daemon 0.90.1dfsg-3etch10
  • clamav-freshclam 0.90.1dfsg-3etch10
  • libclamav2 0.90.1dfsg-3etch10
  • courier-pop 0.47-4sarge5
  • courier-pop-ssl 0.47-4sarge5
  • courier-imap 3.0.8-4sarge5
  • courier-imap-ssl 3.0.8-4sarge5

whereis exim

exim: /usr/sbin/exim /usr/share/man/man8/exim.8.gz

whereis exim4

exim4: /usr/sbin/exim4 /etc/exim4 /usr/lib/exim4 /usr/share/exim4 /usr/share/man/man8/exim4.8.gz

/usr/sbin$ ls -la | grep exim

ここにあるコマンドは=>exim4+command

lrwxrwxrwx  1 root root      5 Nov 24 12:19 exim -> exim4
-rwsr-xr-x  1 root root 801100 Jan 20  2007 exim4
-rwxr-xr-x  1 root root   4718 Jan 20  2007 exim_checkaccess
-rwxr-xr-x  1 root root  74327 Jan 20  2007 exim_convert4r4
-rwxr-xr-x  1 root root   8580 Jan 20  2007 exim_dbmbuild
-rwxr-xr-x  1 root root  12128 Jan 20  2007 exim_dumpdb
-rwxr-xr-x  1 root root  14940 Jan 20  2007 exim_fixdb
-rwxr-xr-x  1 root root  12120 Jan 20  2007 exim_lock
-rwxr-xr-x  1 root root  12888 Jan 20  2007 exim_tidydb
-rwxr-xr-x  1 root root 126086 Jan 20  2007 eximstats
lrwxrwxrwx  1 root root      5 Nov 24 12:19 rmail -> exim4
lrwxrwxrwx  1 root root      5 Nov 24 12:19 rsmtp -> exim4
lrwxrwxrwx  1 root root      5 Nov 24 12:19 runq -> exim4
lrwxrwxrwx  1 root root      5 Nov 24 12:19 sendmail -> exim4
-rwxr-xr-x  1 root root   1445 Jan 20  2007 syslog2eximlog
-rwxr-xr-x  1 root root  15244 Jan 20  2007 update-exim4.conf
-rwxr-xr-x  1 root root   3408 Jan 19  2007 update-exim4.conf.template
-rwxr-xr-x  1 root root   8234 Jan 20  2007 update-exim4defaults

/usr/lib/exim4$ ls -la

lrwxrwxrwx  1 root root   16 Nov 24 12:19 exim4 -> ../../sbin/exim4
drwxr-xr-x  2 root root 4096 Mar  8 11:37 local_scan

man exim4

SEE ALSO

exicyclog(8), exigrep(8), exim_checkaccess(8), 
exim_convert4r4(8),  exim_db(8), exim_dbmbuild(8),
exim_lock(8),  eximon(8),  exinext(8),  exiqgrep(8), 
exiq-summ(8),     exiwhat(8),     update-exim4.conf(8),
update-exim4defaults(8),
/usr/share/doc/exim4-base/,  
/usr/share/doc/exim4-base/README.Debian.[gz|html].

README.Debian.gz

手動で設定を変える場合はここをみるとよいらしい=>
/usr/share/doc/exim4-base/spec.txt chapters 3 and 6.

.ifdef/.ifndefについて

  Whenever you see an .ifdef or .ifndef clause in the configuration
  file, you can control the appropriate clause by setting the macro in a
  local configuration file. For split configuration, you can drop the
  local configuration file anywhere in /etc/exim4/conf.d/main. Just make
  sure it gets read before the macro is first used. 000_localmacros is a
  possible name, guaranteeing first order. For a non-split
  configuration, /etc/exim4/exim4.conf.localmacros gets read before
  /etc/exim4/exim4.conf.template. To actually set the macro
  EXIM4_EXAMPLE to the value "this is a sample", write the following
  line

設定ファイルの優先順位

/var/lib/exim4/config.autogenerated, the file generated by update-exim4.conf,
is ignored as soon as /etc/exim4/exim4.conf is found.

2008-03-27 15:38:28 1Jelko-0006dv-2a H=ext103.mail.goo.ne.jp (mail.goo.ne.jp) [210.165.9.52] F=<prvs=aya-exim4-test=965c52ce9@mail.goo.ne.jp> rejected after DATA: there is no valid sender in any header line

Bサーバ

  • exim4 4.63-17
  • exim4-base 4.63-17
  • exim4-config 4.63-17
  • exim4-daemon-heavy 4.63-17
  • courier-pop 0.53.3-5
  • courier-pop-ssl 0.53.3-5
  • courier-imap 4.1.1.20060828-5
  • courier-imap-ssl 4.1.1.20060828-5

whereis exim

exim: /usr/sbin/exim /usr/share/man/man8/exim.8.gz

whereis exim4

exim4: /usr/sbin/exim4 /etc/exim4 /usr/lib/exim4 /usr/share/exim4 /usr/share/man/man8/exim4.8.gz

Exim4の再設定

dpkg-reconfigure exim4-config
※これをすると(一通り終了させると)、exim4は再起動される

用語; T=remote_smtp defer
This is usually a DNS lookup problem. <you system> looks up for the domain name of the recipient you are sending the mail to in order to verify that the domain exists.

オプションファイル

local_sender_blacklist

/etc/exim4/以下に上記の名前でファイルを置くとリストに記載されているメールアドレスからメールが来ると、  2007-05-22 21:38:42 H=mail.example.com [XXX.XXX.XXX.XXX] F=<info@spamsite.com> rejected RCPT <maillist@comuro.org>: sender envelope address info@spamsite.com is locally blacklisted here. If you think this is wrong, get in touch with postmaster と言う風に/var/log/exim4/mainlogで拒否された詳細がログとして出る。


Last-modified: 2012-03-12 (月) 17:05:57 (166d)