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 [email protected] to [email protected] account and deliver emails > from [email protected] 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 [email protected] > are recieved correctly, they are saved to the maildir, but not > forwarded to [email protected] (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 {[email protected][email protected]} > 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 [email protected] > To unsubscribe, send a mail to: [email protected] > -- You received this mail because you are subscribed to [email protected] To unsubscribe, send a mail to: [email protected]
