• We should now be fully online following an overnight outage. Apologies for any inconvenience, we do not expect there to be any further issues.

Email on VPS using CentOS 5.4 only works if sent and received within same domain?!?

Crusty

Lifer
Sep 30, 2001
12,684
2
81
Check your /var/log/mail.{log,warn,err} to figure out what's going on. How is mail setup on the box? Are you using an external relay server or a local SMTP server?
 

dalearyous

Senior member
Jan 8, 2006
836
0
0
this is probably caused by the fact that i changed what port emails are used on the master.cf in postfix folder, it reads as follows:

# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
#smtp inet n - n - - smtpd -o content_filter=spamassassin
587 inet n - n - - smtpd

i commented out the first line because i wanted to use port 587 instead because verizon blocks port 25 and i need this email to work in outlook. when i did this email started working but only locally. not sure what to do

if i put the file back to its original, email starts working again like normal, but only in webmail
 
Last edited:

dalearyous

Senior member
Jan 8, 2006
836
0
0
ok so this works:

but i have no idea why?

# ==========================================================================
# service type private unpriv chroot wakeup maxproc command + args
# (yes) (yes) (yes) (never) (100)
# ==========================================================================
smtp inet n - n - - smtpd -o content_filter=spamassassin
submission inet n - n - - smtpd
-o smtpd_sasl_auth_enable=yes
-o smtpd_client_restrictions=permit_sasl_authenticated,reject