Re: Postfix just for sending mail, forwarding to another MTA



In article <6ahlm2pc65uefp8r4spbj5pbehetn2o6ov@xxxxxxx>, Frank Schmitz <AXHLTVXKGKBF@xxxxxxxxxxxxx> wrote:
Hello!

My postfix Installation refuses to send mails to adresses outside of
my network:

reject: RCPT from localhost[127.0.0.1]: 554 <USERNAME@xxxxxx>:
Recipient address rejected: Relay access denied;
from=<root@xxxxxxxxxxxxxxxxxxxx> to=<USERNAME@xxxxxx>

Mails to local users are send correctly.

The only thing postfix should do is to forward all messages to another
MTA.

Can anyone help me with this?

postconf -n :

$ postconf transport_maps

Should be set to something. To find out how to configure it:

$ man 5 postconf
/^transport_maps

(and then read the body text. It has examples, too.)

For more configuration details of transport map including examples:

$ man transport

I think you'll also need to process the transport table that you create
with 'postmap', too, but I don't remember.

Also to fix the relaying rejection, read information at:

$ man 5 access

(On some UNIX OSes, you might need 'man -s5' instead of 'man 5'.)

And don't forget to do:

# postfix reload

when you're done making your changes then test and examine the logfiles.

If you're stuck, you can also ask in comp.mail.misc or ask on the
postfix-users mailing list. Subscription information is at:

http://www.postfix.org/lists.html

This might also be of help, for German/Deutsch-speaking people:

http://listi.jpberlin.de/mailman/listinfo/postfixbuch-users

-Dan
.



Relevant Pages

  • Re: [SLE] Seeking help with mail-server setup
    ... > fetchmail brought and feeds it to IMAP, ... > postfix can see it... ... Postfix uses his configuration to see, if the mails belong to a local ... Then postfix delivers the mails to Cyrus. ...
    (SuSE)
  • postfix dying while sending mails to outside world on FC3
    ... I don't know what happened the postfix has stopped sending mails to ... .The postfix is able to send the mails within the Lan but not to the ... cleanup unix n - n - 0 cleanup ... old-cyrus unix - n n - - pipe ...
    (Fedora)
  • Re: [SLE] SMTP authentication
    ... So eventhough my local SMTP server dials up to the internet with a certain username and password, that same username and password would not be used as authentication between my local SMTP server and the ISP's one, should it be used as a relay? ... either defer all outgoing mails until you connect to the internet, then flush out all the mails in the queue. ... Postfix should not accept mails directly from the internet in that case. ... The test does NOT say "All clients must be in mynetworks, ...
    (SuSE)
  • Re: [SLE] Mail routing suggestion?
    ... Could you tell just what kind of software you use on your mac? ... Does Postfix ... The transport tells postfix where it should deliver mails it receives. ...
    (SuSE)
  • Re: Postfix issue
    ... Could anyone tell me what entry I should make in postfix configuration ... currently rejecting mails from servers on a dynamic ip address - so I ... They do not have the right to access private server systems unless ... primarily residential they will not even allow fixed IPs at any price. ...
    (freebsd-questions)