Have you tried sending mail through telnet?
That way you can determine if it is in your script or in your postfix config.
Could you post your configuration and the perl script?
Is there any relevant logging?
HTH
Regards,
Serge Fonville
On Thu, Jul 2, 2009 at 10:23 AM, Shane Ardeenshaneard...@gmail.com wrote:
Hi
I recently installed and configured postfix as my dev mail server. It's been
working well but when I tried to send mail by a perl script I kept getting
lost connection after MAIL as a result of smtp_get: EOF.
The same perl script sends mail to my production server which is hosted by
my ISP and there's no problem at all.
Here's my mail.log extract:
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: resolve_clnt: `' -
`mym...@mydomain.com' - transp=`maildrop' host=`mydomain.com'
rcpt=`mym...@mydomain.com' flags= class=virtual
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: ctable_locate: install
entry key mym...@mydomain.com
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: extract_addr: in:
mym...@mydomain.com, result: mym...@mydomain.com
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: fsspace: .: block size
4096, blocks free 1953241
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: smtpd_check_queue: blocks
4096 avail 1953241 min_free 0 msg_size_limit 0
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]:
...xx[xx.xx.xxx.xxx]: 250 2.1.0 Ok
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: watchdog_pat: 0xb8a16808
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: vstream_fflush_some: fd 14
flush 14
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: smtp_get: EOF
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: match_hostname:
...xx ~? 127.0.0.0/8
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: match_hostaddr:
xx.xx.xxx.xxx ~? 127.0.0.0/8
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: match_list_match:
...xx: no match
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: match_list_match:
xx.xx.xxx.xxx: no match
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: send attr request =
disconnect
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: send attr ident =
smtp:xx.xx.xxx.xxx
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: vstream_fflush_some: fd 15
flush 45
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: vstream_buf_get_ready: fd
15 got 10
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: private/anvil: wanted
attribute: status
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: input attribute name:
status
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: input attribute value: 0
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: private/anvil: wanted
attribute: (list terminator)
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: input attribute name: (end)
Jul 1 14:52:41 dev-mail32 postfix/smtpd[20378]: lost connection after MAIL
from ...xx[xx.xx.xxx.xxx]
Thanks for any help
Shane