> -----Original Message-----
> From: Gilles Chehade [mailto:gil...@openbsd.org]
> Sent: Wednesday, December 23, 2009 05:40
> To: Adam Thompson
> Cc: misc@openbsd.org
> Subject: Re: smtpd(8) virtual map question
>
> can you please show the command you used ?
> and make sure that the makemap utility you are using is the one
> from
> smtpd-current ?
>
> Gilles

(smtpd.conf still as shown in previous message)


r...@server:~# cd /usr/src/usr.sbin/smtpd
r...@server:/usr/src/usr.sbin/smtpd# make install
===> makemap
install -c -s -o root -g bin  -m 555 makemap /usr/libexec/smtpd/makemap
install -c -o root -g bin -m 444 makemap.cat8 /usr/share/man/cat8/makemap.0
install -c -o root -g bin -m 444 newaliases.cat8
/usr/share/man/cat8/newaliases.0
===> smtpd
install -c -s -o root -g bin  -m 555 smtpd /usr/sbin/smtpd
install -c -o root -g bin -m 444 smtpd.cat8 /usr/share/man/cat8/smtpd.0
install -c -o root -g bin -m 444 smtpd.conf.cat5
/usr/share/man/cat5/smtpd.conf.0
===> smtpctl
install -c -s -o root -g bin  -m 555 smtpctl /usr/sbin/smtpctl
install -c -o root -g bin -m 444 smtpctl.cat8 /usr/share/man/cat8/smtpctl.0
r...@server:/usr/src/usr.sbin/smtpd# cd /etc/mail
r...@server:/etc/mail# /usr/libexec/smtpd/makemap -t aliases virtual
r...@server:/etc/mail# cd
r...@server:~# mailq
MTA|1261567824.IuJRqPiBNpk89uM0.234828560|ENQUEUED|r...@server.athompso.net|a
thom...@vbby       |1261567824|1|150
non-print
able character in reply
MTA|1261567834.iMYjpLmzh2Yu6ZWn.1532357599|ENQUEUED|r...@server.athompso.net|
athom...@v|1261567835|1|150
non-printabl
e character in reply
MTA|1261567905.qxB9wIfzo8It5H3I.680850047|ENQUEUED|r...@server.athompso.net|a
thom...@bbb*bb|1261567905|1|150
non-print
able character in reply
MTA|1261568135.vIYJxOGFKCpZP3Gu.1103753259|ENQUEUED|r...@server.athompso.net|
athom...@bbbbbb
Vob|1261568136|1|150 non-
printable character in reply
r...@server:~# smtpd -d -v
startup [debug mode]
parent_send_config: configuring smtp
parent_send_config_client_certs: configuring smtp
parent_send_config_ruleset: reloading rules and maps
smtp_setup_events: listen on IPv6:fe80:1::211:aff:fe57:6836 port 25 flags
0x0 cert "em0"
smtp_setup_events: listen on 192.168.206.1 port 25 flags 0x0 cert "em0"
smtp_setup_events: listen on 174.5.101.109 port 25 flags 0x0 cert "fxp0"
smtp_setup_events: listen on IPv6:fe80:3::230:48ff:fe23:22a3 port 25 flags
0x0 cert "fxp0"
smtp_setup_events: listen on IPv6:fe80:5::1 port 25 flags 0x0 cert "lo0"
smtp_setup_events: listen on IPv6:::1 port 25 flags 0x0 cert "lo0"
smtp_setup_events: listen on 127.0.0.1 port 25 flags 0x0 cert "lo0"
smtp: will accept at most 244 clients
^Z[1] + Suspended            smtpd -d -v
r...@server:~# bg
[1] smtpd -d -v
r...@server:~# mail athom...@athompso.net
Subject: asdfl;kj
asdf;lkj
.
EOT
r...@server:~# smtp_new: incoming client on listener: 0x3c00c9c0
session_pickup: greeting client
command: EHLO   args: localhost
command: MAIL FROM      args: <r...@server.athompso.net>
session_rfc5321_mail_handler: sending notification to mfa
smtp_dispatch_mfa: mfa handled return path
queue_dispatch_smtp: creating message file
smtp_dispatch_queue: queue handled message creation
command: RCPT TO        args: <athom...@athompso.net>
lka_resolve_node: node is local username: athompso
lka_resolve_node: resolved to address: athom...@bhe}bb
smtp_dispatch_queue: queue acknowledged message submission
command: DATA   args: (null)
smtp_dispatch_queue: queue handled message creation
smtp_dispatch_queue: queue acknowledged message submission
1261568564.hby8E99xATcZQR4C: from=<r...@server.athompso.net>, size=402,
nrcpts=1, proto=ESMTP, rela...@localhost [IPv6
:::1]
command: QUIT   args: (null)
session_destroy: killing client: 0x8aef9000
in batch dispatch
lookup_mx shawmail.wp.shawcable.net
lookup_a shawmail.wp.shawcable.net:0 (numeric)
lookup_a failed
implicit mx
lookup_a shawmail.wp.shawcable.net:0
lookup_a success
lookup_mx success
mta: getting datafd
mta: connect 24.71.223.43
lookup_ptr 24.71.223.43
lookup_ptr success
mta: entering smtp phase
<<< 220 pd2ml1so-dmz.prod.shaw.ca ESMTP
>>> EHLO server.athompso.net
<<< 250-pd2ml1so-dmz.prod.shaw.ca
<<< 250-8BITMIME
<<< 250 SIZE 29360128
>>> MAIL FROM:<r...@server.athompso.net>
<<< 250 sender <r...@server.athompso.net> ok
>>> RCPT TO:<athom...@bhe}bb>
<<< 250 recipient <athom...@bhe}bb> ok
>>> QUIT
<<< 221 pd2ml1so-dmz.prod.shaw.ca
mta: new status for athom...@bhe}bb: 150 non-printable character in
reply
mta: connect 64.59.128.135
lookup_ptr 64.59.128.135
lookup_ptr failed
mta: entering smtp phase
<<< 220 pd7ml1no-dmz.prod.shaw.ca ESMTP
>>> EHLO server.athompso.net
<<< 250-pd7ml1no-dmz.prod.shaw.ca
<<< 250-8BITMIME
<<< 250 SIZE 29360128
>>> MAIL FROM:<r...@server.athompso.net>
<<< 250 sender <r...@server.athompso.net> ok
>>> RCPT TO:<athom...@bhe}bb>
<<< 250 recipient <athom...@bhe}bb> ok
>>> QUIT
<<< 221 pd7ml1no-dmz.prod.shaw.ca
mta: new status for athom...@bhe}bb: 150 non-printable character in
reply

Reply via email to