Pagina 1 di 4 1 2 3 ... ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 40
  1. #1

    sendmail e creazione mail user

    Salve ho un server virtuale con red hat fedora 9, con webmin 1.490 ho creato i virtual host con apache e anche lo spazio e gli utenti per proftpd, ma ho ancora problemi con la creazione di mail per i domini che si appoggiano su questo server.

    ho letto ed applicato la miniguida di Pilovis che si trova qui

    http://forum.html.it/forum/showthrea...7#post12729187

    se cerco di creare l'utente di sendmail come scritto ma mi ritorna sempre questo errore

    Failed to save alias : 'XXXX@XXXX.it' is not a valid address
    come mai? in cosa sbaglio?

    già aggiungi i domini in local host.

    Chiedo aiuto urgente

  2. #2
    Utente di HTML.it L'avatar di pilovis
    Registrato dal
    Mar 2001
    Messaggi
    3,273
    edita il file /etc/mail/virtusertable come root e inserisci gli indirizzi nel formato

    indirizzoemail@dominio.it[spazio]user

    esempio:
    ----------

    info@html.it pippo

    NOTA: mettere un reindirizzamento per riga (andare a capo ogni riga)

    Se invece vuoi indirizzare tutta la posta di un dominio ad un utente devi inserire la riga nel seguente formato:

    @dominio.it[spazio]utente

    esempio:
    ----------

    @hml.it pippo

    Se invece vuoi reindirizzare la posta di una casella ad un indirizzo email esterno al server devi usare la seguente sintassi:

    email@dominiolocale.it[spazio]email@dominioremoto.it

    esempio:
    ----------

    info@html.it pippo@hotmail.com

    Per inviare una risposta di errore per un utente non esistente o non disponibile inserisci la riga nel seguente formato:

    email@dominio.it[spazio]error:tipo_errore[spazio]messaggio personalizzato

    esempio:
    ----------

    postmaster@html.it error:nouser Utente inesistente
    admin@html.it error:unavailable Casella disabilitata


    e cosi' via per ogni indirizzo email da creare ...

    ----------------------------------------------------------------------------------------------
    NOTA: nel caso Virtusertable non fosse configurato inserire in Sendmail M4 la riga:

    FEATURE(`virtusertable')

    e fare il rebuild del database
    Progettista elettronico, appassionato di informatica dal 1982, sistemista Linux dal 2002, sono consulente tecnico del Giudice per le indagini preliminari, valuto richieste di consulenza, in ambito Voip/Telefonia anche con grado di sicurezza militare.

  3. #3
    ciao allora riepiloghiamo tutto.


    installato sendmail 8.14.2

    il file di configurazione è questo
    codice:
    Entry type 	Line in configuration file 	Move Other 	divert(-1)dnl 	 Other 	dnl # 	 Other 	dnl # This is the sendmail macro config file for m4. If you make changes to 	 Other 	dnl # /etc/mail/sendmail.mc, you will need to regenerate the 	 Other 	dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf package is 	 Other 	dnl # installed and then performing a 	 Other 	dnl # 	 Other 	dnl # make -C /etc/mail 	 Other 	dnl # 	 Other 	include(`/usr/share/sendmail-cf/m4/cf.m4')dnl 	 Other 	VERSIONID(`setup for linux')dnl 	 OS Type 	OSTYPE(`linux')dnl 	 Other 	dnl # 	 Other 	dnl # Do not advertize sendmail version. 	 Other 	dnl # 	 Other 	dnl define(`confSMTP_LOGIN_MSG', `$j Sendmail; $b')dnl 	 Other 	dnl # 	 Other 	dnl # default logging level is 9, you might want to set it higher to 	 Other 	dnl # debug the configuration 	 Other 	dnl # 	 Other 	dnl define(`confLOG_LEVEL', `9')dnl 	 Other 	dnl # 	 Other 	dnl # Uncomment and edit the following line if your outgoing mail needs to 	 Other 	dnl # be sent out through an external mail server: 	 Other 	dnl # 	 Other 	dnl define(`SMART_HOST', `smtp.your.provider')dnl 	 Other 	dnl # 	 Define 	define(`confDEF_USER_ID', ``8:12'')dnl 	 Other 	dnl define(`confAUTO_REBUILD')dnl 	 Define 	define(`confTO_CONNECT', `1m')dnl 	 Define 	define(`confTRY_NULL_MX_LIST', `True')dnl 	 Define 	define(`confDONT_PROBE_INTERFACES', `True')dnl 	 Define 	define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl 	 Define 	define(`ALIAS_FILE', `/etc/aliases')dnl 	 Define 	define(`STATUS_FILE', `/var/log/mail/statistics')dnl 	 Define 	define(`UUCP_MAILER_MAX', `2000000')dnl 	 Define 	define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl 	 Define 	define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl 	 Define 	define(`confAUTH_OPTIONS', `A')dnl 	 Other 	dnl # 	 Other 	dnl # The following allows relaying if the user authenticates, and disallows 	 Other 	dnl # plaintext authentication (PLAIN/LOGIN) on non-TLS links 	 Other 	dnl # 	 Other 	dnl define(`confAUTH_OPTIONS', `A p')dnl 	 Other 	dnl # 	 Other 	dnl # PLAIN is the preferred plaintext authentication method and used by 	 Other 	dnl # Mozilla Mail and Evolution, though Outlook Express and other MUAs do 	 Other 	dnl # use LOGIN. Other mechanisms should be used if the connection is not 	 Other 	dnl # guaranteed secure. 	 Other 	dnl # Please remember that saslauthd needs to be running for AUTH. 	 Other 	dnl # 	 Other 	dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl 	 Other 	dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl 	 Other 	dnl # 	 Other 	dnl # Rudimentary information on creating certificates for sendmail TLS: 	 Other 	dnl # cd /etc/pki/tls/certs; make sendmail.pem 	 Other 	dnl # Complete usage: 	 Other 	dnl # make -C /etc/pki/tls/certs usage 	 Other 	dnl # 	 Other 	dnl define(`confCACERT_PATH', `/etc/pki/tls/certs')dnl 	 Other 	dnl define(`confCACERT', `/etc/pki/tls/certs/ca-bundle.crt')dnl 	 Other 	dnl define(`confSERVER_CERT', `/etc/pki/tls/certs/sendmail.pem')dnl 	 Other 	dnl define(`confSERVER_KEY', `/etc/pki/tls/certs/sendmail.pem')dnl 	 Other 	dnl # 	 Other 	dnl # This allows sendmail to use a keyfile that is shared with OpenLDAP's 	 Other 	dnl # slapd, which requires the file to be readble by group ldap 	 Other 	dnl # 	 Other 	dnl define(`confDONT_BLAME_SENDMAIL', `groupreadablekeyfile')dnl 	 Other 	dnl # 	 Other 	dnl define(`confTO_QUEUEWARN', `4h')dnl 	 Other 	dnl define(`confTO_QUEUERETURN', `5d')dnl 	 Other 	dnl define(`confQUEUE_LA', `12')dnl 	 Other 	dnl define(`confREFUSE_LA', `18')dnl 	 Define 	define(`confTO_IDENT', `0')dnl 	 Other 	dnl FEATURE(delay_checks)dnl 	 Feature 	FEATURE(`no_default_msa', `dnl')dnl 	 Feature 	FEATURE(`smrsh', `/usr/sbin/smrsh')dnl 	 Feature 	FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl 	 Feature 	FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl 	 Feature 	FEATURE(redirect)dnl 	 Feature 	FEATURE(always_add_domain)dnl 	 Feature 	FEATURE(use_cw_file)dnl 	 Feature 	FEATURE(use_ct_file)dnl 	 Other 	dnl # 	 Other 	dnl # The following limits the number of processes sendmail can fork to accept 	 Other 	dnl # incoming messages or process its message queues to 20.) sendmail refuses 	 Other 	dnl # to accept connections once it has reached its quota of child processes. 	 Other 	dnl # 	 Other 	dnl define(`confMAX_DAEMON_CHILDREN', `20')dnl 	 Other 	dnl # 	 Other 	dnl # Limits the number of new connections per second. This caps the overhead 	 Other 	dnl # incurred due to forking new sendmail processes. May be useful against 	 Other 	dnl # DoS attacks or barrages of spam. (As mentioned below, a per-IP address 	 Other 	dnl # limit would be useful but is not available as an option at this writing.) 	 Other 	dnl # 	 Other 	dnl define(`confCONNECTION_RATE_THROTTLE', `3')dnl 	 Other 	dnl # 	 Other 	dnl # The -t option will retry delivery if e.g. the user runs over his quota. 	 Other 	dnl # 	 Feature 	FEATURE(local_procmail, `', `procmail -t -Y -a $h -d $u')dnl 	 Feature 	FEATURE(`access_db', `hash -T<TMPF> -o /etc/mail/access.db')dnl 	 Feature 	FEATURE(`blacklist_recipients')dnl 	 Other 	EXPOSED_USER(`root')dnl 	 Other 	dnl # 	 Other 	dnl # For using Cyrus-IMAPd as POP3/IMAP server through LMTP delivery uncomment 	 Other 	dnl # the following 2 definitions and activate below in the MAILER section the 	 Other 	dnl # cyrusv2 mailer. 	 Other 	dnl # 	 Other 	dnl define(`confLOCAL_MAILER', `cyrusv2')dnl 	 Other 	dnl define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')dnl 	 Other 	dnl # 	 Other 	dnl # The following causes sendmail to only listen on the IPv4 loopback address 	 Other 	dnl # 127.0.0.1 and not on any other network devices. Remove the loopback 	 Other 	dnl # address restriction to accept email from the internet or intranet. 	 Other 	dnl # 	 Other 	DAEMON_OPTIONS(`Name=MTA,Address=127.0.0.1,Port=smtp') 	 Other 	dnl # 	 Other 	dnl # The following causes sendmail to additionally listen to port 587 for 	 Other 	dnl # mail from MUAs that authenticate. Roaming users who can't reach their 	 Other 	dnl # preferred sendmail daemon due to port 25 being blocked or redirected find 	 Other 	dnl # this useful. 	 Other 	dnl # 	 Other 	dnl DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl 	 Other 	dnl # 	 Other 	dnl # The following causes sendmail to additionally listen to port 465, but 	 Other 	dnl # starting immediately in TLS mode upon connecting. Port 25 or 587 followed 	 Other 	dnl # by STARTTLS is preferred, but roaming clients using Outlook Express can't 	 Other 	dnl # do STARTTLS on ports other than 25. Mozilla Mail can ONLY use STARTTLS 	 Other 	dnl # and doesn't support the deprecated smtps; Evolution <1.1.1 uses smtps 	 Other 	dnl # when SSL is enabled-- STARTTLS support is available in version 1.1.1. 	 Other 	dnl # 	 Other 	dnl # For this to work your OpenSSL certificates must be configured. 	 Other 	dnl # 	 Other 	dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl 	 Other 	dnl # 	 Other 	dnl # The following causes sendmail to additionally listen on the IPv6 loopback 	 Other 	dnl # device. Remove the loopback address restriction listen to the network. 	 Other 	dnl # 	 Other 	dnl DAEMON_OPTIONS(`port=smtp,Addr=::1, Name=MTA-v6, Family=inet6')dnl 	 Other 	dnl # 	 Other 	dnl # enable both ipv6 and ipv4 in sendmail: 	 Other 	dnl # 	 Other 	dnl DAEMON_OPTIONS(`Name=MTA-v4, Family=inet, Name=MTA-v6, Family=inet6') 	 Other 	dnl # 	 Other 	dnl # We strongly recommend not accepting unresolvable domains if you want to 	 Other 	dnl # protect yourself from spam. However, the laptop and users on computers 	 Other 	dnl # that do not have 24x7 DNS do need this. 	 Other 	dnl # 	 Feature 	FEATURE(`accept_unresolvable_domains')dnl 	 Other 	dnl # 	 Other 	dnl FEATURE(`relay_based_on_MX')dnl 	 Other 	dnl # 	 Other 	dnl # Also accept email sent to "localhost.localdomain" as local email. 	 Other 	dnl # 	 Other 	LOCAL_DOMAIN(`localhost.localdomain')dnl 	 Other 	dnl # 	 Other 	dnl # The following example makes mail from this host and any additional 	 Other 	dnl # specified domains appear to be sent from mydomain.com 	 Other 	dnl # 	 Other 	dnl MASQUERADE_AS(`mydomain.com')dnl 	 Other 	dnl # 	 Other 	dnl # masquerade not just the headers, but the envelope as well 	 Other 	dnl # 	 Other 	dnl FEATURE(masquerade_envelope)dnl 	 Other 	dnl # 	 Other 	dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com as well 	 Other 	dnl # 	 Other 	dnl FEATURE(masquerade_entire_domain)dnl 	 Other 	dnl # 	 Other 	dnl MASQUERADE_DOMAIN(localhost)dnl 	 Other 	dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl 	 Other 	dnl MASQUERADE_DOMAIN(mydomainalias.com)dnl 	 Other 	dnl MASQUERADE_DOMAIN(mydomain.lan)dnl 	 Mailer 	MAILER(smtp)dnl 	 Mailer 	MAILER(procmail)dnl 	 Other 	dnl MAILER(cyrusv2)dnl 	 Other 	DAEMON_OPTIONS(`Name=MTA2,Port=smtp')
    in local domain ho aggiunto il mio dominio,

    poi in virtusertable ho messo un indirizzo con l'estenzione del mio dominio e l'ho associato con un utente creato sul sistema. se mando da un altro indirizzo la mail e poi controllo la posta dell utente non ricevo niente

    ma nell altra mail da dove avevo mandato ricevo il giorno dopo questa mail

    This is an automatically generated Delivery Status Notification.

    THIS IS A WARNING MESSAGE ONLY.

    YOU DO NOT NEED TO RESEND YOUR MESSAGE.

    Delivery to the following recipients has been delayed.


    sbaglio in qualcosa?

  4. #4
    Utente di HTML.it L'avatar di pilovis
    Registrato dal
    Mar 2001
    Messaggi
    3,273
    innanzitutto la riga seguente:

    DAEMON_OPTIONS(`Name=MTA2,Port=smtp')

    va modificata in

    dnl DAEMON_OPTIONS(`Name=MTA2,Port=smtp')

    altrimenti sendmailnon manda la posta all'esterno
    Progettista elettronico, appassionato di informatica dal 1982, sistemista Linux dal 2002, sono consulente tecnico del Giudice per le indagini preliminari, valuto richieste di consulenza, in ambito Voip/Telefonia anche con grado di sicurezza militare.

  5. #5
    Utente di HTML.it L'avatar di pilovis
    Registrato dal
    Mar 2001
    Messaggi
    3,273
    poi:

    hai settato il dominio per puntare sul server (parametro MX del DNS)?

    copiami qui i seguenti files:
    /etc/mail/virtusertable
    /etc/mail/sendmail.mc
    Progettista elettronico, appassionato di informatica dal 1982, sistemista Linux dal 2002, sono consulente tecnico del Giudice per le indagini preliminari, valuto richieste di consulenza, in ambito Voip/Telefonia anche con grado di sicurezza militare.

  6. #6
    ciao ho modificato quella riga,

    sul pannello di controllo del mantainer ho un

    mail.miodominio.it con l'ip del mio server

    e poi

    miodominio.it mx che punta su mail.dominio.it
    poi ho anche
    pop.miodominio.it
    smtp.miodominio.it che puntano all'ip del mio server


    /etc/mail/virtusertable

    codice:
    # A domain-specific form of aliasing, allowing multiple virtual domains to be # hosted on one machine. # # info@foo.com	foo-info # info@bar.com	bar-info # joe@bar.com	error:nouser 550 No such user here # jax@bar.com	error:5.7.0:550 Address invalid # @baz.org	jane@example.net # # then mail addressed to info@foo.com will be sent to the address foo-info, # mail addressed to info@bar.com will be delivered to bar-info, and mail # addressed to anyone at baz.org  will be sent to jane@example.net, mail to # joe@bar.com will be rejected with the specified error message, and mail to # jax@bar.com will also have a RFC 1893  compliant error code 5.7.0. # # The username from the original address is passed as %1 allowing: # # @foo.org	%1@example.com # # Additionally, if the local part consists of "user+detail" then "detail" is # passed as %2 and "+detail" is passed as %3  when a match against user+* is # attempted, so entries like # # old+*@foo.org	new+%2@example.com # gen+*@foo.org	%2@example.com # +*@foo.org	%1%3@example.com # X++@foo.org	Z%3@example.com # @bar.org	%1%3 # # Note: to preserve "+detail" for a default case (@domain) %1%3 must be used # as RHS. There are two wildcards after "+": "+" matches only a non-empty # detail, "*" matches also empty details, e.g., user+@foo.org  matches# # +*@foo.org but not ++@foo.org. This can be used to ensure that the # parameters %2 and %3 are not empty. # # All the host names on the left hand side (foo.com, bar.com, and baz.org) # must be in class {w} or class {VirtHost}. The latter can be defined by the # macros VIRTUSER_DOMAIN or VIRTUSER_DOMAIN_FILE (analogously to # MASQUERADE_DOMAIN and MASQUERADE_DOMAIN_FILE). If VIRTUSER_DOMAIN or # VIRTUSER_DOMAIN_FILE is used, then the entries of class {VirtHost} are # added to class {R}, i.e., relaying is allowed to (and from) those domains.  info@miodominio.it infomiodominio
    /etc/mail/sendmail.mc


    codice:
    divert(-1)dnl dnl # dnl # This is the sendmail macro config file for m4. If you make changes to dnl # /etc/mail/sendmail.mc, you will need to regenerate the dnl # /etc/mail/sendmail.cf file by confirming that the sendmail-cf package is dnl # installed and then performing a dnl # dnl #     make -C /etc/mail dnl # include(`/usr/share/sendmail-cf/m4/cf.m4')dnl VERSIONID(`setup for linux')dnl OSTYPE(`linux')dnl dnl # dnl # Do not advertize sendmail version. dnl # dnl define(`confSMTP_LOGIN_MSG', `$j Sendmail; $b')dnl dnl # dnl # default logging level is 9, you might want to set it higher to dnl # debug the configuration dnl # dnl define(`confLOG_LEVEL', `9')dnl dnl # dnl # Uncomment and edit the following line if your outgoing mail needs to dnl # be sent out through an external mail server: dnl # dnl define(`SMART_HOST', `smtp.your.provider')dnl dnl # define(`confDEF_USER_ID', ``8:12'')dnl dnl define(`confAUTO_REBUILD')dnl define(`confTO_CONNECT', `1m')dnl define(`confTRY_NULL_MX_LIST', `True')dnl define(`confDONT_PROBE_INTERFACES', `True')dnl define(`PROCMAIL_MAILER_PATH', `/usr/bin/procmail')dnl define(`ALIAS_FILE', `/etc/aliases')dnl define(`STATUS_FILE', `/var/log/mail/statistics')dnl define(`UUCP_MAILER_MAX', `2000000')dnl define(`confUSERDB_SPEC', `/etc/mail/userdb.db')dnl define(`confPRIVACY_FLAGS', `authwarnings,novrfy,noexpn,restrictqrun')dnl define(`confAUTH_OPTIONS', `A')dnl dnl # dnl # The following allows relaying if the user authenticates, and disallows dnl # plaintext authentication (PLAIN/LOGIN) on non-TLS links dnl # dnl define(`confAUTH_OPTIONS', `A p')dnl dnl #  dnl # PLAIN is the preferred plaintext authentication method and used by dnl # Mozilla Mail and Evolution, though Outlook Express and other MUAs do dnl # use LOGIN. Other mechanisms should be used if the connection is not dnl # guaranteed secure. dnl # Please remember that saslauthd needs to be running for AUTH.  dnl # dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl dnl # dnl # Rudimentary information on creating certificates for sendmail TLS: dnl #     cd /etc/pki/tls/certs; make sendmail.pem dnl # Complete usage: dnl #     make -C /etc/pki/tls/certs usage dnl # dnl define(`confCACERT_PATH', `/etc/pki/tls/certs')dnl dnl define(`confCACERT', `/etc/pki/tls/certs/ca-bundle.crt')dnl dnl define(`confSERVER_CERT', `/etc/pki/tls/certs/sendmail.pem')dnl dnl define(`confSERVER_KEY', `/etc/pki/tls/certs/sendmail.pem')dnl dnl # dnl # This allows sendmail to use a keyfile that is shared with OpenLDAP's dnl # slapd, which requires the file to be readble by group ldap dnl # dnl define(`confDONT_BLAME_SENDMAIL', `groupreadablekeyfile')dnl dnl # dnl define(`confTO_QUEUEWARN', `4h')dnl dnl define(`confTO_QUEUERETURN', `5d')dnl dnl define(`confQUEUE_LA', `12')dnl dnl define(`confREFUSE_LA', `18')dnl define(`confTO_IDENT', `0')dnl dnl FEATURE(delay_checks)dnl FEATURE(`no_default_msa', `dnl')dnl FEATURE(`smrsh', `/usr/sbin/smrsh')dnl FEATURE(`mailertable', `hash -o /etc/mail/mailertable.db')dnl FEATURE(`virtusertable', `hash -o /etc/mail/virtusertable.db')dnl FEATURE(redirect)dnl FEATURE(always_add_domain)dnl FEATURE(use_cw_file)dnl FEATURE(use_ct_file)dnl dnl # dnl # The following limits the number of processes sendmail can fork to accept  dnl # incoming messages or process its message queues to 20.) sendmail refuses  dnl # to accept connections once it has reached its quota of child processes. dnl # dnl define(`confMAX_DAEMON_CHILDREN', `20')dnl dnl # dnl # Limits the number of new connections per second. This caps the overhead  dnl # incurred due to forking new sendmail processes. May be useful against  dnl # DoS attacks or barrages of spam. (As mentioned below, a per-IP address  dnl # limit would be useful but is not available as an option at this writing.) dnl # dnl define(`confCONNECTION_RATE_THROTTLE', `3')dnl dnl # dnl # The -t option will retry delivery if e.g. the user runs over his quota. dnl # FEATURE(local_procmail, `', `procmail -t -Y -a $h -d $u')dnl FEATURE(`access_db', `hash -T<TMPF> -o /etc/mail/access.db')dnl FEATURE(`blacklist_recipients')dnl EXPOSED_USER(`root')dnl dnl # dnl # For using Cyrus-IMAPd as POP3/IMAP server through LMTP delivery uncomment dnl # the following 2 definitions and activate below in the MAILER section the dnl # cyrusv2 mailer. dnl # dnl define(`confLOCAL_MAILER', `cyrusv2')dnl dnl define(`CYRUSV2_MAILER_ARGS', `FILE /var/lib/imap/socket/lmtp')dnl dnl # dnl # The following causes sendmail to only listen on the IPv4 loopback address dnl # 127.0.0.1 and not on any other network devices. Remove the loopback dnl # address restriction to accept email from the internet or intranet. dnl # DAEMON_OPTIONS(`Name=MTA,Address=127.0.0.1,Port=smtp') dnl # dnl # The following causes sendmail to additionally listen to port 587 for dnl # mail from MUAs that authenticate. Roaming users who can't reach their dnl # preferred sendmail daemon due to port 25 being blocked or redirected find dnl # this useful. dnl # dnl DAEMON_OPTIONS(`Port=submission, Name=MSA, M=Ea')dnl dnl # dnl # The following causes sendmail to additionally listen to port 465, but dnl # starting immediately in TLS mode upon connecting. Port 25 or 587 followed dnl # by STARTTLS is preferred, but roaming clients using Outlook Express can't dnl # do STARTTLS on ports other than 25. Mozilla Mail can ONLY use STARTTLS dnl # and doesn't support the deprecated smtps; Evolution <1.1.1 uses smtps dnl # when SSL is enabled-- STARTTLS support is available in version 1.1.1. dnl # dnl # For this to work your OpenSSL certificates must be configured. dnl # dnl DAEMON_OPTIONS(`Port=smtps, Name=TLSMTA, M=s')dnl dnl # dnl # The following causes sendmail to additionally listen on the IPv6 loopback dnl # device. Remove the loopback address restriction listen to the network. dnl # dnl DAEMON_OPTIONS(`port=smtp,Addr=::1, Name=MTA-v6, Family=inet6')dnl dnl # dnl # enable both ipv6 and ipv4 in sendmail: dnl # dnl DAEMON_OPTIONS(`Name=MTA-v4, Family=inet, Name=MTA-v6, Family=inet6') dnl # dnl # We strongly recommend not accepting unresolvable domains if you want to dnl # protect yourself from spam. However, the laptop and users on computers dnl # that do not have 24x7 DNS do need this. dnl # FEATURE(`accept_unresolvable_domains')dnl dnl # dnl FEATURE(`relay_based_on_MX')dnl dnl #  dnl # Also accept email sent to "localhost.localdomain" as local email. dnl #  LOCAL_DOMAIN(`localhost.localdomain')dnl dnl # dnl # The following example makes mail from this host and any additional dnl # specified domains appear to be sent from mydomain.com dnl # dnl MASQUERADE_AS(`mydomain.com')dnl dnl # dnl # masquerade not just the headers, but the envelope as well dnl # dnl FEATURE(masquerade_envelope)dnl dnl # dnl # masquerade not just @mydomainalias.com, but @*.mydomainalias.com as well dnl # dnl FEATURE(masquerade_entire_domain)dnl dnl # dnl MASQUERADE_DOMAIN(localhost)dnl dnl MASQUERADE_DOMAIN(localhost.localdomain)dnl dnl MASQUERADE_DOMAIN(mydomainalias.com)dnl dnl MASQUERADE_DOMAIN(mydomain.lan)dnl MAILER(smtp)dnl MAILER(procmail)dnl dnl MAILER(cyrusv2)dnl dnl DAEMON_OPTIONS(`Name=MTA2,Port=smtp')

  7. #7
    oggi controllando root ho trovato questo



    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.

    For further assistance, please send mail to postmaster.

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The mail system

    <info@miodominio.it>: connect to mail.miodominio.it[xxx.xxx.xxx.xxx]:25: Connection
    refused

  8. #8
    Utente di HTML.it L'avatar di pilovis
    Registrato dal
    Mar 2001
    Messaggi
    3,273
    Hai inserito in /etc/mail/access la regola per permettere agli utenti della lan di inviare la posta (Relay)?

    esempio:

    192.168. RELAY

    se invece il server e' fuori della lan

    devi specificare il tuo indirizzo IP pubblico dal quale invii posta e poi RELAY
    ma se hai un IP dinamico questo ovviamente diventa un problema.

    In questo caso e' meglio usare il SMTP del tuo provider di connessione ad internet
    Progettista elettronico, appassionato di informatica dal 1982, sistemista Linux dal 2002, sono consulente tecnico del Giudice per le indagini preliminari, valuto richieste di consulenza, in ambito Voip/Telefonia anche con grado di sicurezza militare.

  9. #9
    il file è questo


    codice:
    # Check the /usr/share/doc/sendmail/README.cf file for a description # of the format of this file. (search for access_db in that file) # The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc # package. # # If you want to use AuthInfo with "M:PLAIN LOGIN", make sure to have the  # cyrus-sasl-plain package installed. # # By default we allow relaying from localhost... 
    Connect:localhost.localdomain		RELAY 
    Connect:localhost	         		RELAY 
    Connect:127.0.0.1         			RELAY

    ho aggiunto Connect xxx.xxx.xxx.xxx RELAY come ultima riga

  10. #10
    mandando da outlook un messaggio con un mio indirizzo ad uno esterno mi da questo


    Errore dell'attività pop.miodominio.it - Invio in corso (0x800CCC0F): "Connessione al server interrotta. Se il problema persiste, contattare l'amministratore del server o il provider di servizi Internet (ISP). Il server ha risposto: 421 Cannot connect to SMTP server xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx:25), connect error 10061"




    Ma installando virtualmin è + facile da configurare?

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.