I want to redirect my system mail to my gmail account, and I've setup postfix on an ubuntu server in an attempt to do so. However, when I telnet to 25 and send emails, the emails just appear to queue, and when I create a .forward entry in my user's home directory, the forwarded email is never received. Now, if I remove the .forward, I do indeed receive the email, which leads me to think something is going awry.
What could be going wrong? I'm new to postfix.
After removing a bad virtual name,
Aug 29 02:02:41 li64-245 postfix/qmgr[20838]: 8F63460458: from=<[email protected]>, size=1977, nrcpt=1 (queue active)
Aug 29 02:02:41 li64-245 postfix/local[20869]: 82C3460323: to=<[email protected]>, relay=local, delay=0.13, delays=0.08/0/0/0.05, dsn=2.0.0, status=sent (forwarded as 8F63460458)
Aug 29 02:02:41 li64-245 postfix/qmgr[20838]: 82C3460323: removed
Aug 29 02:02:42 li64-245 postfix/smtp[20870]: 8F63460458: to=<[email protected]>, orig_to=<[email protected]>, relay=gmail-smtp-in.l.google.com[209.85.212.44]:25, delay=1.4, delays=0.05/0.01/0.11/1.2, dsn=2.0.0, status=sent (250 2.0.0 OK 1251511363 10si2655905vws.3)
Aug 29 02:02:42 li64-245 postfix/qmgr[20838]: 8F63460458: removed
Aug 29 02:03:11 li64-245 postfix/smtpd[20865]: disconnect from mail-gx0-f216.google.com[209.85.217.216]
Yet I receive no emails in personal. What gives? I've set a manual .forward entry for user test.
EDIT: Gmail will not allow the responder to auto-forward back to the sender. Switching email accounts, I was about to receive the forwarded mail.