Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postforward panic runtime error #11

Open
kinchan opened this issue Oct 18, 2022 · 0 comments
Open

postforward panic runtime error #11

kinchan opened this issue Oct 18, 2022 · 0 comments

Comments

@kinchan
Copy link

kinchan commented Oct 18, 2022

Hi, first of all great thank you for project members.

I have trouble, help please.

My setting and error below.

  • postfix main.cf
recipient_canonical_maps = tcp:localhost:10002
recipient_canonical_classes= envelope_recipient,header_recipient
  • postsrsd deamon
postsrsd -D -u mailnull -p /var/run/postsrsd/postsrsd.pid -d mail.example.com -s /usr/local/etc/postsrsd.secret -f 10001 -r 10002 -t 1800
  • /etc/aliases
forwarder: "|/usr/local/bin/postforward [email protected]",\forwarder
  • /var/log/maillog
Oct 18 05:43:56 mail postfix/local[82269]: A992C45B10B: to=<[email protected]>, orig_to=<[email protected]>, relay=local, delay=0.94, delays=0.91/0/0/0.03, dsn=5.3.0, status=bounced (Command died with status 2: "/usr/local/bin/postforward [email protected]". Command output: panic: runtime error: slice bounds out of range [:24] with length 21  goroutine 1 [running]: main.main()  github.com/zoni/postforward/postforward.go:170 +0xa5c )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant