postfix not mail from other hosts

Questions related to the Postfix mail server
Post Reply
mister_v
Posts: 188
Joined: Thu Mar 04, 2010 9:19 pm

postfix not mail from other hosts

Post by mister_v »

my mail server is not accepting from other server on the same network.
But i did set it to subnet in main.cf

Code: Select all

mynetworks_style = subnet
anyone has any ideas ?
chris
Site Admin
Posts: 194
Joined: Mon Jul 21, 2008 9:52 am

Re: postfix not mail from other hosts

Post by chris »

are you sending to a user on the server.
Do a test from the client:

Code: Select all

sendmail user@host
and check the logs on the client and on the server.
mister_v
Posts: 188
Joined: Thu Mar 04, 2010 9:19 pm

Re: postfix not mail from other hosts

Post by mister_v »

The mail leaves the client to the server,
but it is not delivered.
chris
Site Admin
Posts: 194
Joined: Mon Jul 21, 2008 9:52 am

Re: postfix not mail from other hosts

Post by chris »

Are you sure you are sending it to the right account?

sometimes you need to also add the domain name (even if it is not a public domain).

Code: Select all

sendmail user@host.domain.com
mister_v
Posts: 188
Joined: Thu Mar 04, 2010 9:19 pm

Re: postfix not mail from other hosts

Post by mister_v »

thanks, that was indeed the problem.
When I add the domain name,
the mail is delivered.

I thought that before, the hostname was enough?
Post Reply