Please do not top post. put your replies after the text you reply to (like I'm doing below).
Roland de Lepper a écrit : > /var/mail is a symlinks to /var/spool/mail. > > Ok, I managed to get the restrictions working so only users from a > specific domain are able to relay. > I specified a file (network_table) with CDIR notation e.g. > 130.146.105.0/24 and specifyed my networks = /etc/postfix/network_table. > > This works only for one machine which have an address of 130.146.105.x. > Sending mails from other machines with the same IP-range > (130.146.105.x), doesn't reach their final destination like gmail. > > The logfile says is it correctly relayed: > > Oct 17 12:10:33 new-presley postfix/smtpd[16570]: disconnect from > bonham[130.146.105.250] > Oct 17 12:10:33 new-presley postfix/smtp[16574]: 6CCDD38969: > to=<[EMAIL PROTECTED]>, relay=smtp.example.com[130.145.139.38]:25, > delay=0.07, delays=0.05/0/0.01/0.01, dsn=2.0.0, status=sent (250 2.0.0 > m9HAAXeh014203 Message accepted for delivery) > Oct 17 12:10:33 new-presley postfix/qmgr[16568]: 6CCDD38969: removed so mail has been successfully delivered to smtp.example.com. if mail is not delivered correctly, then you need to check smtp.example.com. > > It looks like it's working, but mails won't be deliverd to eg gmail, > except for mails sending from one machine. > you are not giving us enough information to help you. It is unclear what path your mail is supposed to take. If this is confidential, you'll be on your own. Don't be surprised if your posts are be ignored.