On Thu, Jul 02, 2015 at 09:08:08AM +0100, Tom Keene wrote: > Hi, > > I'm setting up opensmtp in order to learn about email systems, forward > emails t...@domain1.com to t...@gmail.com account and deliver emails > from b...@domain2.com to a local maildir. I'm starting with a simple > setup so I can understand the syntax and have the following in my > "/etc/smtpd/smtpd.conf". However while emails sent to t...@domain1.com > are recieved correctly, they are saved to the maildir, but not > forwarded to t...@gmail.com (actual email names are changed). Any > ideas? I'm obviously misunderstanding how the config should work! > > Tom > > BTW I'm running arch linux... > > > ## MY NEW CONFIG > listen on eth0 port 25 hostname mail.to > listen on eth0 port 587 hostname mail.domain1.com > table aliases {t...@domain1.com=t...@gmail.com} > accept for local virtual <aliases> deliver to maildir "/home/tom/mails" > accept from any for domain "domain1.com" alias <aliases> deliver to > domain1.com "/home/tom/mails"
^^^ the two lines above make no sense to me. > accept from local for any relay > > -- > You received this mail because you are subscribed to misc@opensmtpd.org > To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org > -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org