This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Howto setup an SMTP server?

Hi,

Can anyone explain howto setup an astaro 7 firewall with an email server (postfix) behind it. 

I want the astaro firewall to receive the email on the email proxy and let it scan for spam, viruses etc. and then forward it towards the internal mail server.

I have an internal network that uses private IP adresses (192.168.x.x).

The firewall itself is connected with an speedtouch adsl modem to the internet using SIP spoofing, but I suppose that's not very relevant since I got the firewall up and running for incoming http(s) trafic forwarded to my internal apache server.

The MX record is pointing at the IP address of my external ethernet network card and defined as mail.mydomain.com

Thanks,

Bo

Solution:
One needs to add a static route to the internal mail server on the ASG DNS proxy. Otherwise the proxy tries to deliver the to itself since the MX record points at the ASG box itself. The other settings are meanhile listed in the thread but the are straight forward and filled in by the installation wizard.


This thread was automatically locked due to age.
Parents
  • Hi Bo,

    did you try to enable SMTP proxy with your e-mail domain and internal mail-server configured on the "global"-page? I think anti-virus is enabled by default.
  • Suppentrulli, I did setup them email proxy following the setup wizzard, but can't get it to work. I am getting a error 550 relay not permitted error as soon as I try to send mail from the outside to it. So I guess I do something wrong, but have no Idea what?

    SveN, could you repost your link since I does not seem to work for me. 
    Thanks!
  • SveN it turns out that the link you provided doesn't seem to work with ie but here at home with my good old firefox browser everything is fine. Something the Astaro guys might want too look after.

    Nevertheless I don't get it why I should be reading a guide related to setting up the secure client software when I want to setup an email proxy and as you might have guessed I already read the astaro manual that comes with the iso image of ASG V7. 

    However it turns out that there is more to know since I followed both the manual and the setup wizard and still I get the error 550 relay not permitted. So that's why I put down my question in a more general way.
  • check that you gave the Astaro permission to relay mail to your email server?
  • Hi BoBoeBoe,
    the first link was ASL manual. I think this link is broken now...

    If you get a relay not permited you probably have your internal server not allowed to relay to you asl....
