Trying to set Postfix up as a mail forwarding server. Here's the relevant (I think) bits of my config;
inet_interfaces = 18.104.22.168 [...] mydestination = sams-blog.net [...] virtual_alias_maps = hash:/var/urlatron/mail/maptest virtual_alias_domains = hash:/var/urlatron/mail/domains
When sending an email to 'firstname.lastname@example.org' using GMail (A seperate account from the one I'm trying to send to), I get absolutely nothing back, not even a failure. From the looks of it, GMail thinks the message has been delivered successfully. Using https://www.wormly.com/test_smtp_server I get the following
Resolving hostname... Connecting... SMTP -> FROM SERVER: 220 oncilla.customermail.urlatron.com URLATRON Inc. Mail Forwarding Server, abuse requests should be sent to email@example.com or phone +1 415 625 0043, URLATRON Inc. takes no responsibility for the contents of messages sent by this server. SMTP -> FROM SERVER: 250-oncilla.customermail.urlatron.com 250-PIPELINING 250-SIZE 10240000 250-VRFY 250-ETRN 250-ENHANCEDSTATUSCODES 250-8BITMIME 250 DSN MAIL FROM: firstname.lastname@example.org SMTP -> FROM SERVER: SMTP -> ERROR: MAIL not accepted from server: RCPT TO: email@example.com SMTP -> FROM SERVER: SMTP -> ERROR: RCPT not accepted from server: Message sending failed.
I don't have a /var/log/mail.log (Which is apparently where PostFix does it's debugging, but apparently not). I do have /var/log/maillog but that's empty.
How do I go about debugging this? Is there anything blazingly obvious I've missed out? The eventual aim is to get PostFix to use MySQL as a source for it's aliases but I figured I'd try and get it working with a flat hash file to start.
My full main.cf file is here, incase I missed anything important out