I'm trying to get spam delivered to each mail gateway so that  
spamcannibal can chew on it.  My thought is that I should run a third  
instance of postfix with local delivery enabled.

[admin@xerxes spam_postfix]$ ls
main.cf    postfix-files   post-install  virtual.db
master.cf  postfix-script  virtual
[admin@xerxes spam_postfix]$

[admin@xerxes spam_postfix]$ more main.cf
soft_bounce = no

virtual_alias_maps = hash:/etc/spam_postfix/virtual

queue_directory = /var/spool/spam_spool

command_directory = /usr/sbin

daemon_directory = /usr/libexec/postfix

mail_owner = postfix

message_size_limit = 40960000
mailbox_size_limit = 81920000

default_privs = nobody

myhostname=xerxes.robinson-west.com

myorigin=$myhostname

inet_interfaces = 192.168.5.4

mydestination=$myhostname

mynetworks = 192.168.5.0/24

mynetworks_style = subnet

smtpd_banner = $myhostname ESMTP $mail_name

sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/postfix-2.3.3/samples
readme_directory = /usr/share/doc/postfix-2.3.3/README_FILES

html_directory = no

mail_spool_directory = /var/spool/mail

[admin@xerxes spam_postfix]$ cat virtual
robinson-west.com               "This text is mandatory, but irrelevant:-)"
[email protected]   spam
@xerxes.robinson-west.com       spam
[admin@xerxes spam_postfix]$

Master.cf follows, I'm trying to trim it down.

# ==========================================================================
# service type  private unpriv  chroot  wakeup  maxproc command + args
#               (yes)   (yes)   (yes)   (never) (100)
# ==========================================================================
smtp      inet  n       -       n       -       -       smtpd
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
flush     unix  n       -       n       1000?   0       flush
smtp      unix  -       -       n       -       -       smtp
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
proxymap  unix  -       -       n       -       -       proxymap

The only thing I am after is being able to deliver spam to spamcannibal.
Email typically goes through the mail relay via  
[email protected].
My thought has been, how about sending email to spamcannibal via
[email protected] or [email protected]?

I must be off track here.  I expect that [email protected]  
will get caught resulting in delivery.  Look at the log on xerxes:

Jul 17 01:31:49 xerxes postfix/local[32289]: 8FD4D640656:  
to=<[email protected]>, relay=local, delay=0.08,  
delays=0.01/0.01/0/0.06, dsn=5.4.6, status=bounced (mail forwarding  
loop for [email protected])
Jul 17 01:31:49 xerxes postfix/cleanup[32288]: A4A7D640653:  
message-id=<[email protected]>
Jul 17 01:31:49 xerxes postfix/qmgr[32279]: A4A7D640653: from=<>,  
size=2638, nrcpt=1 (queue active)
Jul 17 01:31:49 xerxes postfix/bounce[32291]: 8FD4D640656: sender  
non-delivery notification: A4A7D640653
Jul 17 01:31:49 xerxes postfix/qmgr[32279]: 8FD4D640656: removed
Jul 17 01:31:49 xerxes postfix/error[32294]: A4A7D640653:  
to=<[email protected]>, relay=none, delay=0.01,  
delays=0.01/0/0/0, dsn=5.0.0, status=bounced (User unknown in virtual  
alias table)
Jul 17 01:31:49 xerxes postfix/qmgr[32279]: A4A7D640653: removed


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to