homepage Welcome to WebmasterWorld Guest from 54.163.91.250
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
Forum Library, Charter, Moderators: bakedjake

Linux, Unix, and *nix like Operating Systems Forum

    
Postfix/Amavis bounces unknown users
Except in telnet
wtkad




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

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




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

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!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Linux, Unix, and *nix like Operating Systems
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved