Welcome to WebmasterWorld Guest from 54.146.248.111

Forum Moderators: bakedjake

Message Too Old, No Replies

Postfix/Amavis bounces unknown users

Except in telnet

     

wtkad

3:31 pm on Oct 2, 2007 (gmt 0)

5+ Year Member



I followed an online tutorial on setting up a local mail server with Postfix/Amavis on Ubuntu. It's finally working at least, but mail to non-existant users is bouncing.

On our "real" (managed by professionals) server, writing to fake@example.com from Outlook returns an immediate Undeliverable notice, not a bounce message. A PHP script that mails to fake@example.com does not generate a bounce. This is good.

On the local server, writing from Outlook gets a bounce back from MAILER-DAEMON, and so does mailing from the PHP script. This is bad.

If I connect to Postfix by telnet, I get a 550 Reject after RCPT TO: <fake@example.com>. Connecting directly to Amavis on port 10024 does not give a rejection, but all incoming mail goes through port 25, right? (It's the only port open on the firewall, after all.) How do I get rid of the bounces?

I will be happy to provide any additional info, but I'm not sure where to start. Users/Aliases are stored in MySQL.

wtkad

5:21 pm on Oct 2, 2007 (gmt 0)

5+ Year Member



Sorry - after lots of searching, playing with settings, and finally trying from a 3rd server, it looks like the "bounces" are currently being generated by the outgoing server, not the local one. It seems to just handle the domains it owns either quicker or differently, causing it to look like a bounce for domains it doesn't own.

I still have a lot to learn!

 

Featured Threads

Hot Threads This Week

Hot Threads This Month