LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-14-2009, 01:06 PM   #1
Nickalf
Member
 
Registered: Feb 2009
Location: on the InterNET most hours of my life
Distribution: Ubuntu Server v8.04 / v11.10 & Mac OsX (mainly for FCP & video/audio)
Posts: 35

Rep: Reputation: 15
Question Need help on error in mail.warn about relay_domains that's removed from my main.cf


Hi fellow Linuxians,

I recently upgraded my Distro to Ubuntu Server v8.04

Though all was fine on the older Distro, I'm now getting hundreds of entries like this in my Postfix mail.warn relating to all my domains

Code:
warning: do not list domain RiverEdgeNJ.org
in BOTH virtual_alias_domains and relay_domains
RiverEdgeNJ.org is exactly how I entered this domain in the virtual_alias_domains line of my main.cf but it also shows
Code:
warning: do not list domain riveredgenj.org
in BOTH virtual_alias_domains and relay_domains
which is not the way I typed it in my main.cf

Is there another place relay_domains is referred to in this Server Distro ?
If not, why would I get this error so many times ?

Thanks,
Nick. . .

Last edited by Nickalf; 05-14-2009 at 02:13 PM. Reason: typo and clearity
 
Old 05-14-2009, 02:03 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,009
Blog Entries: 5

Rep: Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787
If you're using sendmail then relay is defined in the access.db file which is compiled from the access text file.
 
Old 05-14-2009, 02:16 PM   #3
Nickalf
Member
 
Registered: Feb 2009
Location: on the InterNET most hours of my life
Distribution: Ubuntu Server v8.04 / v11.10 & Mac OsX (mainly for FCP & video/audio)
Posts: 35

Original Poster
Rep: Reputation: 15
Hi JLightner,

No, I'm using Postfix ( config file is /etc/postfix/main.cf )

Thanx 4 the comeback,
Nick. . .
 
Old 05-15-2009, 10:12 AM   #4
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,009
Blog Entries: 5

Rep: Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787
This man page suggests there is an access and access.dbm in Postfix. Not sure of syntax or if it's even relevant since I don't use Postfix:

http://www.postfix.org/access.5.html
 
Old 05-16-2009, 12:08 AM   #5
Nickalf
Member
 
Registered: Feb 2009
Location: on the InterNET most hours of my life
Distribution: Ubuntu Server v8.04 / v11.10 & Mac OsX (mainly for FCP & video/audio)
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks, but that link doesn't show any reference to "relay_domains" - besides, my system doesn't have either one of those files...

Nick. . .

Last edited by Nickalf; 05-16-2009 at 12:09 AM. Reason: typo
 
Old 05-16-2009, 12:10 AM   #6
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Can you show

postconf -n
 
Old 05-17-2009, 10:39 AM   #7
Nickalf
Member
 
Registered: Feb 2009
Location: on the InterNET most hours of my life
Distribution: Ubuntu Server v8.04 / v11.10 & Mac OsX (mainly for FCP & video/audio)
Posts: 35

Original Poster
Rep: Reputation: 15
Oops - double posted - this one removed - see below

Last edited by Nickalf; 05-17-2009 at 10:44 AM. Reason: double posted due to use of the back arrow
 
Old 05-17-2009, 10:42 AM   #8
Nickalf
Member
 
Registered: Feb 2009
Location: on the InterNET most hours of my life
Distribution: Ubuntu Server v8.04 / v11.10 & Mac OsX (mainly for FCP & video/audio)
Posts: 35

Original Poster
Rep: Reputation: 15
Arrow

Sure
Code:
alias_maps = hash:/etc/postfix/aliases.map
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
delay_warning_time = 4h
inet_interfaces = all
mailbox_command = procmail -a "$EXTENSION"
mailbox_size_limit = 0
mydestination = $myhostname + localhost.$mydomain, $mydomain, localhost.net, localhost
myhostname = myhost.org
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
recipient_delimiter = +
relayhost = 
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
smtpd_tls_cert_file = /etc/ssl/certs/ssl-cert-snakeoil.pem
smtpd_tls_key_file = /etc/ssl/private/ssl-cert-snakeoil.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_domains = 4homes.org,5sg.eu,5sg.net,5sg.org,5sg.us,5sg.in,5skilledGentlemen.com, airoyal.com,Bogert.com,bogert.org,boxoffice.ws,bruvon.com,cameo.ws,carlg.com,cgafire.com, chargeit.org,chargeit.org.uk,chargeit.ws,chargeit.in,citycarpool.net,cofc.ws,DavidJones.ws, e-rent.org,eAlbums.ws,ecredits.biz,ecredits.com,ecredits.mobi,ecredits.org,ecredits.org.uk, ecredits.ws,eRent.org.uk,eusounds.eu,exoticbagels.com,FiveSkilledGentlemen.com,homepg.us, my.homepg.us,HostingFor1Dollar.com,50pHosting.com,50pHosting.co.uk,aDollarHosting.com, 75cHosting.eu,75cHosting.com,99cHosting.com,HostForLess.ws,HostForLess.eu,HostForLess.in, Joys.ws,Kastle.org,Nickalfs.kastle.org,LegendOfAleyna.com,LeoniaSummerstage.com,LeoniaSummerstage.org, ListServ.ws,my.listserv.ws,myad.org,mybookhost.com,mychat.ws,myclient.org,myfile.net,myhelpchat.com, myhelpchat.us,myhits.org,myhost.me.uk,myhost.mobi,myhost.org.uk,myhost.tv,myhost.co.in,myho.st, MyOwnBank.com,myphoto.ws,mysearchsite.org,myservices.ws,myshots.org,newmilfordrotary.org,Nickalf.com, Nickalf.eu,NickBarter.eu,NicksBlog.ws,Niks.ws,njlinux.org,njmac.us,njos2.org,njsounds.com,njtheater.net, noeladavies.com,nytheater.net,omtech.org,omtechcorp.com,oradellrotary.org,proman.us,proman.ws,proman.me, ProMan.mobi,PerlNJ.com,PerlNJ.org,PhPNJ.net,PerlUG.com,PerlUG.org,PerlUG.net,RiverEdgeChamber.org, RiverEdgeNJ.org,riveredgerotary.org,sex-x.com,smoothpower.com,sosNow.ws,sos-Now.eu,spamik.com,spamic.com, theblog.ws,theipod.ws,vantasialtd.com,VidiNik.com,VidiNik.eu,VidiNik.in,VidiNik.info,VidiNik.mobi, VidiNik.net,VidiNik.org,VidiNik.ws,WallingtonChamber.com,WallingtonChamber.org, WhereToHost.me,WhereToHost.us,WhereToHost.org,WhereToHost.in,WhereToHost.mobi,ZoomIt.ws
virtual_alias_maps = hash:/etc/postfix/virtual.map
Nick. . .
 
