OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
RE: Migrating to postfix

From: Jason Staudenmayer (jasonsadventureaquarium.com)
Date: Tue Oct 28 2014 - 14:21:54 CDT


Ok I found why it's dumping fax email to root, /etc/aliases had a default entry for fax:
Still not taking addresses in the format fax-(phonenumber)

-----Original Message-----
From: owner-postfix-userspostfix.org [mailto:owner-postfix-userspostfix.org] On Behalf Of Jason Staudenmayer
Sent: Tuesday, October 28, 2014 2:51 PM
To: Wietse Venema
Cc: postfix-userspostfix.org
Subject: RE: Migrating to postfix

Typo, I fixed that and tried again.

Oct 28 14:47:19 localhost postfix/qmgr[24359]: 3ECA6236C8: from=<>, size=2267, nrcpt=1 (queue active) Oct 28 14:47:19 localhost postfix/smtp[24361]: connect to cust12182-1.in.mailcontrol.com[208.87.233.190]:25: Connection refused Oct 28 14:47:19 localhost postfix/smtp[24361]: connect to cust12182-2.in.mailcontrol.com[208.87.234.190]:25: Connection refused Oct 28 14:47:19 localhost postfix/smtp[24361]: 3ECA6236C8: to=<jasonsadventureaquarium.com>, relay=none, delay=1947, delays=1946/0.12/0.11/0, dsn=4.4.1, status=deferred (connect to cust12182-2.in.mailcontrol.com[208.87.234.190]:25: Connection refused) Oct 28 14:47:30 localhost postfix/smtpd[24364]: connect from it5.aaq.hfecorp.local[10.252.0.137]
Oct 28 14:47:59 localhost postfix/smtpd[24364]: 8A330231BD: client=it5.aaq.hfecorp.local[10.252.0.137]
Oct 28 14:48:11 localhost postfix/cleanup[24366]: 8A330231BD: message-id=<> Oct 28 14:48:11 localhost postfix/qmgr[24359]: 8A330231BD: from=<jasonsadventureaquarium.com>, size=295, nrcpt=1 (queue active) Oct 28 14:48:11 localhost postfix/local[24367]: 8A330231BD: to=<fax-3653311aafax.adventureaquarium.com>, relay=local, delay=30, delays=30/0.07/0/0.1, dsn=5.1.1, status=bounced (unknown user: "fax-3653311") Oct 28 14:48:11 localhost postfix/cleanup[24366]: CAEDE23828: message-id=<20141028184811.CAEDE23828aafax.adventureaquarium.com>
Oct 28 14:48:11 localhost postfix/qmgr[24359]: CAEDE23828: from=<>, size=2274, nrcpt=1 (queue active) Oct 28 14:48:11 localhost postfix/bounce[24368]: 8A330231BD: sender non-delivery notification: CAEDE23828 Oct 28 14:48:11 localhost postfix/qmgr[24359]: 8A330231BD: removed Oct 28 14:48:11 localhost postfix/smtp[24361]: connect to cust12182-2.in.mailcontrol.com[208.87.234.190]:25: Connection refused Oct 28 14:48:12 localhost postfix/smtp[24361]: connect to cust12182-1.in.mailcontrol.com[208.87.233.190]:25: Connection refused Oct 28 14:48:12 localhost postfix/smtp[24361]: CAEDE23828: to=<jasonsadventureaquarium.com>, relay=none, delay=0.18, delays=0.06/0.02/0.11/0, dsn=4.4.1, status=deferred (connect to cust12182-1.in.mailcontrol.com[208.87.233.190]:25: Connection refused) Oct 28 14:48:40 localhost postfix/smtpd[24364]: C41DA231BD: client=it5.aaq.hfecorp.local[10.252.0.137]
Oct 28 14:48:52 localhost postfix/cleanup[24366]: C41DA231BD: message-id=<> Oct 28 14:48:52 localhost postfix/qmgr[24359]: C41DA231BD: from=<jasonsadventureaquarium.com>, size=288, nrcpt=1 (queue active) Oct 28 14:48:52 localhost postfix/local[24367]: C41DA231BD: to=<rootaafax.adventureaquarium.com>, orig_to=<faxaafax.adventureaquarium.com>, relay=local, delay=24, delays=24/0.01/0/0.06, dsn=2.0.0, status=sent (delivered to maildir) Oct 28 14:48:52 localhost postfix/qmgr[24359]: C41DA231BD: removed Oct 28 14:48:54 localhost postfix/smtpd[24364]: disconnect from it5.aaq.hfecorp.local[10.252.0.137]

Looks like it still doing the same thing

-----Original Message-----
From: Wietse Venema [mailto:wietseporcupine.org]
Sent: Tuesday, October 28, 2014 2:46 PM
To: Jason Staudenmayer
Cc: Postfix users
Subject: Re: Migrating to postfix

Jason Staudenmayer:
> transport:
> aafax.adventureaquarium.com fax:

I wrote:

/etc/postfix/transport:
    aafax.mydomain.com fax:

        Wietse

> relay_recipients:
> aafax.adventureaquarium.com does-not-matter
>
>
> Log from trying to send a test to fax-3653311aafax.adventureaquarium.com:
>
> Oct 28 14:26:01 localhost postfix/smtpd[24236]: connect from
> it5.aaq.hfecorp.local[10.252.0.137]
> Oct 28 14:26:26 localhost postfix/smtpd[24236]: ED17C231BD:
> client=it5.aaq.hfecorp.local[10.252.0.137]
> Oct 28 14:26:38 localhost postfix/cleanup[24238]: ED17C231BD:
> message-id=<> Oct 28 14:26:38 localhost postfix/qmgr[24234]:
> ED17C231BD: from=<jasonsadventureaquarium.com>, size=299, nrcpt=1
> (queue active) Oct 28 14:26:38 localhost postfix/local[24239]:
> ED17C231BD: to=<fax-3653311aafax.adventureaquarium.com>, relay=local,
> delay=27, delays=27/0.07/0/0.11, dsn=5.1.1, status=bounced (unknown
> user: "fax-3653311") Oct 28 14:26:38 localhost postfix/cleanup[24238]:
> 822012381C:
> message-id=<20141028182638.822012381Caafax.adventureaquarium.com>
> Oct 28 14:26:38 localhost postfix/qmgr[24234]: 822012381C: from=<>,
> size=2278, nrcpt=1 (queue active) Oct 28 14:26:38 localhost
> postfix/bounce[24240]: ED17C231BD: sender non-delivery notification:
> 822012381C Oct 28 14:26:38 localhost postfix/qmgr[24234]: ED17C231BD:
> removed Oct 28 14:26:38 localhost postfix/smtp[24242]: connect to
> cust12182-2.in.mailcontrol.com[208.87.234.190]:25: Connection refused
> Oct 28 14:26:38 localhost postfix/smtp[24242]: connect to
> cust12182-1.in.mailcontrol.com[208.87.233.190]:25: Connection refused
> Oct 28 14:26:38 localhost postfix/smtp[24242]: 822012381C:
> to=<jasonsadventureaquarium.com>, relay=none, delay=0.25,
> delays=0.07/0.07/0.11/0, dsn=4.4.1, status=deferred (connect to
> cust12182-1.in.mailcontrol.com[208.87.233.190]:25: Connection refused)
>
> Log from sending test to faxaafax.adventureaquarium.com - this is getting dropped in the root mailbox for some reason:
> Oct 28 14:20:39 localhost postfix/smtpd[24123]: connect from
> it5.aaq.hfecorp.local[10.252.0.137]
> Oct 28 14:20:59 localhost postfix/smtpd[24123]: DFA99231BD:
> client=it5.aaq.hfecorp.local[10.252.0.137]
> Oct 28 14:21:15 localhost postfix/cleanup[24125]: DFA99231BD:
> message-id=<> Oct 28 14:21:15 localhost postfix/qmgr[24117]:
> DFA99231BD: from=<jasonsadventureaquarium.com>, size=284, nrcpt=1
> (queue active) Oct 28 14:21:15 localhost postfix/local[24126]:
> DFA99231BD: to=<rootaafax.adventureaquarium.com>,
> orig_to=<faxaafax.adventureaquarium.com>, relay=local, delay=27,
> delays=27/0.07/0/0.06, dsn=2.0.0, status=sent (delivered to maildir)
> Oct 28 14:21:15 localhost postfix/qmgr[24117]: DFA99231BD: removed Oct
> 28 14:21:39 localhost postfix/smtpd[24123]: 27B25231BD:
> client=it5.aaq.hfecorp.local[10.252.0.137]
>
>
>
> -----Original Message-----
> From: owner-postfix-userspostfix.org
> [mailto:owner-postfix-userspostfix.org] On Behalf Of Wietse Venema
> Sent: Tuesday, October 28, 2014 1:56 PM
> To: Postfix users
> Subject: Re: Migrating to postfix
>
> Jason Staudenmayer:
> > Sorry I missed those links (they helped).
> > Looks like it's trying to send all the email off to my main mail
> > server. I've tried changing the transports, virtual and relay
> > settings in master but it's still sending anything formatted as
> > fax-#######aafax.mydomain.com off the server. If it helps I can
> > post my configs or email them off list.
>
> If mail isn't delivered to the pipe command, then you made a mistake with transport_maps part, but no-one knows what mistake you made, because you don't provide concrete informaton. Vague eyewitness reports are useless.
>
> Wietse
>
> TO REPORT A PROBLEM see http://www.postfix.org/DEBUG_README.html#mail
>
> TO (UN)SUBSCRIBE see http://www.postfix.org/lists.html
>
> Thank you for using Postfix.
>
>
> This message has been scanned for malware by Websense.
> www.websense.com
>