Reply Children
  • SveN, Hobbycat,

    Up till now I am still using an ASG 4.x firewall with the SMTP proxy enabled as well. This one works fine and since the ip address and everything else is configured identically I see no reason why it should not accept relaying from the ASG 7.002 box when I switch them (the internal mail server is an Gentoo/Postfix server).

    So far I've cofigured my system as follows hopefully anyone sees the mistake I made:

    My ASG Settings



    Management:

    System Settings

    Organizational

    Organisation Name: mydomain.com
    City: MyCity
    Country: MyCountry

    Hostname: 
    Systen DNS Hostname: myFQDNprovidedbymyIPS  (not equal to mydomain name).



    Network:

    Interfaces: 
    External WAN interface: my.ip.add.ress/32; eth1; enabled
    Internal: 192.168.0.100/24; eth0; enabled



    Definitions:

    Networks:

    Internal Mail Server: 192.168.0.15 (Type Host)



    Network Security

    NAT:
    Masquerading rule: Internal (network) -> Interface: External (WAN)

    DNAT/SNAT:
    No rules defined

    Packet Filter:
    Internal (network) -> any (Instant Messaging)
    Internal (network) -> any (Terminal Applications)
    Internal (network) -> any (Email Messaging)
    Internal (network) -> any (Web Surfing))


    Email Security:

    Global
    SMTP Proxy Status: Enabled
    Global SMTP Settings: Mydomain.com
    Internal server: Internal Mail Server
    Transparant Mode: On

    Anti Virus: Default Settings
    Anti Spam: Default Settings
    Exeptions: None

    Relaying:
    Allow authenticated relaying: Off
    Allowed users/groups: None
    Allowed hosts/networks: Internal Network
    Scan relayed (outgoing) messages: On

    Advanced
    Skip transparent mode hosts/nets: None
    Allow SMTP traffic for listed hosts/nets: Off
    Skip TLS negotiation hosts/nets: None
    Use the text below as a footer: Off
    SMTP hostname: mail.mydomain.com
    Postmaster address: postmaster@mydomain.com
    Max message size: 50 Megabytes
    Use a smarthost: Off
    This smarthost requires authentication: Off

    Per-domain Profiles:
    Default Profile: Enabled
    for the rest All Default settings
  • It seems that you need to set up a per domain profile.
    Routed Domains: 
    Route Type: Host
    Target Host(s): 
  • SveN,

    What I forgot to mention is that I followed the installation wizzard. The wizard makes sure that the Global Settings under Email Security are copied to the defaul profile. So all the settings I mentioned under that section are also in the default profile.

    So as it looks to me something else must be the issue.

    Bo
  • Try to switch off the transparent mode...
    and post the smtp.log!
  • Sven,

    Here is my smtp log file for today. If you want I could send you the other archived logfiles as well.

    Thanks,
     
    Bo

    2007:03:16-23:16:15 (none) exim[9433]: 2007-03-16 23:16:15 Start queue run: pid=9433
    2007:03:16-23:16:15 (none) exim[9446]: 2007-03-16 23:16:15 1HRExM-0002NY-Ja == eledtralaeie@rima-tde.net routing defer (-51): retry time not reached
    2007:03:16-23:16:15 (none) exim[9433]: 2007-03-16 23:16:15 End queue run: pid=9433
    2007:03:16-23:16:27 (none) exim[9335]: 2007-03-16 23:16:27 SMTP connection from [209.191.85.27]:36020 (TCP/IP connection count = 1)
    2007:03:16-23:16:27 (none) exim[9453]: 2007-03-16 23:16:27 [pid 9453] [209.191.85.27] F= Untrusted message
    2007:03:16-23:16:27 (none) exim[9453]: 2007-03-16 23:16:27 H=web36610.mail.mud.yahoo.com [209.191.85.27]:36020 F= rejected RCPT : Relay not permitted
    2007:03:16-23:16:28 (none) exim[9453]: 2007-03-16 23:16:28 SMTP connection from web36610.mail.mud.yahoo.com [209.191.85.27]:36020 closed by QUIT
    2007:03:16-23:16:35 (none) exim[9335]: 2007-03-16 23:16:35 SMTP connection from [219.145.156.222]:1185 (TCP/IP connection count = 1)
    2007:03:16-23:16:35 (none) exim[9454]: 2007-03-16 23:16:35 SMTP connection from [219.145.156.222]:1185 lost
    2007:03:16-23:17:15 (none) exim[9520]: 2007-03-16 23:17:15 Start queue run: pid=9520
    2007:03:16-23:17:15 (none) exim[9534]: 2007-03-16 23:17:15 1HRExM-0002NY-Ja == eledtralaeie@rima-tde.net routing defer (-51): retry time not reached
    2007:03:16-23:17:15 (none) exim[9520]: 2007-03-16 23:17:15 End queue run: pid=9520
    2007:03:16-23:18:15 (none) exim[9608]: 2007-03-16 23:18:15 Start queue run: pid=9608
    2007:03:16-23:18:15 (none) exim[9622]: 2007-03-16 23:18:15 1HRExM-0002NY-Ja == eledtralaeie@rima-tde.net routing defer (-51): retry time not reached
    2007:03:16-23:18:15 (none) exim[9608]: 2007-03-16 23:18:15 End queue run: pid=9608
    2007:03:16-23:18:29 (none) exim[9335]: 2007-03-16 23:18:29 SMTP connection from [209.191.85.27]:39072 (TCP/IP connection count = 1)
    2007:03:16-23:18:29 (none) exim[9628]: 2007-03-16 23:18:29 [pid 9628] [209.191.85.27] F= Untrusted message
    2007:03:16-23:18:29 (none) exim[9628]: 2007-03-16 23:18:29 H=web36610.mail.mud.yahoo.com [209.191.85.27]:39072 F= rejected RCPT : Relay not permitted
    2007:03:16-23:18:29 (none) exim[9628]: 2007-03-16 23:18:29 SMTP connection from web36610.mail.mud.yahoo.com [209.191.85.27]:39072 closed by QUIT
    2007:03:16-23:19:15 (none) exim[9685]: 2007-03-16 23:19:15 Start queue run: pid=9685
    2007:03:16-23:19:15 (none) exim[9700]: 2007-03-16 23:19:15 1HRExM-0002NY-Ja == eledtralaeie@rima-tde.net routing defer (-51): retry time not reached
    2007:03:16-23:19:15 (none) exim[9685]: 2007-03-16 23:19:15 End queue run: pid=9685
    2007:03:16-23:19:36 (none) exim[9759]: 2007-03-16 23:19:36 exim 4.63 daemon started: pid=9759, -q1m, listening for SMTP on port 25 (IPv4) port 587 (IPv4) port 9926 (IPv4) and for SMTPS on port 465 (IPv4)
    2007:03:16-23:19:36 (none) exim[9760]: 2007-03-16 23:19:36 Start queue run: pid=9760
    2007:03:16-23:19:36 (none) exim[9778]: 2007-03-16 23:19:36 1HRExM-0002NY-Ja == eledtralaeie@rima-tde.net routing defer (-51): retry time not reached
    2007:03:16-23:19:36 (none) exim[9760]: 2007-03-16 23:19:36 End queue run: pid=9760
    2007:03:16-23:19:43 (none) exim[9920]: 2007-03-16 23:19:43 exim 4.63 daemon started: pid=9920, -q1m, listening for SMTP on port 25 (IPv4) port 587 (IPv4) port 9926 (IPv4) and for SMTPS on port 465 (IPv4)
    2007:03:16-23:19:43 (none) exim[9921]: 2007-03-16 23:19:43 Start queue run: pid=9921
    2007:03:16-23:19:43 (none) exim[9936]: 2007-03-16 23:19:43 1HRExM-0002NY-Ja == eledtralaeie@rima-tde.net routing defer (-51): retry time not reached
    2007:03:16-23:19:43 (none) exim[9921]: 2007-03-16 23:19:43 End queue run: pid=9921
    2007:03:16-23:19:54 (none) exim[10023]: 2007-03-16 23:19:54 exim 4.63 daemon started: pid=10023, -q1m, listening for SMTP on port 25 (IPv4) port 587 (IPv4) port 9926 (IPv4) and for SMTPS on port 465 (IPv4)
    2007:03:16-23:19:54 (none) exim[10024]: 2007-03-16 23:19:54 Start queue run: pid=10024
    2007:03:16-23:19:54 (none) exim[10032]: 2007-03-16 23:19:54 1HRExM-0002NY-Ja == eledtralaeie@rima-tde.net routing defer (-51): retry time not reached
    2007:03:16-23:19:54 (none) exim[10024]: 2007-03-16 23:19:54 End queue run: pid=10024
    2007:03:16-23:19:58 (none) exim[10171]: 2007-03-16 23:19:58 exim 4.63 daemon started: pid=10171, -q1m, listening for SMTP on port 25 (IPv4) port 587 (IPv4) port 9926 (IPv4) and for SMTPS on port 465 (IPv4)
    2007:03:16-23:19:58 (none) exim[10172]: 2007-03-16 23:19:58 Start queue run: pid=10172
    2007:03:16-23:19:58 (none) exim[10179]: 2007-03-16 23:19:58 1HRExM-0002NY-Ja == eledtralaeie@rima-tde.net routing defer (-51): retry time not reached
    2007:03:16-23:19:58 (none) exim[10172]: 2007-03-16 23:19:58 End queue run: pid=10172
    2007:03:16-23:20:58 (none) exim[10313]: 2007-03-16 23:20:58 Start queue run: pid=10313
    2007:03:16-23:20:58 (none) exim[10318]: 2007-03-16 23:20:58 1HRExM-0002NY-Ja == eledtralaeie@rima-tde.net routing defer (-51): retry time not reached
    2007:03:16-23:20:58 (none) exim[10313]: 2007-03-16 23:20:58 End queue run: pid=10313
    2007:03:16-23:21:58 (none) exim[10386]: 2007-03-16 23:21:58 Start queue run: pid=10386
    2007:03:16-23:21:58 (none) exim[10391]: 2007-03-16 23:21:58 1HRExM-0002NY-Ja == eledtralaeie@rima-tde.net routing defer (-51): retry time not reached
    2007:03:16-23:21:58 (none) exim[10386]: 2007-03-16 23:21:58 End queue run: pid=10386
    2007:03:16-23:22:58 (none) exim[10462]: 2007-03-16 23:22:58 Start queue run: pid=10462
    2007:03:16-23:22:58 (none) exim[10468]: 2007-03-16 23:22:58 1HRExM-0002NY-Ja == eledtralaeie@rima-tde.net routing defer (-51): retry time not reached
    2007:03:16-23:22:58 (none) exim[10462]: 2007-03-16 23:22:58 End queue run: pid=10462
    2007:03:16-23:23:58 (none) exim[10547]: 2007-03-16 23:23:58 Start queue run: pid=10547
    2007:03:16-23:23:58 (none) exim[10550]: 2007-03-16 23:23:58 1HRExM-0002NY-Ja == eledtralaeie@rima-tde.net routing defer (-51): retry time not reached
    2007:03:16-23:23:58 (none) exim[10547]: 2007-03-16 23:23:58 End queue run: pid=10547
    2007:03:16-23:24:58 (none) exim[10619]: 2007-03-16 23:24:58 Start queue run: pid=10619
    2007:03:16-23:24:58 (none) exim[10623]: 2007-03-16 23:24:58 1HRExM-0002NY-Ja == eledtralaeie@rima-tde.net routing defer (-51): retry time not reached
    2007:03:16-23:24:58 (none) exim[10619]: 2007-03-16 23:24:58 End queue run: pid=10619
    2007:03:16-23:25:58 (none) exim[10723]: 2007-03-16 23:25:58 Start queue run: pid=10723
    2007:03:16-23:25:58 (none) exim[10727]: 2007-03-16 23:25:58 1HRExM-0002NY-Ja == eledtralaeie@rima-tde.net routing defer (-51): retry time not reached
    2007:03:16-23:25:58 (none) exim[10723]: 2007-03-16 23:25:58 End queue run: pid=10723
    2007:03:16-23:26:58 (none) exim[10797]: 2007-03-16 23:26:58 Start queue run: pid=10797
    2007:03:16-23:26:58 (none) exim[10802]: 2007-03-16 23:26:58 1HRExM-0002NY-Ja == eledtralaeie@rima-tde.net routing defer (-51): retry time not reached
    2007:03:16-23:26:58 (none) exim[10797]: 2007-03-16 23:26:58 End queue run: pid=10797
    2007:03:16-23:27:46 (none) exim[10171]: 2007-03-16 23:27:46 SMTP connection from [209.191.85.27]:23349 (TCP/IP connection count = 1)
    2007:03:16-23:27:46 (none) exim[10870]: 2007-03-16 23:27:46 [pid 10870] [209.191.85.27] F= Untrusted message
    2007:03:16-23:27:46 (none) exim[10870]: 2007-03-16 23:27:46 H=web36610.mail.mud.yahoo.com [209.191.85.27]:23349 F= rejected RCPT : Relay not permitted
    2007:03:16-23:27:46 (none) exim[10870]: 2007-03-16 23:27:46 SMTP connection from web36610.mail.mud.yahoo.com [209.191.85.27]:23349 closed by QUIT
    2007:03:16-23:27:58 (none) exim[10871]: 2007-03-16 23:27:58 Start queue run: pid=10871
    2007:03:16-23:27:58 (none) exim[10875]: 2007-03-16 23:27:58 1HRExM-0002NY-Ja == eledtralaeie@rima-tde.net routing defer (-51): retry time not reached
    2007:03:16-23:27:58 (none) exim[10871]: 2007-03-16 23:27:58 End queue run: pid=10871
  • To exclude that anything went wrong during the installation I reconfigured the ASG 7 box from scratch.

    Here is my initial SMTP engine.log and my SMTP proxy.log it seems that there is some kind of a routing problem. 

    SMTP engine log:
    2007:03:17-20:56:50 (none) exim[4290]: 2007-03-17 20:56:50 exim 4.63 daemon started: pid=4290, -q1m, listening for SMTP on port 25 (IPv4) port 587 (IPv4) port 9926 (IPv4) and for SMTPS on port 465 (IPv4)
    2007:03:17-20:56:50 (none) exim[4291]: 2007-03-17 20:56:50 Start queue run: pid=4291
    2007:03:17-20:56:50 (none) exim[4291]: 2007-03-17 20:56:50 End queue run: pid=4291
    2007:03:17-20:57:50 (none) exim[4981]: 2007-03-17 20:57:50 Start queue run: pid=4981
    2007:03:17-20:57:50 (none) exim[4981]: 2007-03-17 20:57:50 End queue run: pid=4981
    2007:03:17-20:58:50 (none) exim[5038]: 2007-03-17 20:58:50 Start queue run: pid=5038
    2007:03:17-20:58:50 (none) exim[5038]: 2007-03-17 20:58:50 End queue run: pid=5038
    2007:03:17-20:59:50 (none) exim[5441]: 2007-03-17 20:59:50 Start queue run: pid=5441
    2007:03:17-20:59:50 (none) exim[5441]: 2007-03-17 20:59:50 End queue run: pid=5441
    2007:03:17-20:59:54 (none) exim[5563]: 2007-03-17 20:59:54 exim 4.63 daemon started: pid=5563, -q1m, listening for SMTP on port 25 (IPv4) port 587 (IPv4) port 9926 (IPv4) and for SMTPS on port 465 (IPv4)
    2007:03:17-20:59:54 (none) exim[5564]: 2007-03-17 20:59:54 Start queue run: pid=5564
    2007:03:17-20:59:54 (none) exim[5564]: 2007-03-17 20:59:54 End queue run: pid=5564
    2007:03:17-21:00:54 (none) exim[5675]: 2007-03-17 21:00:54 Start queue run: pid=5675
    2007:03:17-21:00:54 (none) exim[5675]: 2007-03-17 21:00:54 End queue run: pid=5675
    2007:03:17-21:01:54 (none) exim[5730]: 2007-03-17 21:01:54 Start queue run: pid=5730
    2007:03:17-21:01:54 (none) exim[5730]: 2007-03-17 21:01:54 End queue run: pid=5730
    2007:03:17-21:02:54 (none) exim[5833]: 2007-03-17 21:02:54 Start queue run: pid=5833
    2007:03:17-21:02:54 (none) exim[5833]: 2007-03-17 21:02:54 End queue run: pid=5833
    2007:03:17-21:03:54 (none) exim[5888]: 2007-03-17 21:03:54 Start queue run: pid=5888
    2007:03:17-21:03:54 (none) exim[5888]: 2007-03-17 21:03:54 End queue run: pid=5888
    2007:03:17-21:04:05 (none) exim[5563]: 2007-03-17 21:04:05 SMTP connection from [127.0.0.1]:50817 (TCP/IP connection count = 1)
    2007:03:17-21:04:05 (none) exim[5912]: 2007-03-17 21:04:05 [pid 5912] [127.0.0.1] F= Trusted (sent from relay or localhost)
    2007:03:17-21:04:05 (none) exim[5912]: 2007-03-17 21:04:05 [pid 5912] [127.0.0.1] F= R= Accepted: from relay
    2007:03:17-21:04:05 (none) exim[5912]: 2007-03-17 21:04:05 1HSf8H-0001XM-31 do-not-reply@fw-notify.net H=(localhost.localdomain) [127.0.0.1]:50817 P=esmtp S=955 id=0874-05553-1174161844@myhostname.com
    2007:03:17-21:04:05 (none) exim[5912]: 2007-03-17 21:04:05 SMTP connection from (localhost.localdomain) [127.0.0.1]:50817 closed by QUIT
    2007:03:17-21:04:05 (none) exim[5923]: 2007-03-17 21:04:05 1HSf8H-0001XM-31 => admin@mydomain.com<>> F= P= R=cff_route T=cff_smtp H=127.0.0.1 [127.0.0.1]:1234
    2007:03:17-21:04:05 (none) exim[5923]: 2007-03-17 21:04:05 1HSf8H-0001XM-31 Completed
    2007:03:17-21:04:07 (none) exim[5948]: 2007-03-17 21:04:07 SMTP connection from MailerDaemon
    2007:03:17-21:04:07 (none) exim[5948]: 2007-03-17 21:04:07 1HSf8J-0001Xw-Sy do-not-reply@fw-notify.net U=MailerDaemon P=local-bsmtp S=1221 id=0874-05553-1174161844@myhostname.com
    2007:03:17-21:04:07 (none) exim[5949]: 2007-03-17 21:04:07 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> R=dnslookup defer (-1): host lookup did not complete
    2007:03:17-21:04:50 (none) exim[6177]: 2007-03-17 21:04:50 exim 4.63 daemon started: pid=6177, -q1m, listening for SMTP on port 25 (IPv4) port 587 (IPv4) port 9926 (IPv4) and for SMTPS on port 465 (IPv4)
    2007:03:17-21:04:50 (none) exim[6178]: 2007-03-17 21:04:50 Start queue run: pid=6178
    2007:03:17-21:04:50 (none) exim[6199]: 2007-03-17 21:04:50 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:04:50 (none) exim[6178]: 2007-03-17 21:04:50 End queue run: pid=6178
    2007:03:17-21:05:50 (none) exim[6966]: 2007-03-17 21:05:50 Start queue run: pid=6966
    2007:03:17-21:05:50 (none) exim[6967]: 2007-03-17 21:05:50 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:05:50 (none) exim[6966]: 2007-03-17 21:05:50 End queue run: pid=6966
    2007:03:17-21:06:50 (none) exim[7027]: 2007-03-17 21:06:50 Start queue run: pid=7027
    2007:03:17-21:06:50 (none) exim[7028]: 2007-03-17 21:06:50 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:06:50 (none) exim[7027]: 2007-03-17 21:06:50 End queue run: pid=7027
    2007:03:17-21:07:50 (none) exim[7088]: 2007-03-17 21:07:50 Start queue run: pid=7088
    2007:03:17-21:07:50 (none) exim[7089]: 2007-03-17 21:07:50 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:07:50 (none) exim[7088]: 2007-03-17 21:07:50 End queue run: pid=7088
    2007:03:17-21:08:50 (none) exim[7356]: 2007-03-17 21:08:50 Start queue run: pid=7356
    2007:03:17-21:08:50 (none) exim[7357]: 2007-03-17 21:08:50 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:08:50 (none) exim[7356]: 2007-03-17 21:08:50 End queue run: pid=7356
    2007:03:17-21:12:55 (none) exim[4261]: 2007-03-17 21:12:55 exim 4.63 daemon started: pid=4261, -q1m, listening for SMTP on port 25 (IPv4) port 587 (IPv4) port 9926 (IPv4) and for SMTPS on port 465 (IPv4)
    2007:03:17-21:12:55 (none) exim[4262]: 2007-03-17 21:12:55 Start queue run: pid=4262
    2007:03:17-21:12:55 (none) exim[4266]: 2007-03-17 21:12:55 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:12:55 (none) exim[4262]: 2007-03-17 21:12:55 End queue run: pid=4262
    2007:03:17-21:13:12 (none) exim[4864]: 2007-03-17 21:13:12 exim 4.63 daemon started: pid=4864, -q1m, listening for SMTP on port 25 (IPv4) port 587 (IPv4) port 9926 (IPv4) and for SMTPS on port 465 (IPv4)
    2007:03:17-21:13:12 (none) exim[4865]: 2007-03-17 21:13:12 Start queue run: pid=4865
    2007:03:17-21:13:12 (none) exim[4866]: 2007-03-17 21:13:12 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:13:12 (none) exim[4865]: 2007-03-17 21:13:12 End queue run: pid=4865
    2007:03:17-21:13:12 (none) exim[4864]: 2007-03-17 21:13:12 SMTP connection from [127.0.0.1]:38375 (TCP/IP connection count = 1)
    2007:03:17-21:13:13 (none) exim[4967]: 2007-03-17 21:13:13 [pid 4967] [127.0.0.1] F= Trusted (sent from relay or localhost)
    2007:03:17-21:13:13 (none) exim[4967]: 2007-03-17 21:13:13 [pid 4967] [127.0.0.1] F= R= Accepted: from relay
    2007:03:17-21:13:13 (none) exim[4967]: 2007-03-17 21:13:13 1HSfH7-0001I7-4N do-not-reply@fw-notify.net H=(localhost.localdomain) [127.0.0.1]:38375 P=esmtp S=912 id=2997-04653-1174162392@myhostname.com
    2007:03:17-21:13:13 (none) exim[4984]: 2007-03-17 21:13:13 1HSfH7-0001I7-4N 127.0.0.1 [127.0.0.1]:1234 Connection refused
    2007:03:17-21:13:13 (none) exim[4967]: 2007-03-17 21:13:13 SMTP connection from (localhost.localdomain) [127.0.0.1]:38375 closed by QUIT
    2007:03:17-21:13:14 (none) exim[4983]: 2007-03-17 21:13:14 1HSfH7-0001I7-4N == admin@mydomain.com<>> R=cff_route T=cff_smtp defer (111): Connection refused
    2007:03:17-21:14:13 (none) exim[5442]: 2007-03-17 21:14:13 Start queue run: pid=5442
    2007:03:17-21:14:13 (none) exim[5443]: 2007-03-17 21:14:13 1HSf8J-0001Xw-Sy lowest numbered MX record points to local host: bliek.org
    2007:03:17-21:14:13 (none) exim[5443]: 2007-03-17 21:14:13 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> R=dnslookup defer (-1): lowest numbered MX record points to local host
    2007:03:17-21:14:13 (none) exim[5443]: 2007-03-17 21:14:13 1HSf8J-0001Xw-Sy Frozen
    2007:03:17-21:14:13 (none) exim[5444]: 2007-03-17 21:14:13 1HSfH7-0001I7-4N == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:14:13 (none) exim[5442]: 2007-03-17 21:14:13 End queue run: pid=5442
    2007:03:17-21:15:13 (none) exim[5547]: 2007-03-17 21:15:13 Start queue run: pid=5547
    2007:03:17-21:15:13 (none) exim[5549]: 2007-03-17 21:15:13 1HSfH7-0001I7-4N == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:15:13 (none) exim[5547]: 2007-03-17 21:15:13 End queue run: pid=5547
    2007:03:17-21:15:40 (none) exim[4864]: 2007-03-17 21:15:40 SMTP connection from [206.190.37.25]:23140 (TCP/IP connection count = 1)
    2007:03:17-21:15:40 (none) exim[5576]: 2007-03-17 21:15:40 [pid 5576] [206.190.37.25] F= Untrusted message
    2007:03:17-21:15:40 (none) exim[5576]: 2007-03-17 21:15:40 H=web53704.mail.yahoo.com [206.190.37.25]:23140 F= rejected RCPT : Relay not permitted
    2007:03:17-21:15:40 (none) exim[5576]: 2007-03-17 21:15:40 SMTP connection from web53704.mail.yahoo.com [206.190.37.25]:23140 closed by QUIT
    2007:03:17-21:16:13 (none) exim[5603]: 2007-03-17 21:16:13 Start queue run: pid=5603
    2007:03:17-21:16:13 (none) exim[5605]: 2007-03-17 21:16:13 1HSfH7-0001I7-4N == admin@mydomain.com<>> routing defer (-51): retry time not reached
  • SMTP proxy.log:

    2007:03:17-21:04:07 (none) cffd[5585]: id="101Q" severity="info" sys="SecureMail" sub="smtp" name="email scanned, clean" srcip="127.0.0.1" from="do-not-reply@fw-notify.net" to="admin@mydomain.com" subject="[myhostname.com][CRIT-310] Up2Date prefetch failed" messageid="1" size="1018" action="pass" 
    2007:03:17-21:04:08 (none) cffd[5585]: id="1004" severity="info" sys="SecureMail" sub="smtp" name="email delivered" srcip="127.0.0.1" from="do-not-reply@fw-notify.net" dstip="127.0.0.1" to="admin@mydomain.com" subject="[myhostname.com][CRIT-310] Up2Date prefetch failed" messageid="1" size="1101" encrypted="0" 
    2007:03:17-21:08:50 (none) cffd[6376]: id="1003" severity="error" sys="SecureMail" sub="smtp" name="DeliveryThread error" info="Error while releasing a message" messageid="0" error="MySql connection failed" 
    2007:03:17-21:08:51 (none) cffd[6376]: id="1003" severity="error" sys="SecureMail" sub="smtp" name="DeliveryThread error" info="Error while releasing a message" messageid="0" error="MySql connection failed" 
    2007:03:17-21:08:52 (none) cffd[6376]: id="1003" severity="error" sys="SecureMail" sub="smtp" name="DeliveryThread error" info="Error while releasing a message" messageid="0" error="MySql connection failed" 
    2007:03:17-21:08:53 (none) cffd[6376]: id="1003" severity="error" sys="SecureMail" sub="smtp" name="DeliveryThread error" info="Error while releasing a message" messageid="0" error="MySql connection failed" 
    2007:03:17-21:18:49 (none) cffd[4995]: id="101Q" severity="info" sys="SecureMail" sub="smtp" name="email scanned, clean" srcip="127.0.0.1" from="do-not-reply@fw-notify.net" to="admin@mydomain.com" subject="[myhostname.com][INFO-301] New Firmware Up2Date is ready for installation" messageid="2" size="4991" action="pass" 
    2007:03:17-21:18:49 (none) cffd[4995]: id="1004" severity="info" sys="SecureMail" sub="smtp" name="email delivered" srcip="127.0.0.1" from="do-not-reply@fw-notify.net" dstip="127.0.0.1" to="admin@mydomain.com" subject="[myhostname.com][INFO-301] New Firmware Up2Date is ready for installation" messageid="2" size="5074" encrypted="0" 
    2007:03:17-21:24:00 (none) cffd[4995]: id="101Q" severity="info" sys="SecureMail" sub="smtp" name="email scanned, clean" srcip="127.0.0.1" from="do-not-reply@fw-notify.net" to="admin@mydomain.com" subject="[myhostname.com][WARN-005] Failed login" messageid="3" size="1019" action="pass" 
    2007:03:17-21:24:01 (none) cffd[4995]: id="1004" severity="info" sys="SecureMail" sub="smtp" name="email delivered" srcip="127.0.0.1" from="do-not-reply@fw-notify.net" dstip="127.0.0.1" to="admin@mydomain.com" subject="[myhostname.com][WARN-005] Failed login" messageid="3" size="1102" encrypted="0"
  • It seems that there is some routing issue. To ensure nothing ent wrong during the installation, I reinstalled ASG 7.

    Here is my initial SMTP engine.log

    2007:03:17-20:56:50 (none) exim[4290]: 2007-03-17 20:56:50 exim 4.63 daemon started: pid=4290, -q1m, listening for SMTP on port 25 (IPv4) port 587 (IPv4) port 9926 (IPv4) and for SMTPS on port 465 (IPv4)
    2007:03:17-20:56:50 (none) exim[4291]: 2007-03-17 20:56:50 Start queue run: pid=4291
    2007:03:17-20:56:50 (none) exim[4291]: 2007-03-17 20:56:50 End queue run: pid=4291
    2007:03:17-20:57:50 (none) exim[4981]: 2007-03-17 20:57:50 Start queue run: pid=4981
    2007:03:17-20:57:50 (none) exim[4981]: 2007-03-17 20:57:50 End queue run: pid=4981
    2007:03:17-20:58:50 (none) exim[5038]: 2007-03-17 20:58:50 Start queue run: pid=5038
    2007:03:17-20:58:50 (none) exim[5038]: 2007-03-17 20:58:50 End queue run: pid=5038
    2007:03:17-20:59:50 (none) exim[5441]: 2007-03-17 20:59:50 Start queue run: pid=5441
    2007:03:17-20:59:50 (none) exim[5441]: 2007-03-17 20:59:50 End queue run: pid=5441
    2007:03:17-20:59:54 (none) exim[5563]: 2007-03-17 20:59:54 exim 4.63 daemon started: pid=5563, -q1m, listening for SMTP on port 25 (IPv4) port 587 (IPv4) port 9926 (IPv4) and for SMTPS on port 465 (IPv4)
    2007:03:17-20:59:54 (none) exim[5564]: 2007-03-17 20:59:54 Start queue run: pid=5564
    2007:03:17-20:59:54 (none) exim[5564]: 2007-03-17 20:59:54 End queue run: pid=5564
    2007:03:17-21:00:54 (none) exim[5675]: 2007-03-17 21:00:54 Start queue run: pid=5675
    2007:03:17-21:00:54 (none) exim[5675]: 2007-03-17 21:00:54 End queue run: pid=5675
    2007:03:17-21:01:54 (none) exim[5730]: 2007-03-17 21:01:54 Start queue run: pid=5730
    2007:03:17-21:01:54 (none) exim[5730]: 2007-03-17 21:01:54 End queue run: pid=5730
    2007:03:17-21:02:54 (none) exim[5833]: 2007-03-17 21:02:54 Start queue run: pid=5833
    2007:03:17-21:02:54 (none) exim[5833]: 2007-03-17 21:02:54 End queue run: pid=5833
    2007:03:17-21:03:54 (none) exim[5888]: 2007-03-17 21:03:54 Start queue run: pid=5888
    2007:03:17-21:03:54 (none) exim[5888]: 2007-03-17 21:03:54 End queue run: pid=5888
    2007:03:17-21:04:05 (none) exim[5563]: 2007-03-17 21:04:05 SMTP connection from [127.0.0.1]:50817 (TCP/IP connection count = 1)
    2007:03:17-21:04:05 (none) exim[5912]: 2007-03-17 21:04:05 [pid 5912] [127.0.0.1] F= Trusted (sent from relay or localhost)
    2007:03:17-21:04:05 (none) exim[5912]: 2007-03-17 21:04:05 [pid 5912] [127.0.0.1] F= R= Accepted: from relay
    2007:03:17-21:04:05 (none) exim[5912]: 2007-03-17 21:04:05 1HSf8H-0001XM-31 do-not-reply@fw-notify.net H=(localhost.localdomain) [127.0.0.1]:50817 P=esmtp S=955 id=0874-05553-1174161844@myhostname.com
    2007:03:17-21:04:05 (none) exim[5912]: 2007-03-17 21:04:05 SMTP connection from (localhost.localdomain) [127.0.0.1]:50817 closed by QUIT
    2007:03:17-21:04:05 (none) exim[5923]: 2007-03-17 21:04:05 1HSf8H-0001XM-31 => admin@mydomain.com<>> F= P= R=cff_route T=cff_smtp H=127.0.0.1 [127.0.0.1]:1234
    2007:03:17-21:04:05 (none) exim[5923]: 2007-03-17 21:04:05 1HSf8H-0001XM-31 Completed
    2007:03:17-21:04:07 (none) exim[5948]: 2007-03-17 21:04:07 SMTP connection from MailerDaemon
    2007:03:17-21:04:07 (none) exim[5948]: 2007-03-17 21:04:07 1HSf8J-0001Xw-Sy do-not-reply@fw-notify.net U=MailerDaemon P=local-bsmtp S=1221 id=0874-05553-1174161844@myhostname.com
    2007:03:17-21:04:07 (none) exim[5949]: 2007-03-17 21:04:07 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> R=dnslookup defer (-1): host lookup did not complete
    2007:03:17-21:04:50 (none) exim[6177]: 2007-03-17 21:04:50 exim 4.63 daemon started: pid=6177, -q1m, listening for SMTP on port 25 (IPv4) port 587 (IPv4) port 9926 (IPv4) and for SMTPS on port 465 (IPv4)
    2007:03:17-21:04:50 (none) exim[6178]: 2007-03-17 21:04:50 Start queue run: pid=6178
    2007:03:17-21:04:50 (none) exim[6199]: 2007-03-17 21:04:50 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:04:50 (none) exim[6178]: 2007-03-17 21:04:50 End queue run: pid=6178
    2007:03:17-21:05:50 (none) exim[6966]: 2007-03-17 21:05:50 Start queue run: pid=6966
    2007:03:17-21:05:50 (none) exim[6967]: 2007-03-17 21:05:50 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:05:50 (none) exim[6966]: 2007-03-17 21:05:50 End queue run: pid=6966
    2007:03:17-21:06:50 (none) exim[7027]: 2007-03-17 21:06:50 Start queue run: pid=7027
    2007:03:17-21:06:50 (none) exim[7028]: 2007-03-17 21:06:50 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:06:50 (none) exim[7027]: 2007-03-17 21:06:50 End queue run: pid=7027
    2007:03:17-21:07:50 (none) exim[7088]: 2007-03-17 21:07:50 Start queue run: pid=7088
    2007:03:17-21:07:50 (none) exim[7089]: 2007-03-17 21:07:50 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:07:50 (none) exim[7088]: 2007-03-17 21:07:50 End queue run: pid=7088
    2007:03:17-21:08:50 (none) exim[7356]: 2007-03-17 21:08:50 Start queue run: pid=7356
    2007:03:17-21:08:50 (none) exim[7357]: 2007-03-17 21:08:50 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:08:50 (none) exim[7356]: 2007-03-17 21:08:50 End queue run: pid=7356
    2007:03:17-21:12:55 (none) exim[4261]: 2007-03-17 21:12:55 exim 4.63 daemon started: pid=4261, -q1m, listening for SMTP on port 25 (IPv4) port 587 (IPv4) port 9926 (IPv4) and for SMTPS on port 465 (IPv4)
    2007:03:17-21:12:55 (none) exim[4262]: 2007-03-17 21:12:55 Start queue run: pid=4262
    2007:03:17-21:12:55 (none) exim[4266]: 2007-03-17 21:12:55 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:12:55 (none) exim[4262]: 2007-03-17 21:12:55 End queue run: pid=4262
    2007:03:17-21:13:12 (none) exim[4864]: 2007-03-17 21:13:12 exim 4.63 daemon started: pid=4864, -q1m, listening for SMTP on port 25 (IPv4) port 587 (IPv4) port 9926 (IPv4) and for SMTPS on port 465 (IPv4)
    2007:03:17-21:13:12 (none) exim[4865]: 2007-03-17 21:13:12 Start queue run: pid=4865
    2007:03:17-21:13:12 (none) exim[4866]: 2007-03-17 21:13:12 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:13:12 (none) exim[4865]: 2007-03-17 21:13:12 End queue run: pid=4865
    2007:03:17-21:13:12 (none) exim[4864]: 2007-03-17 21:13:12 SMTP connection from [127.0.0.1]:38375 (TCP/IP connection count = 1)
    2007:03:17-21:13:13 (none) exim[4967]: 2007-03-17 21:13:13 [pid 4967] [127.0.0.1] F= Trusted (sent from relay or localhost)
    2007:03:17-21:13:13 (none) exim[4967]: 2007-03-17 21:13:13 [pid 4967] [127.0.0.1] F= R= Accepted: from relay
    2007:03:17-21:13:13 (none) exim[4967]: 2007-03-17 21:13:13 1HSfH7-0001I7-4N do-not-reply@fw-notify.net H=(localhost.localdomain) [127.0.0.1]:38375 P=esmtp S=912 id=2997-04653-1174162392@myhostname.com
    2007:03:17-21:13:13 (none) exim[4984]: 2007-03-17 21:13:13 1HSfH7-0001I7-4N 127.0.0.1 [127.0.0.1]:1234 Connection refused
    2007:03:17-21:13:13 (none) exim[4967]: 2007-03-17 21:13:13 SMTP connection from (localhost.localdomain) [127.0.0.1]:38375 closed by QUIT
    2007:03:17-21:13:14 (none) exim[4983]: 2007-03-17 21:13:14 1HSfH7-0001I7-4N == admin@mydomain.com<>> R=cff_route T=cff_smtp defer (111): Connection refused
    2007:03:17-21:14:13 (none) exim[5442]: 2007-03-17 21:14:13 Start queue run: pid=5442
    2007:03:17-21:14:13 (none) exim[5443]: 2007-03-17 21:14:13 1HSf8J-0001Xw-Sy lowest numbered MX record points to local host: bliek.org
    2007:03:17-21:14:13 (none) exim[5443]: 2007-03-17 21:14:13 1HSf8J-0001Xw-Sy == admin@mydomain.com<>> R=dnslookup defer (-1): lowest numbered MX record points to local host
    2007:03:17-21:14:13 (none) exim[5443]: 2007-03-17 21:14:13 1HSf8J-0001Xw-Sy Frozen
    2007:03:17-21:14:13 (none) exim[5444]: 2007-03-17 21:14:13 1HSfH7-0001I7-4N == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:14:13 (none) exim[5442]: 2007-03-17 21:14:13 End queue run: pid=5442
    2007:03:17-21:15:13 (none) exim[5547]: 2007-03-17 21:15:13 Start queue run: pid=5547
    2007:03:17-21:15:13 (none) exim[5549]: 2007-03-17 21:15:13 1HSfH7-0001I7-4N == admin@mydomain.com<>> routing defer (-51): retry time not reached
    2007:03:17-21:15:13 (none) exim[5547]: 2007-03-17 21:15:13 End queue run: pid=5547
    2007:03:17-21:15:40 (none) exim[4864]: 2007-03-17 21:15:40 SMTP connection from [206.190.37.25]:23140 (TCP/IP connection count = 1)
    2007:03:17-21:15:40 (none) exim[5576]: 2007-03-17 21:15:40 [pid 5576] [206.190.37.25] F= Untrusted message
    2007:03:17-21:15:40 (none) exim[5576]: 2007-03-17 21:15:40 H=web53704.mail.yahoo.com [206.190.37.25]:23140 F= rejected RCPT : Relay not permitted
    2007:03:17-21:15:40 (none) exim[5576]: 2007-03-17 21:15:40 SMTP connection from web53704.mail.yahoo.com [206.190.37.25]:23140 closed by QUIT
    2007:03:17-21:16:13 (none) exim[5603]: 2007-03-17 21:16:13 Start queue run: pid=5603
  • Here is my SMTP proxy.log

    2007:03:17-21:04:07 (none) cffd[5585]: id="101Q" severity="info" sys="SecureMail" sub="smtp" name="email scanned, clean" srcip="127.0.0.1" from="do-not-reply@fw-notify.net" to="admin@mydomain.com" subject="[myhostname.com][CRIT-310] Up2Date prefetch failed" messageid="1" size="1018" action="pass" 
    2007:03:17-21:04:08 (none) cffd[5585]: id="1004" severity="info" sys="SecureMail" sub="smtp" name="email delivered" srcip="127.0.0.1" from="do-not-reply@fw-notify.net" dstip="127.0.0.1" to="admin@mydomain.com" subject="[myhostname.com][CRIT-310] Up2Date prefetch failed" messageid="1" size="1101" encrypted="0" 
    2007:03:17-21:08:50 (none) cffd[6376]: id="1003" severity="error" sys="SecureMail" sub="smtp" name="DeliveryThread error" info="Error while releasing a message" messageid="0" error="MySql connection failed" 
    2007:03:17-21:08:51 (none) cffd[6376]: id="1003" severity="error" sys="SecureMail" sub="smtp" name="DeliveryThread error" info="Error while releasing a message" messageid="0" error="MySql connection failed" 
    2007:03:17-21:08:52 (none) cffd[6376]: id="1003" severity="error" sys="SecureMail" sub="smtp" name="DeliveryThread error" info="Error while releasing a message" messageid="0" error="MySql connection failed" 
    2007:03:17-21:08:53 (none) cffd[6376]: id="1003" severity="error" sys="SecureMail" sub="smtp" name="DeliveryThread error" info="Error while releasing a message" messageid="0" error="MySql connection failed" 
    2007:03:17-21:18:49 (none) cffd[4995]: id="101Q" severity="info" sys="SecureMail" sub="smtp" name="email scanned, clean" srcip="127.0.0.1" from="do-not-reply@fw-notify.net" to="admin@mydomain.com" subject="[myhostname.com][INFO-301] New Firmware Up2Date is ready for installation" messageid="2" size="4991" action="pass" 
    2007:03:17-21:18:49 (none) cffd[4995]: id="1004" severity="info" sys="SecureMail" sub="smtp" name="email delivered" srcip="127.0.0.1" from="do-not-reply@fw-notify.net" dstip="127.0.0.1" to="admin@mydomain.com" subject="[myhostname.com][INFO-301] New Firmware Up2Date is ready for installation" messageid="2" size="5074" encrypted="0" 
    2007:03:17-21:24:00 (none) cffd[4995]: id="101Q" severity="info" sys="SecureMail" sub="smtp" name="email scanned, clean" srcip="127.0.0.1" from="do-not-reply@fw-notify.net" to="admin@mydomain.com" subject="[myhostname.com][WARN-005] Failed login" messageid="3" size="1019" action="pass" 
    2007:03:17-21:24:01 (none) cffd[4995]: id="1004" severity="info" sys="SecureMail" sub="smtp" name="email delivered" srcip="127.0.0.1" from="do-not-reply@fw-notify.net" dstip="127.0.0.1" to="admin@mydomain.com" subject="[myhostname.com][WARN-005] Failed login" messageid="3" size="1102" encrypted="0"
  • This is the result when I dig my mail.mydomain.com

    ; <>> DiG 9.3.4 <>> mail.maydomain.com
    ;; global options:  printcmd
    ;; Got answer:
    ;; ->>HEADER