Old 05-17-2009, 03:52 PM   #9
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What does

grep -ir riveredgenj.org /etc/postfix/*

show?

Last edited by billymayday; 05-17-2009 at 04:03 PM.
 
Old 05-18-2009, 12:03 AM   #10
Nickalf
Member
 
Registered: Feb 2009
Location: on the InterNET most hours of my life
Distribution: Ubuntu Server v8.04 / v11.10 & Mac OsX (mainly for FCP & video/audio)
Posts: 35

Original Poster
Rep: Reputation: 15
/etc/postfix/main.cf: RiverEdgeNJ.org,riveredgerotary.org,sex-x.com,smoothpower.com,sosNow.ws,sos-Now.eu,spamik.com,spamic.com,

/etc/postfix/virtual.map: all the eMail addresses of RiverEdgeNJ.org which I'm not going to show here

and

Binary file /etc/postfix/virtual.map.db matches

... none show the lower case riveredgenj.org
 
Old 05-18-2009, 12:22 AM   #11
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Odd.

BTW, why do you have

mydestination = $myhostname + localhost.$mydomain, $mydomain, localhost.net, localhost

rather than

mydestination = $myhostname, localhost.$mydomain, $mydomain, localhost.net, localhost

?

Could you show

postconf -d | grep relay

Last edited by billymayday; 05-18-2009 at 12:26 AM.
 
Old 05-20-2009, 10:36 AM   #12
Nickalf
Member
 
Registered: Feb 2009
Location: on the InterNET most hours of my life
Distribution: Ubuntu Server v8.04 / v11.10 & Mac OsX (mainly for FCP & video/audio)
Posts: 35

Original Poster
Rep: Reputation: 15
I 'have' shown....
 
Old 05-20-2009, 03:22 PM   #13
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Where?
 
Old 05-27-2009, 10:04 PM   #14
Nickalf
Member
 
Registered: Feb 2009
Location: on the InterNET most hours of my life
Distribution: Ubuntu Server v8.04 / v11.10 & Mac OsX (mainly for FCP & video/audio)
Posts: 35

Original Poster
Rep: Reputation: 15
Sorry - was tired when I missread your question...


I used the line from the previous default main.cf in the older distro.

I'll try it without the + sign and see if that helps, thanks...


Nick. . .
 
Old 05-28-2009, 06:22 AM   #15
chitambira
Member
 
Registered: Oct 2008
Location: Fife
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 49
Quote:
/etc/postfix/main.cf: RiverEdgeNJ.org,riveredgerotary.org,sex-x.com,smoothpower.com,sosNow.ws,sos-Now.eu,spamik.com,spamic.com,

/etc/postfix/virtual.map: all the eMail addresses of RiverEdgeNJ.org which I'm not going to show here
Postfix acknowledges virtual domains by virtue of having virtual_aliases. This means that you wont need to define both virtual_alias_domains and virtual_alias_maps. If all your virtual users are mapped in virtual_alias_maps, then you can remove RiverEdgeNJ.org from the virtual_alias_domains
 
  


Reply

Tags
error, maincf, postfix


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange bug in main() function when interacting with device on serial port. JohnDaVinci Programming 9 07-12-2006 12:14 AM
help me - removed main user account in kubuntu manishsingh4u Ubuntu 4 04-04-2006 12:41 AM
strange mail error message marsguy Linux - Networking 3 07-31-2005 07:06 AM
Strange mail problem, no errors, and no mail quincy56 Linux - Networking 4 09-07-2004 12:21 AM
removed packages / add mail lappen Slackware 3 12-22-2003 12:12 AM


All times are GMT -5. The time now is 05:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration