Results 1 to 2 of 2

Thread: Relay to other smtp server

  1. #1

    Default Relay to other smtp server

    Mkay - so my vps is setup for ''.
    I want to route all smtp from '' to smtp ''.

    I'm running postfix with the following
    smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
    biff = no
    append_dot_mydomain = no
    readme_directory = no
    myhostname =
    alias_maps = hash:/etc/aliases
    alias_database = hash:/etc/aliases
    myorigin = /etc/mailname
    mydestination =
    relayhost =
    mynetworks = [::ffff:]/104 [::1]/128
    mailbox_size_limit = 0
    recipient_delimiter = +
    inet_interfaces = all
    Now, my php script is sending an email to
    postfix/pickup[6695]: 0A3F11C2B8: uid=33 from=<www-data>
    postfix/cleanup[6703]: 0A3F11C2B8: message-id=<>
    postfix/qmgr[6694]: 0A3F11C2B8: from=<>, size=477, nrcpt=1 (queue active)
    postfix/smtp[6705]: 0A3F11C2B8: to=<>,[
    9]:25], delay=4.8, delays=0.15/0.01/0.62/4, dsn=2.0.0, status=sent (250 OK)
    postfix/qmgr[6694]: 0A3F11C2B8: removed

    This makes it look like it's being delivered ok... but it isn't, any ideas?
    Last edited by thinice; 07-09-2009 at 05:04 AM.

  2. #2
    Join Date
    Jun 2008


    Quote Originally Posted by thinice View Post
    This makes it look like it's being delivered ok... but it isn't, any ideas?
    Looks like it is delivered to successfully (status=sent (250 OK)), but you'll have to look in the mail logs on to see what the mailsystem there does with it after receiving it. e.g. forwards it to another system, direct delivery to mailbox (which could forward to another mailbox) and so on.

    check /etc/aliases on for local mail aliases that may be in effect.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts